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

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Useful Unix Commands

Page history last edited by PBworks 17 years, 1 month ago
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.