Here
is a quick UNIX command summary to get you started.
[Commands]
- ls
- list directory contents
- rm
- remove a file or directory entries
Example: somewhere.usc.edu% rm filename.C
- mv
- rename or move a file to a directory
Example renaming files: somewhere.usc.edu% mv filename.C filename2.C
Example moving filename.C inside foldername: somewhere.usc.edu% mv filename.C foldername
- cd
- change directory
- pwd
- print working directory (displays the current directory)
- pico
- simple UNIX text editor
- emacs
- another UNIX text editor
[Compiling
and Running C programs]
- gcc
- compile C source file
Example: somewhere.usc.edu% gcc hello.C -o hello
- Running binary executable file:
./hello
|