Running the command rm Downloads leads to the following error:
rm: cannot remove ‘Downloads/’: Is a directory Which of the following commands can be used instead to remove Downloads, assuming Downloads is empty? (Choose two correct answers.)
A.
undir Downloads
B.
rmdir Downloads
C.
dir –r Downloads
D.
rem Downloads
E.
rm –r Downloads
rmdir Downloads
rm –r Downloads
What is true about the owner of a file?
A.
Each file is owned by exactly one user and one group.
B.
The owner of a file always has full permissions when accessing the file.
C.
The user owning a file must be a member of the file’s group.
D.
When a user is deleted, all files owned by the user disappear.
E.
The owner of a file cannot be changed once it is assigned to an owner.
Each file is owned by exactly one user and one group.
What is true about links in a Linux file system?
A.
A symbolic link can only point to a file and not to a directory.
B.
A hard link can only point to a directory and never to a file.
C.
When the target of the symbolic link is moved, the link is automatically updated.
D.
A symbolic link can point to a file on another file system.
E.
Only the root user can create hard links.
A symbolic link can point to a file on another file system.
Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?
A.
Raspbian
B.
openSUSE
C.
Debian
D.
Ubuntu
E.
CentOS
CentOS
Which command adds the new user tux and creates the user’s home directory with default configuration files?
A.
defaultuser tux
B.
useradd –m tux
C.
usercreate tux
D.
useradd –o default tux
E.
passwd –a tux
useradd –m tux
Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
A.
cat 'Texts 2.txt’
B.
cat -- Texts 2.txt
C.
cat |Texts 2.txt|
D.
cat 'Texts\ 2.txt’
E.
cat Texts\ 2.txt
cat 'Texts 2.txt’
cat -- Texts 2.txt
Which of the following permissions are set on the /tmp/ directory?
A.
rwxrwxrwt
B.
------rwX
C.
rwSrw-rw-
D.
rwxrwS---
E.
r-xr-X--t
rwxrwxrwt
What is the preferred source for the installation of new applications in a Linux based operating system?
A.
The vendor's version management system
B.
A CD-ROM disk
C.
The distribution's package repository
D.
The vendor's website
E.
A retail store
The distribution's package repository
Which of the following DNS record types hold an IP address? (Choose two.)
A.
NS
B.
AAAA
C.
MX
D.
A
E.
CNAME
MX
A
A directory contains the following files
A.
*.txt
B.
ab
C.
cav
D.
txt
E.
txt
F.
txt
txt