What is the result of the following command sequences?

ls | wc -l
rm ???
who | wc -l
mv progs/* /users/steve/backup
ls *.c | wc -l
rm *.o
who | sort
cd; pwd
cp memo1 ..
plotdata 2>errors &

ls | wc -l
Shows how many files are in the current directory

rm ???
Removes any files that have exactly three character names

who | wc -l
Shows how many people are logged into the system

mv progs/* /users/steve/backup
Moves all files from progs into /users/steve/backup

ls *.c | wc -l
Shows how many C programs (files with a .c filename suffix) are in the current directory

rm *.o
Removes any files that have a .o filename suffix from the current directory

who | sort
Shows who is logged in, sorted in alphabetical order

cd; pwd
Changes to your default $HOME directory, and shows where you are in the file system

cp memo1 ..
Copies the file memo1 to the parent directory

plotdata 2>errors &
Runs the plotdata command in background, redirecting the stderr output to the file error

Computer Science & Information Technology

You might also like to view...

All PowerPoint themes include a Colors gallery

Indicate whether the statement is true or false

Computer Science & Information Technology

____ photos are photos taken by professional photographers and then offered for sale to Web designers, graphic designers, and others who need images for Web sites, print advertisements, and other projects.

A. Public B. Thumbnail C. Domain D. Stock

Computer Science & Information Technology