WorksheetsLinux Exam training 1
Total questions: 27
Worksheet time: 15mins
What is the Linux command you can use to find out where a specific command is located on the filesystem?
which
find
path
locate
Which command removes only write permissions from every object below /project, while leaving other permissions unchanged?
chmod -R 555 /project/*
chmod -R ugo=rx /project/*
chmod -R ugo-2 /project/*
chmod -R a-w /project/*
What is RHEL
A Linux distribution
A Linux Package Manager
A Linux command
A graphical user interface for Linux
In VI which command saves your edited file and ends the VI-editor?
wq!
/q
quit
endsave
If you create a file in your homedir using the Linux command 'touch testfile1234.txt' and you want to find with the search command... What is correct to locate the new file (one or more answers can be correct)
First run 'updatedb' and then run 'locate testfile'
Use the command: locate testfile1234.txt
Use the command: find -name *.txt
Use the command: find /~ -name testfile1234.txt
For a Linux CLI command, options are used to...
Make scripted commands more advanced
set variables
Modify the core behavior of a command
Provide additional information (such as a filename)
What is a 'distribution'?
An open-source-export service for Linux
The graphical user interface components of Linux in a bundle
The Linux kernel, tools and applications bundled together
An open-source-software tool that comes with Linux
When entering '!<num>' on the command prompt, what will happen (<num> replaced by a numeric value)?
The value <num> will be printed on the screen
The command with the number <num> from the command history will be executed
The Variable '!' will be loaded with the value of <num>
You will get a 'value not found' error
When typing the command 'who' what will be the output?
The password expiracy date of your current userID
Your currect userID and for how long you are logged in
Your current userID and your working directory
A list of all users logged in on the system
What configuration file is built automatically to specify which Domain Name System (DNS) servers will be queried
/etc/named.conf
/etc/resolv.conf
/etc/hosts
/etc/sysconfig/dns
Select a Linux shells (one or more correct)
ZSH
C Shell
KSH
Bash
What is the core task of X-Windows?
Makes Linux run on Microsoft Windows (cross platform application)
Makes it possible to run Windows games on Linux
Connects Linux to Microsoft Windows (file sharing)
Runs the base graphical system (Window management) on Linux
Check the Console Text-Editors for Linux:
Emacs
Pico
VIM
Nano
Edit
The CLI...
Is a Linux Command
Relies primarily on keyboard input
Can only be started one single time per Linux-environment
Consists of menus and tools to help users navigate
Which of the following answers is true (one or more might be correct)
When creating a hard link, both original file and link will point to the same lnode
Soft-links can be found with the 'ls -l' command
A hard-link can never be used cross from one device or partition to another
With the 'ln command' you can create both hard-links and soft-links
Each file has at least one hard link
Which Linux Licenses allow you to modify and redistribute software on Linux
OSI
LGPL
GNU
GPLv2 and GPLv3
Which Linux application is a Relational Database Software package (RDBMS)? (One or more answers are correct)
MongoDB
Sql4Linux
PostgreSQL
MariaDB
Mysql
What is the default directory in Linux where most logs, like syslogs are located?
/var/log
/tmp
/log
/home/log
RPM is...
A command for Debian-based Linux distributions
A simple tool for Ubuntu Linux
A package manager for Red Hat Linux
A remote program manager tool for Linux
The correct command to go to the home-directory of the current user is:
cd home
cd ..
cd ~
cd -h
With an Alias you can....
Create new commands
Create an alternative hostname
Create an alias for a variable
Create short nicknames for longer commands
When searching for text in VI, VIM or in the MAN-pages, which command is used?
'l' character
'f' character
'/' character
's' character
What are 'KDE, GNOME and UNITY'?
They are Linux distributions
They are commands you can use from the Linux command line
They are Linux packaged used for software integration and development
They are Desktop environments for Linux
What command do you use to create a 'shortcut' for a file or directory?
MP
LINK
SC
LN
LibreOffice is... (one or more answers are correect)
Can be used of office productivity
An email client
A fork of the OpenOffice application
Is free
Linux excels at running server applications because....
Of its reliability and efficiency
It is free
It works well on Virtual Machines
It can be used for cloud-based applications
The long-term support time for SUSE LTS is...
10 years
15 years
5 years
13 years
