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 Shell Scripting Quiz 2
Register to attempt quiz
1
How do you yank 5 lines in vi?
5xx
5yw
5yy
5xx
2
Which command will tell you what directory you are currently in?
pwd
cd
mkdir
whatdir
3
What is equivalent to chmod u=rw,go=r file?
chmod 600 file
chmod 644 file
chmod 755 file
chmod 640 file
4
How would you display all files including hidden ones in columns and identify directories and executables?
ls -u
ls -Fax
ls -r
ls -R
5
Which part of the operating system gets loaded into memory as soon as the system is booted?
shell
kernel
file
process
6
What command is generally used to end an input session?
Ctrl-z
Ctrl-q
Ctrl-d
Ctrl-l
7
If the {bf apropos} command is not available, which command can you use?
man -l
man -k
man -f
man -c
8
How do you delete text from the current line to the beginning of the file in vi?
1GdG
dG
d0G
d1G
9
How do you globally replace Internet with Web occurring in all lines using vi?
:1,\$s/Internet/Web/g
:1,\$s/Internet/Web
:.,\$s/Internet/Web/g
:.,\$s/Internet/Web
10
How can you quit emacs?
[Ctrl-x][Ctrl-c]
[Ctrl-x][Ctrl-f]
[Ctrl-x][Ctrl-q]
[Ctrl-x][Ctrl-s]
11
What command is used to interactively delete files?
rm
rm -d
rm -i
rm -a
12
What command is used to rename a file?
ren
rename
mv
newname
13
What is equivalent to chmod 711 file?
chmod u=rw,go=x file
chmod u=rw,go=rx file
chmod u=rwx,go=x file
chmod u=rwx,go=rx file
14
How do you symbolically link /usr/games/netris with a file of the same name in your current directory?
ln . /usr/games/netris
ln /usr/games/netris
ln -s . /usr/games/netris
ln -s /usr/games/netris .