Question: 1 . What command can be used to: a . Create and export a variable called NEWHOME that is equivalent to the value contained in
What command can be used to:
a Create and export a variable called NEWHOME that is equivalent to the value contained in the HOME variable.
a
b Find all files that start with the word host starting from the etc directory and save the Standard Output to a file called file and the Standard Error to the same file.
b
c Display only the lines from the output of the set command that have the word bash in them so that the output on the terminal screen od sorted alphabetically.
c
d Display only the user name first field in the colondelimited etcpasswd file and save the output to a file called users in the current directory.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
