Thursday, April 21, 2016

Tuesday, April 19, 2016

how to empty the trash from command line on Ubuntu gnome Desktop


In case you would like to empty the trash of the currently logged in user, run the below command :

sudo rm -rf ~/.local/share/Trash/files/*

start/stop or restart openssh service on Ubuntu


    If you want to start/stop or restart the sshd server application run the following commands at a terminal prompt:

sudo service ssh start 
sudo service ssh stop  
sudo service ssh restart