| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Dokkio Sidebar (from the makers of PBworks) is a Chrome extension that eliminates the need for endless browser tabs. You can search all your online stuff without any extra effort. And Sidebar was #1 on Product Hunt! Check out what people are saying by clicking here.

View
 

Useful Unix Commands

This version was saved 15 years, 2 months ago View current version     Page history
Saved by PBworks
on June 7, 2007 at 8:58:39 am
 
cd change directory
pushd flip between two different directories
cp copy
mv move
rm remove and erase
ls list what is in the directory
ls -l list what is in directory with more detail
pwd find out where you were
mkdir make new directory
chown change owner
chown -R change owner of everything in specified directory
su switch user
chgrp change group ownership
chgrp -R change group ownership of everything in specified directory
diff compare two files
Ctrl + Z suspends program
fg reactivates program/brings suspended back into foreground
ls -alt lists permission of all files in a directory
chmod changes permissions depending on what numbers you put in using chmod ### filename command. See table below for permission numbers.
wc count number of lines, words, and characters in a (text) file

 

# Permission
7 full
6 read and write
5 read and execute
4 read only
3 write and execute
2 write only
1 execute only
0 none


 

Consider taking self-paced Unix courses on CD-ROM, free of charge, courtesy of UIS!

Comments (0)

You don't have permission to comment on this page.