Question
[LINUX] I need explainations/or answers for these questions. Please put in bold. 1.Know the difference between a command, an option, and an argument. rm -rf
[LINUX]
I need explainations/or answers for these questions. Please put in bold.
1.Know the difference between a command, an option, and an argument.
rm -rf zorko
2.How many commands are here? What are they? 3.How many options? What are they? 4.How many arguments? What are they?
5.Know how to redirect input and output, and know how to append to an existing file. Example: run /usr/local/task with input redirected from blah.txt, and the output appended to file tylk.data
6.Know how to pipe commands to one another. Example: do a long listing of directory /etc/init.d and pipe the output to the wc utility. ls -l /etc/init.d | wc
7.Know how to append files to your PATH (either at the beginning or end of the current PATH) variable.
8.Know how to run a program in the background, and bring it to the foreground.
9.How do you run a program in your current directory, if that directory isn't in your PATH?
10.Know how to use wildcards in file names.
11.Know what * and ? and [ ] do.
12.Know everything about the vi editor and the vim editor: know the main commands that get you into insert mode know the difference between A, I, O, and a, i, o from command mode, know how to move one word, sentence, or paragraph at a time. remember that repetition count comes before the command in command mode, not after; thus, it's 6d, not d6. In last line mode, know about special "line numbers" like . and $ Know how to do search and replace (first occurrence in a line vs. all occurrences in a line) Know how to specify a line or a range of lines: line 3 3 lines 3 through 5 3,5 current line through end .,$ next line with blah on it /blah/ Know how to read a file into the current work buffer Know how to write a file and give it a name
13.Putting multiple shell commands on one line
14.Redirecting standard input, standard output, and standard error
15.Piping the output of one command to another commands input
16.Changing permissions of a file for the user, group, and other
17.Setting the primary and secondary user prompts
18.Creating and deleting aliases
19.Writing shell comments
20.Shell wildcards
21.Running programs in the background, both with the bg command and by adding a special shell character to a command.
22.Finding the characteristics of the history (file name, history file size, etc.)
23.Using the ! command to re-execute commands from the history
24Modifying (substituting) parts of a command brought back from history
25.Declaring and using shell variables
26.Using the pushd and popd commands
27.Reading a bash script and determining what it will do; know about file tests, for, if, else, and elif
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started