UNIX Quiz - Level 1

1.1 How do you get help about the command "cp"?

help cp
man cp
cp ?


1.2 How do you list all the files that are in the current directory?

list all
ls -full
ls -a


1.3 How do you rename file "new" in file "old"?

mv new old
cp new old
rn new old


1.4 How do you visualize the content of file "not_empty"?

type not_empty
cat not_empty
more not_empty


1.5 How do you create a new directory called "flower"?

newdir flower
mkdir flower
crdir flower