Linux Chapter 6

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What option for the ls command will display all files, including hidden files?

-a

The touch command can be used to do what?

-create new files -update the time stamp of existing files

Which option for the ls command when used in conjunction with the -l option will display human-readable sizes?

-h

Which option can be used with the rm command to prompt before deleting?

-i

Which options can be used to prevent cp from overwriting an existing file?

-n -i

What represents the top level directory?

/

The first character in a long listing (ls-l) indicates what?

If something is a file, directory, or symbolic link

The command rm-r will do what?

Remove a directory along any files or subdirectories

The double dot (..) can be used with the cd command to represent what?

The directory above the current working directory

The tilde ~ is used to represent what?

The users home directory

The rm command can delete multiple files at once. True or False?

True

True or False - When using the cp command, you must provide both a source and a destination?

True

True or False- The ls command color codes results by default?

True

The cd command by itself will take you to what directory?

Your home directory

Hidden files are files that begin with what character?

a period (.)

The double dot can be used to represent the directory..?

above the current directory

/etc/ppp - absolute or relative?

absolute

The command ls-S will sort files...

by size - largest to smallest

What command will allow you to change your current working directoy?

cd

Which commands can be used to access the home directory of the user "bob" while logged in as root?

cd /home/bob cd ~bob

The ls command without options or arguments...

lists the contents of the current directory

Which of the following commands will prevent any aliased options to the ls command?

ls

Which of the following commands can be used to rename a file?

mv

../../home/sysadmin - absolute or relative?

relative

sysadmin/Documents - absolute or relative?

relative


Ensembles d'études connexes

Computer Fundamentals: Module 6: Security and Safety

View Set

MB105 Ch14 Understanding Financial Statements

View Set

*****TEST ONE: Cognition and Coping review questions*****

View Set

Life Insurance: Individual Life Insurance Contract - Provisions and Options

View Set