This quick reference lists commands, including a syntax diagram and brief description. Arguments inside the brackets ([..]) indicate an optional part of the command. For more detail, click on the command.
9.1 File Manipulation
List files in current directory
----> ls -[l]
List hidden files
----> ls -[l]a
Display file contents
----> cat filename
Page through file
----> more filename
Copy
----> cp sourcedestination
Move or Rename
----> mv oldname newname
Remove (delete)
----> rm filename
Create or modify file
----> pico filename
Search with grep filter
----> grep patternfilename
9.2 File Properties
Changing permission
----> chmod nnn filename
----> chmod c=p[,c=p...] filename
where n is a digit from 0 to 7 which sets the access level for the user(owner), group, and others(public), respectively. c is one of: u for user, g for group, o for other, or a for all. p is one of: r for read access, w for write access, or x for execute access.