Which of the following shell commands is used to rename a file? in rm mv cp Comm
ID: 3575144 • Letter: W
Question
Which of the following shell commands is used to rename a file? in rm mv cp Command chmod ugo + rw-x note' can be represented in octal notation as chmod 555 note chmod 666 note chmod 444 note chmod 333 note How do you get all the files with on the 3rd place an a, b or c? Is ? 3[abc]* Is **[abc]? Is ??[abc]* Is *[abc]* In the model of computer architecture presented in class, the program counter holds the address of the currently executing instruction holds the address of the next instruction to be executed holds the current instruction holds the next instruction to be executed Which of the following allows you to change the name of a file from input.txt to data.txt ? cp input.txt data.txt mv data.txt input.txt mv input.txt data.txt rename input.txt as data.txt A file with permission of rw-rw-rw- is placed in a directory with permission of r-xr-xr-x. Which of the following statement is false? the directory is write-protected the file cannot be executed the file cannot be removed the file cannot be modified A process control block _. includes information on the process's state stores the address of the next instruction to be processed by a different process determines which process is to be executed next is an example of a process queue A _ saves the state of the currently running process and restores the stale of the next process to run. save-and-restore state switch context switch none of the above _ involves moving part or all of a process from main memory to disk. Swapping Relocating Suspending BlockingExplanation / Answer
Answer
(5) (c) mv
(6) (a) chmod 555 note
(7) (d) ls *[abc]*
(9) (c) mv input.txt data.txt
(10) (b) the file can not be executed.
(11) (d)
(12) (c) context switch
(13) (b)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.