Unix Commands
Unix Commands
# Display the last users who have logged onto the system.
last
# Create a directory
mkdir directory
PERMISSION EXAMPLE
U G W
rwx rwx rwx chmod 777 filename
rwx rwx r-x chmod 775 filename
rwx r-x r-x chmod 755 filename
rw- rw- r-- chmod 664 filename
rw- r-- r-- chmod 644 filename
LEGEND
U = User
G = Group
W = World
r = Read
w = write
x = execute
- = no access
8 – NETWORKING
# Display all network interfaces and ip address
ifconfig -a
# Download http://domain.com/file
wget http://domain.com/file
# Install package.
yum install package
# Display description and summary information about
package.
yum info package
# Remove/uninstall package.
yum remove package