Lists the files in the current directory. ls -l gives more
information about the files. -l stands for the Copies a file. cp
sample.c example.c makes a copy of sample.c and names the new
sample.c still exists. Renames or relocates a file. mv average.c
mean.c changes the name of the file from average.c to average.c
no longer exists. mv average.c proj1/mean.c move the file named
average.c to the directory proj1 and changes the name to mean.c.
Again, the file average.c no longer exists. If it is only the
name of the directory, it will be called average.c but there is
no longer a file named average.c where you are working (it is in
the directory proj1). Removes or deletes a file. rm olddata.dat
would delete the file olddata.dat Types the contents of a file
onto the screen one page at a time. more example.txt would show
the contents of the file example.txt one screenfull at a time.
You must press the spacebar to advance to the next page. You may
type q to quit or b to go back to the beginning of the file.
Displays