Shutting Down, Rebooting Users and Groups

Shutting Down and Rebooting

Log out current user
logout 

reboot a machine
reboot or shutdown -r

You must halt a system to turn it off
/sbin/halt then power the box off or shutdown -h now

Start the next X window session on the display
startx 
 

Users and Groups

Add a  user to system 
usage: adduser userid 
useradd is also acceptable

Create a new group on the system
groupadd 

Show which groups you are in
Groups

Prints list of users on the system
users 

Change group associated with a file. Can be used to change the group associated with subdirectories and files of a directory
chgrp 
usage: chgrp group files 
or: chgrp -R group files 

Change ownership of a file. Can be used recursively.
chown 
usage: chown userid files 
or: chown -R userid files 

Change login password
passwd

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.