Category General Linux

ssh logo

Passwordless SSH still asks for password

Setting up a passwordless SSH connection is great, it helps you automate tasks that require connections to different servers by removing the need to enter passwords. You generate a private and public keypair on the source server then copy the…
linux logo

Mount Windows share on Linux

To mount a Windows share on a Linux machine you’ll need CIFS. To install CIFS, issue the following at shell: yum install cifs-utils sudo apt-get install cifs-utils Create an empty folder at the location you want to mount the drive:…

Enable timestamps for bash history

The HISTORY command in bash lets you see the last 1000 commands issued at the terminal. By default, this list does not contain timestamps for the commands you’ve issued. To enable timestamps, issue the following at the terminal: echo 'HISTTIMEFORMAT="%d/%m/%y…