Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This is my wiki, containing all of my shortcuts.<br><br> | This is my wiki, containing all of my shortcuts.<br><br> | ||
System specs | <h1>System specs</h1> | ||
tells the system bit | |||
<pre>uname -a</pre> | <pre>uname -a</pre> | ||
What linux version and release | |||
cat /etc/redhat-release | <pre>cat /etc/redhat-release</pre> | ||
VPS parent sudo rights | <h1>VPS parent sudo rights</h1> | ||
sudo su | <pre>sudo su</pre> | ||
OwnerShip | <h1>OwnerShip</h1> | ||
Tell what group number owner is | Tell what group number owner is | ||
cat /etc/passwd | grep nobody | <pre>cat /etc/passwd | grep nobody</pre> | ||
Group | <h1>Group</h1> | ||
add user to group | |||
useradd -G {group-name} username | <pre>useradd -G {group-name} username</pre> | ||
Permissions | <h1>Permissions</h1> | ||
find 777 folders | |||
find /home -perm 0777 -type d -print | <pre>find /home -perm 0777 -type d -print</pre> |
Revision as of 18:49, 29 March 2010
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