Linux MidTerm Review, Exams of Linux skills

A comprehensive review of various linux commands and concepts that are typically covered in a midterm exam. It covers a wide range of topics, including file management commands (rm, mv, cd, cat, pwd), shell command options (-a, -i, -r, -l), operating system history (unix, linux), terminal emulation (telnet), and common linux commands (ls, find, grep, head, tail, touch, etc.). The document also delves into file permissions, file paths, and other essential linux knowledge. This review material could be highly valuable for students preparing for a linux midterm exam, as it covers the key concepts and commands they need to understand and be proficient in.

Typology: Exams

2024/2025

Available from 09/16/2024

solution-master
solution-master 🇺🇸

3.2

(27)

11K documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linux MidTerm review
Which command is capable of deleting any file - rm
Command that is used to rename a file - mv
Command that can switch your present working directory - cd
command that outputs contents of files contiguously to output device. - cat
Command to out put the absolute path to your current directory - pwd
Shell command option -a - show hidden files in a directory listing -a
Shell command option -i - Warns of clobbering file with same name during move or copy -i
Shell command option -r - will continue to perform the command in all sub directories -r
Shell command option -l - will provide details for files in a directory such as type of file and time stamp -l
Which of operating system is the oldest - UNIX
Why is Unix portable - A kernel which supports hardware and "C" programing
Inventors of UNIX - Dennis Ritchie and Ken Thompson
pf3
pf4
pf5

Partial preview of the text

Download Linux MidTerm Review and more Exams Linux skills in PDF only on Docsity!

Linux MidTerm review Which command is capable of deleting any file - rm Command that is used to rename a file - mv Command that can switch your present working directory - cd command that outputs contents of files contiguously to output device. - cat Command to out put the absolute path to your current directory - pwd Shell command option -a - show hidden files in a directory listing -a Shell command option -i - Warns of clobbering file with same name during move or copy -i Shell command option -r - will continue to perform the command in all sub directories -r Shell command option -l - will provide details for files in a directory such as type of file and time stamp -l Which of operating system is the oldest - UNIX Why is Unix portable - A kernel which supports hardware and "C" programing Inventors of UNIX - Dennis Ritchie and Ken Thompson

Telnet? - VT100 Terminal emulation software original Unix objectives - Multitasking, open, multiuser, portable Which part of Linux provides the comand line to the user - Shell UNIX first became popular because - It was widely made available to universities and colleges Command ls -F - indicates / after directory and * after executable file in list command ls -ul - view last access date of file ls -h - shows sizes in "human-readable" format ls -i - indicates if file is in risk of duplicate or detetion [^a-z] - excludes all lower case letters Cat a\ b - next char. is literal file -"ab" cp - copy a file cp -r - copy file to different diretory find - search files in directory hierarchy

chmod - changing permissions file - deternine file type grep - search file for regular expressions head - display first few lines of a file ln - create softlink on oldname mkdir - create a new directory more - display data in paginated form tail - prints last few lines in a file touch - update access and modification time of a file commands - notation to exactly identify an object ("file") on the system command ls -a - lists hidden file and man -k (command) - one line explanation of command ZZ - entered in vi it saves file

:w filename - entered in vi saves and names file HJKL - left down up right CTRL h, w, u - delete letter, word, line ls -ul - view last access and modification date Octal file Representation - (4+2+1) = (r,w,x) cp data extra - copies existing file data to new file extra cp /etc/ group ~/group - copies the system file group in /etc sub directory to your home directory under the same name cp -i extra data - option -i tells the cp command to ask for permission to overwrite the existing file if the extra file already exists cp -p - tells the cp command the destination file the same modification time, access time, and permissions as the source file cp- ip files directory - where file 1 is the name of a existing file, and file two is the name of the destination file cp ../../papers/adventure. - copies existing file to your working directory (note the dot as the second argument