click below
click below
Normal Size Small Size show me how
7OSYS 23-24 MIDTERMS
REVIEWER MODULE 6,7,8
| Question | Answer |
|---|---|
| What type of path starts with the root directory? | Absolute Paths |
| Which pages in Linux provide a basic description of the purpose of a command, along with details regarding available options? | Man pages |
| Which command provides documentation that is broken down into categories similar to a table of contents in a book? | Info Command |
| What symbol is used to represent the root directory in Linux file systems? | Forward Slash (/) |
| Under what directory can we find a directory for each user on the system? | /home directory |
| Which option is used with the `ls` command to view hidden files? | /a |
| When using the `ls` command with the `-l` option, what does it mean if the first character of a line starts with `-`? | '-' represent regular file |
| Which option in the `ls` command is used to sort files based on the time they were last modified? | -t option |
| What glob character or symbol represents zero or more of any character in a filename? | Asterisk (*) character |
| What glob character or symbol matches exactly one character, no more and no less, in a filename? | question mark ? |
| To have an interactive prompt when copying, moving, or removing files, which option do you use with the `rm` command? | -i (interactive) |
| What command is used in Ubuntu to copy files and directories? | cp command |
| What command is used in Ubuntu to move files and directories? | mv command |
| What command is used in Ubuntu to delete files and directories? | rm command |
| What command is used in Ubuntu to create a directory? | mkdir command |
| What command is used in Ubuntu to create empty files? | touch command |
| What command is used in Ubuntu to list directory contents? | ls command |
| What command is used in Ubuntu to determine the current location within the filesystem? | pwd command |
| What command is used in Ubuntu to navigate to different directories? | cd (change directory) command |
| What command is used in Ubuntu to rename files or directories? | mv command |