Main Page

From Cheatsheet
Revision as of 18:49, 29 March 2010 by Admin (talk | contribs)
Jump to navigation Jump to search

This is my wiki, containing all of my shortcuts.

System specs

tells the system bit

uname -a

What linux version and release

cat /etc/redhat-release

VPS parent sudo rights

sudo su

OwnerShip

Tell what group number owner is

cat /etc/passwd | grep nobody

Group

add user to group

useradd -G {group-name} username

Permissions

find 777 folders

find /home -perm 0777 -type d -print