CompTIA Linux+ Guide to Linux Certification (MindTap Course List)
4th Edition
ISBN: 9781305107168
Author: Jason Eckert
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 5, Problem 10RQ
What does the du /var command do?
- a. shows the users connected to the /var directory
- b. shows the size of all directories within the /var directory
- c. dumps the /var directory
- d. displays the amount of free space in the /var directory
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
For UNIX, can you help me out here please.
List of commands to read and use: use of wild card characters (*, ? and set []), mkdir, rmdir, touch, cd, pwd, ls, .. and .
Change the working directory to your login directory
Create a subdirectory for this question under your login directory
Change working directory to the newly created directory
Display pathname of the working directory
Use touch command(s) to create the files: intro, notea, noteb, notex, ref1, ref2, ref3, section1, section2, section3, section4x, section4y, section4z
UNIX (I use Putty)
I answered some of this but I am honestly confused.
List of commands to read and use: use of wild card characters (*, ? and set []), mkdir, rmdir, touch, cd, pwd, ls, .. and .
Change working directory to your login directory $ cd directory_name
Create a subdirectory for this question under your login directory Mkdir sub_directory_name
Change working directory to the newly created directory
CD new_created dir
Cd sub -changes to the subdirectory with the login directory.
Cd /-Follows the root/login directory with a new directory path:
Cd sub
Display the pathname of the working directory
Pwd
Use touch command(s) to create the files: intro, notea, noteb, notex, ref1, ref2, ref3, section1, section2, section3, section4x, section4y, section4z
$ touch intro notea noteb notex ref1 ref2 ref3 section1 section2 section3 section4x section4y section4z
Using one or more of the wild card charaters *, ? and range (also called set) like [abx] and [1-3] in the file…
What would be the result of the command 'cd ~/Myfiles'?
A. Navigate you to the 'Myfiles' subdirectory inside your root directory
B. Navigate you to the 'Myfiles' subdirectory inside your home directory
C. Move the 'Myfiles' subdirectory to your root directory
D. Copy the 'Myfiles' subdirectory to your home directory.
Chapter 5 Solutions
CompTIA Linux+ Guide to Linux Certification (MindTap Course List)
Ch. 5 - Prob. 1RQCh. 5 - After a partition on a hard disk is formatted with...Ch. 5 - Prob. 3RQCh. 5 - Prob. 4RQCh. 5 - Prob. 5RQCh. 5 - A user mounts a device to a mount point directory...Ch. 5 - Which command is used to display the amount of...Ch. 5 - What must you do to successfully run the fsck...Ch. 5 - Character devices typically transfer data more...Ch. 5 - What does the du /var command do? a. shows the...
Ch. 5 - Prob. 11RQCh. 5 - Prob. 12RQCh. 5 - Which of the following statements are true?...Ch. 5 - Prob. 14RQCh. 5 - Which of the following statements regarding LVM...Ch. 5 - Prob. 16RQCh. 5 - You plug a USB flash memory drive into a system...Ch. 5 - Which command mounts all existing filesystems in...Ch. 5 - Prob. 19RQCh. 5 - Which command is used to format a partition on a...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Which command is used to list the contents of the current working directory including the hidden files? A) Ls -a B) Ls -t C) Ls -r D) Ls -Iarrow_forwardunix Q2. Hint: List of commands to read and use: use of wild card characters (*, ? and set []), mkdir, rmdir, touch, cd, pwd, ls, .. and . Change working directory to your login directory Create a subdirectory for this question under your login directory Change working directory to the newly created directory Display the pathname of the working directory Use touch command(s) to create the files: intro, notea, noteb, notex, ref1, ref2, ref3, section1, section2, section3, section4x, section4y, section4zarrow_forwardCan you issue cd command without argument? What is its effect? Group of answer choices No, Shell will give missing pathname error Yes, it will make your login directory as working directory Yes, it will make the root as the working directory Yes, but it will have no effect What will cat foobar foobar do? Group of answer choices Shell will display an error since foobar appears twice cat command will display the content of the file foobar twice on the screen Shell will display the content of the file foobar twice on the screen cat command will display the content of the file foobar once on the screenarrow_forward
- If the command prompt’s current directory is C: \Users\ james write the command(s) to -..list all the sub-directories (folders) within the current C:\Users\james directory. -change the current directory from C: \Users\James 1o C:\Users -create a new folder called exams within the directory C:\Users - copy all files n the current directory C: \Users\James\Desktop to the directory D: \backup- check to see if there are any problems with an externally attached hard drive (labeled 'G'). -..change the attributes of a file called SecretFiles. txt lo being hidden and read-only. NOTE: Assume that the current directory is C:\, but that the SecretFiles. txt file is in the directory C: \Users\james\Desktop.arrow_forwardWhat will happen in the single level directory?a) All files are contained in the same directoryb) All files are contained in different directories all at the same levelc) Depends on the operating systemd) None of the mentionedarrow_forwardPlease Someone help me my Unix/Linux II Write a command to display the contents of your current directory; the listing should show the permissions on each entry and should include any ‘hidden’ files in the directory:arrow_forward
- If a user’s current directory is /home/mary/project1, which command could she use tomove to the etc directory directly under the root?a. cd ..b. cd /home/mary/etcc. cd etcd. cd /etce. cd \etcarrow_forwardUnix operation System : 1) Write a command to count number of user logged on the network ? 2) Write a command to search an user with name Khalid ,who has already been created ? 3) Write command to change the name of Directory D to F ?arrow_forwardHow would you use the "du" command to produce only the total usage for theamount of disk space your home directory is using in human readable format.arrow_forward
- What does . in a pathname represent? In which type of pathname does it normally specified? Represents current directory and is normally specified relative pathname Represents root and is normally specified in the absolute pathname Represents current directory and is normally specified in the absolute pathname Shell will give an error since . is not a valid directory name If mkdir test command fails, what could be the possible reason(s)? Group of answer choices test directory or file already exists in the current directory Shell is broken, that is, it is not functioning properly Your working directory may be a system directory Could be (a) or (c) If rmdir test command fails, what could be possible reason(s)? Group of answer choices test directory does not exist test directory is not empty or your working directory is in it Could be (a) or (b) test file does not exist What is a hidden file in UNIX? Group of answer choices Any file whose filename starts…arrow_forwardQ4. Write a script ex4.sh to send this information to your email address. Find the disk which is mounted on the root directory (e.g., Mounted on /) (hint: use “df” and awk) Send the following information The total capacity of the disk The remaining capacity of the disk The percentage of the remaining diskarrow_forwardWhich option displays disk usage and type information of a particular type of file system Choose an answer A du -t B df -T C du -T D df -tarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- CompTIA Linux+ Guide to Linux Certification (Mind...Computer ScienceISBN:9781305107168Author:Jason EckertPublisher:Cengage LearningLINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.Computer ScienceISBN:9781337569798Author:ECKERTPublisher:CENGAGE L
CompTIA Linux+ Guide to Linux Certification (Mind...
Computer Science
ISBN:9781305107168
Author:Jason Eckert
Publisher:Cengage Learning
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L
Linux - Tutorial for Beginners in 13 MINUTES! [ UPDATED ]; Author: bai;https://www.youtube.com/watch?v=BMGixkvJ-6w;License: Standard YouTube License, CC-BY
What is Linux?; Author: Techquickie;https://www.youtube.com/watch?v=zA3vmx0GaO8;License: Standard YouTube License, CC-BY
Introduction to Linux and Basic Linux Commands for Beginners; Author: sakitech;https://www.youtube.com/watch?v=IVquJh3DXUA;License: Standard Youtube License