Write the command that will display all the files in the rpm package "vsftpd.x86_64". The command MUST display the following information for each file: * permissions * owner * group * file size (regular files) * date * filename Assume that the rpm package resides in the /tmp directory, and that the /tmp directory is the current directory.
Write the command that will display all the files in the rpm package "vsftpd.x86_64". The command MUST display the following information for each file: * permissions * owner * group * file size (regular files) * date * filename Assume that the rpm package resides in the /tmp directory, and that the /tmp directory is the current directory.
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 6PE
Related questions
Question
Write the command that will display all the files in the rpm package "vsftpd.x86_64". The command
MUST display the following information for each file:
* permissions
* owner
* group
* file size (regular files)
* date
* filename
Assume that the rpm package resides in the /tmp directory, and that the /tmp directory is the
current directory.
Expert Solution
Step 1
In Linux, ls command for listing files and directories in a file system. In Windows, ls equivalent command is dir in command prompt.
Syntax of ls command:
- ls [options] [files]
where some of the options:
- -l: used for long listing format.
- -a: Don't ignore starting entities with '.'. Show hidden files.
- -d: list directories but not their content.
- -r: list in reverse order.
- -R: list sub directives recursively.
- -s: list the file size.
- -t: sort by date/time.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
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.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L