To change timezone on an Ubuntu machine from terminal issue as root the following command
dpkg-reconfigure tzdata
Clear bash history completely
Flush the history to the file
history -w
Clear the history
history -c
Count the number of file in a directory from terminal type:
find folder -type f | wc -l
Change keyboard layout from terminal type:
dpkg-reconfigure keyboard-configuration