Sign In
Sign In
Reset Password
Register
Home
Courses | Fees
Unix
Unix Linux Fundamentals
Unix Shell Scripting
Korn/Bash shell scripting
Red Hat
Red Hat® Certified System Administration (RHCSA)
Red Hat Certified System Administration
Red Hat® Enterprise Clustering and Storage Management (RH436)
Red Hat® Enterprise Virtualization (RH318)
Red Hat Linux Performance Tunning
Contact Us
Home
Courses | Fees
Unix
Unix Linux Fundamentals
Unix Shell Scripting
Korn/Bash shell scripting
Red Hat
Red Hat® Certified System Administration (RHCSA)
Red Hat Certified System Administration
Red Hat® Enterprise Clustering and Storage Management (RH436)
Red Hat® Enterprise Virtualization (RH318)
Red Hat Linux Performance Tunning
Contact Us
Unix Shell Scripting | Bash Shell Scripting
Unix Skill Test | Unix Quiz 1
1
The ls command displays the contents of the files in your directory.
True
False
2
The correct unix command to display the contents of a file is
cat
more
less
all of the above
3
What is the correct command to end a script file?
Ctrl-z
Ctrl-q
Ctrl-d
Ctrl-l
4
Where is the password stored?
/etc/passwd
/etc/shadow
/etc/group
5
Which one shows the name of the operating system?
uname -n
uname -r
uname
uname -m
6
If you don't have the apropos command on your system, which command can you use?
man -l
man -k
man -f
man -c
7
Which command is used to count lines, words, and characters in a file?
bc
wc
cp
mv
8
Which command is used to check your current directory?
dd
cd
ld
pwd
9
How do you abort an editing session in vi?
:e!
:w!
:q!
:z!
10
Your screen shows junk in vi. How do you clear it?
Ctrl-z
Ctrl-q
Ctrl-d
Ctrl-l
11
How do you delete text from the current line to the beginning of the file in vi?
d1G
10dd
d$
df.