Linux -Consider /foo/fuu: which proposition is true? foo is necessarily a file (A) foo can be a folder or a file (B) fuu

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Linux -Consider /foo/fuu: which proposition is true? foo is necessarily a file (A) foo can be a folder or a file (B) fuu

Post by answerhappygod »

Linux
-Consider /foo/fuu: which proposition is true?
foo is necessarily a file (A)
foo can be a folder or a file (B)
fuu is necessarily a file (C)
fuu is necessarily a folder (D)
fuu can be a folder or a file (E)
-From the home (/home/user) directory, how to accessthe /etc/fonts directory? Choose the correctproposition.
cd etc then cd fonts (A)
cd etc/fonts (B)
cd ./etc/fonts (C)
cd ../../etc/fonts (D)
cd ../etc/fonts (E)
-Imagine the following sequence of commands:
What does the pwd command display once all thesecommands are typed?
Be careful to respect the characters and not to introduceadditional spaces.
-The command ls -d /usr/include/s* displays the filesand folders contained in /usr/include and whose namebegins with the letter s.
What is a well-known file of all C programmers inthe /usr/include folder that starts with theletter s?
Give only the name of the file, not its path.
-There are many types of file systems (or fs in short). Eachtype has its own name, forexample nfs, ext2, tmpfs ...
The /proc/filesystems file contains two columns, theright column contains the list of file system names supported bythe current system. You can open this file in the nano editorwith the command nano /proc/filesystems .
Which file system is NOT supported by Weblinux?
sysfs (A)
rootfs (B)
pipefs (C)
ext2 (D)
nfs (E)
9p (F)
ntfs (G)
ramfs (H)
proc (I)
question (6) The mount command lists the file systemscurrently used by the operating system. Typically, each linerepresents a file system that is currently active and used by thesystem. The path to accessing this file system is indicated justafter the keyword on on each of the lines. The name ofthe file system is indicated just after the type keywordon each of the lines.
What is the name of the file system currently used by Weblinuxwhose path is /dev/shm ?
question (7) Consider the statement of the question 6.
What is the name of the file system currently used by Weblinuxwhose path is the root / ?
question (8) Search the internet for the name of the file systemused by Windows 10. Is it:
9p (A)
etx2 (B)
hfs (C)
ntfs (D)
tmpfs (E)
xfs (F)
ext4 (G)
question (9) Suppose on your system you havea /home/user/music folder which itself contains thefollowing folders:
Suppose that the pwd commanddisplays /home/user/music/popular .
What is the effect of the mv popular pop command?
this creates the pop folder and moves the popular folder to thepop folder (A)
this creates the popular folder and moves the pop folder to thepopular folder (B)
this renames the popular folder to pop (C)
this renames the pop folder to popular (D)
it does not work because we cannot move a folder we arecurrently working on (see pwd output) (E)
it does not work because we are not in the correct workingfolder (see the output of pwd): we should bein /home/user/music for this to work (F)
question (10) : Consider the statement of question 9.
What exact command should you type to renamethe miscellaneous folder to other usingonly RELATIVE names or paths?
Do not put / at the end of relative paths and do notput spaces at the end, be strictly accurate.
question (11) : Consider the statement of question 9.
What exact command should you type to remove the entire musicfolder using only ABSOLUTE names orpaths?
Do not put / at the end of absolute paths and do notput spaces at the end, be strictly accurate.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply