Académique Documents
Professionnel Documents
Culture Documents
A.
B.
C.
D.
E.
ls and df
ps and top
ps and df
df and top
du and df
C.
D.
E.
Q.3) Which command will display the last lines of the text file file1?
A.
B.
C.
D.
E.
head -b file1
head --bottom file1
head -v file1
tail file1
tail -n 1 file1
In the Bash shell, entering !!has the same effect as which one of the
Q.4)
following?
A.
B.
C.
D.
E.
Q.5)
A.
B.
C.
D.
E.
A.
B.
C.
The lines of guest_list are evenly divided among new files aagl,
abgl, and acgl.
Which one of the following commands would be best suited to mount a
Q.9) CD-ROM containing a Linux distribution, without depending on any
configuration files?
E.
D.
E.
A.
B.
C.
D.
E.
Q.7)
A.
B.
C.
D.
E.
A.
B.
C.
D.
E.
Q.11)
A.
B.
C.
D.
E.
Q.12)
A.
A.
B.
C.
D.
C.
D.
E.
Q.13)
The first four columns in the text are written to new files glaa, glab,
glac, and glad.
The first four columns in the text are written to new files aagl, abgl,
acgl, and adgl.
The lines of guest_list are evenly divided among new files glaa,
glab, glac, and glad.
The lines of guest_list are evenly divided among new files glaa,
glab, and glac.
The write will fail, but the superuser can recover the entire file
within seven days.
The write will fail, and the file will be truncated permanently.
The write will succeed, but the file will be truncated permanently.
The write will succeed, but the file will be available for only seven
days.
The write will succeed, but the file will be truncated in seven days.
State the syntax to direct the standard output of cmd1 directly into the
standard input of cmd2.
cmd1 | cmd2
...
Which of the following directories must be part of the root filesystem?
Q.14)
Select two of the following that apply.
A.
B.
A.
B.
C.
D.
E.
/etc
Carolyn has a text file named guest_list containing 12 lines. She executes
Q.8) the following command. What is the result?
# split -4 guest_listgl
B.
In response to the df command, the system reports a Use% of 98% for the
Q.6) filesystem mounted on /home. Which one of the following best describes
the significance of this information?
Q.15)
/etc
/home
/lib
/usr
/root
Alex is currently working in a directory containing only one file,
Afile1. What is displayed after the following commands are entered in
bash?
# MYVAR=ls
# echo $MYVAR "$MYVAR" '$MYVAR' '$MYVAR'
A.
B.
C.
D.
E.
Afile1 Afile1Afile1Afile1
ls Afile1 Afile1Afile1
lsls Afile1 Afile1
lsls $MYVAR Afile1
lslsls $MYVAR
Q.16) What does the & character do when placed at the end of a command?
A.
B.
C.
D.
E.
A.
B.
D.
C.
E.
Q.17)
A.
B.
C.
D.
E.
0
1
2
undefined
unknown
Q.25)
However, nothing changes as a result. What can you do to terminate the
process? Select one.
A.
B.
C.
D.
E.
A.
B.
A.
B.
C.
D.
E.
A.
B.
Q.28)
B.
A.
C.
E.
ln -s
...
A.
B.
C.
D.
E.
A.
xd
hd
B.
od
D.
Xd
dump
E.
C.
Q.30)
Which one of the following commands copies files with the .txt
Q.23) extension from /dir1 into /dir2, while preserving file attributes such as
dates?
A.
B.
C.
D.
E.
Q.24) Which one of the following file globs matches "Linux" and "linux," but
kill +9 4077
kill 4078
kill --die 4077
Ctrl-C
Ctrl-B
Ctrl-B and then enter the bg command
Ctrl-Z
Ctrl-Z and then enter the bg command
Q.29)
Q.22)
kill -9 4077
kill -1 4077
[Ll]inux
[Ll]inux?
D.
Q.21)
[L/linux]
?inux
\L\linux
A.
B.
C.
D.
E.
fdisk.
...
With aumask of 027, how is the initial mode set for a newly created
file?
0750
0640
0027
1027
1640