1. How can you append the output of a command to a file? Command <file Command >
ID: 3901872 • Letter: 1
Question
1. How can you append the output of a command to a file?
Command <file
Command > file
Command <<file
Command >>file
2. Which command is used to copy all files having the string chap and any two characters after that
cp chap* progs
cp chap?? Progs
cp chap%% progs
cp chap ^^ progs
3. vi always starts in _________mode
insert
command
last line
ex
4. in vi editor, to get out of insert mode, press the ___key, which will put you back into command mode.
Shift
Esc
Ctrl
Alt
5. Which command is used with the vi editor to save file and remain in the editing mode?
:q
:q!
:w
:x
6. How do you rename file “new” in file “old”
mv new old
rm new old
cp new old
rn new old
7. Unix OS is an _______.
Time sharing OS
Multi-tasking OS
Multi_user OS
All the above
8. dev directory contains files for controlling
temporary file
input/output
log files
backup files
9. _____________directory contains executable file for most of the Unix commands
lib
bin
dev
tmp
10. Root directory in Unix is denoted by ____________
/
()
–
Explanation / Answer
1.
Command >>file
2.
cp chap?? Progs
3.
command mode
4.
Esc
5.
:w
6.
mv new old
7.
All
8.
input/output
9.
lib
10.
/
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.