Fill in the blank using linux When I write a while loop to go through all argume
ID: 3799895 • Letter: F
Question
Fill in the blank using linux
When I write a while loop to go through all arguments, I will need to use ${!var} and this is known as an ................................................. Alternatively, I could write the code using a ......... loop, which may also be easier!
If I see a new command and I'd like to know how it works, I can google it or try it out.
Alternatively, I can read its documentation using ............................ or ..................................
I remotely log on a machine where all I can see is the Shell, and I need to edit a file. I can open it using ................... as editor. If instead I could use a graphic application, an editor could be ..........
I need to create a folder named shared that anybody in my organization has permission to write to. However, I want to make sure that nobody deletes the folder by mistake. To do this, I will have to use the .........................
Two persons can change the permissions on a file: root, and ....................................................
Explanation / Answer
When I write a while loop to go through all arguments, I will need to use ${!var} and this is known as an
VARIABLE VARIABLES (i.e., Variable number of Variables).
Alternatively, I could write the code using a FOR loop, which may also be easier!
If I see a new command and I'd like to know how it works, I can google it or try it out.
Alternatively, I can read its documentation using MAN or INFO
I remotely log on a machine where all I can see is the Shell, and I need to edit a file.
I can open it using VI as editor.
If instead I could use a graphic application, an editor could be GEDIT
I need to create a folder named shared that anybody in my organization has permission to write to.
However, I want to make sure that nobody deletes the folder by mistake. To do this, I will
have to use the STICKY BIT.
Two persons can change the permissions on a file: root, and FILE OWNER.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.