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...

A __________ is a value that signals when the end of a list of values has been reached.

a. terminal b. sentinel c. token d. delimiter

Computer Science & Information Technology

When you are a regular user, where are you positioned when you first log on to CentOS 7 and what permissions do you have?

What will be an ideal response?

Computer Science & Information Technology

A computer with cache built in to the microprocessor plus memory built in to the processor packaging may have additional cache memory on the motherboard called

A) L3 cache B) L2 cache C) L1 cache D) L cache

Computer Science & Information Technology

Sending a packet to all network devices is called a ____ transmission.

A. unicast B. multicast C. broadcast D. singlecast

Computer Science & Information Technology