Saturday, September 29, 2007

how to add user to group

#usermod -G -a group_name user1

or edit /etc/group

SSH tricks

Polishlinux.org has a very nice article about using SSH

read it here


Powered by ScribeFire.

How to update Ubuntu by CLI


#sudo aptitude -y update && sudo aptitude -y upgrade && sudo aptitude -y dist-upgrade && sudo aptitude autoclean

To schedule automatically executing the command string but the string in a cron job:

#sudo crontab -e