LINUX+ GUIDE TO LINUX CERTIFICATION
4th Edition
ISBN: 9780357005194
Author: ECKERT
Publisher: CENGAGE L
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
PERL:
Write a program that prints all of the files that end with .pl in a directory. Then test this program on the directory that contains all your Perl code
write c program? plz single c file
write a program that will copy all files under the given folder to another one. In order to be able to complete this assignment, you have to research how to obtain the list of files in a directory in Linux. You must copy each file in a separate process. The folder name should be obtained from the arguments. You must perform all error checks?
shell scripting
Chapter 5 Solutions
LINUX+ GUIDE TO LINUX CERTIFICATION
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
- In FAT32, the file extension tells the user about the type of the file. Select one: O True O Falsearrow_forwardPython question: I have a .py file in another folder in the same directory how do I import that file into another .py file? For example, my directory folder is called "School_Work" I have 2 folders: Helper_Functions Main_Driver In my Helper_Functions folder I have the file called helper_functions.py and in my main driver I have a file called main.py. I want to import helper_functions.py into main.py. How do I do that?arrow_forwardTask1: Create a directory say, "Linux user" and it contains three files (e.g.; A, B, C). Change the directory permission first for "user", “group", “others", “all" then change the permission of files residing in the same folder/directory.arrow_forward
- Please comment all code Using a python editor, write a python script that imports os and does the following: it changes the directory to net created previously, it displays the current directory, it checks if the path to one of the subdirectories of net exists, it checks if the name of one of the files created previously is a directory, it returns the sizes of both files, uses for a loop to print the content of net as a list of strings, uses a for loop to retrieve all files with the extension .xlsx, uses a for loop to join a few files to the netarrow_forwardYou have a directory that includes the filenames Bob, Charlie, Charlene, Dick, Derby, Edward, Eddie, and Evangeline. You type in the command “cat E.” The screen will display the contents ofarrow_forwardPlease comment all code Using a python editor, write a python script that imports os and does the following: - it changes the directory to net312 created previously.- it displays the current directory.- it checks if the path to one of the subdirectories of net312 exists.- it checks if the name of one of the files created previously is a directory.- it returns the sizes of both files.- uses for a loop to print the content of net312 as a list of strings.- uses a for loop to retrieve all files with the extension .xlsx.- uses a for loop to join a few files to the net312.arrow_forward
- find The find command takes a pattern as a command-line argument and recur- sively searches through directories to find a filename matching that pattern. It should print a relative path starting with "./" for every file/directory that matches. For example, running ./find 1s.c from within the hw2 directory should print ./1s.c. If run from the parent directory, the output would be . /hw2/1s.c. There may be multiple matches. If we run ./find .c from within the hw2 directory, we should see: ./find.c ./1s.c ./tree.c The output does not need to be sorted. If nothing matches, it shouldn't print anything. Pattern matching should be case sensitive.arrow_forwardUNIX ASSIGNMENT - IXQuestion 3 : Suppose you have a C project in a folder called “project”, it contains .c and .h files, it also contains some other .txt files and .pdf files. Write a Linux command that will count the number of lines of your text files. That means total line count of every file. (remember you have to count the lines in .txt files only)arrow_forwardWrite code that when executed in PowerShell, will satisfy the following requirements: • Display the contents of the c:\windows\system32 directory. • Only display the file / directory names. • Pipe the result into the format list cmdlet • Use only one line to solve the problem.arrow_forward
- 202. HOSTS file entries are limited to how many characters? a. 32 b. 255 c. 926 d. Unlimitedarrow_forwardIn Linux, Find every file that ends with “.py” or “.txt” or “.cpp” from your root directory.arrow_forwardLinux Quiz (Accurate answers please!) Write the command to create a directory Write the command to print "hello World" to the terminal screen Write the command to move to the home directory of user linadm using a relative path. Write the command(s) that will set the color variable and send its value to a sub shell What login ids have access to the sudo command. Extract from the /etc/group file provide a list of all logins that run the bash shell. Include in your list the login name and login id #. Sort the results.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
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