Linux Operating System

Which Linux command will display detailed information about all files and directories in the current directory, including system files?

Click to show answer

ls -la


A command has generated a large amount of data on the screen. What could you add to the command to make the output more readable?

Click to show answer
Either more or less.

What command would allow you to delete the contents of the folder /home/jaime/junk and all its subdirectories?

Click to show answer

rm -r /home/jaime/junk


What command could you use to move a file names.doc from your current directory to the USB stick linked to folder /mnt/usb?

Click to show answer

mv names.doc /mnt/usb


A file is secured with the numeric permissions 0774. What rights does another user account have over the file?

Click to show answer

Read-only.


Which Linux command allows a user to run a specific command or program with superuser/root privileges?

Click to show answer

sudo