Question
Write the Linux command(s) to accomplish the following task: a. List all the configuration files (files with an extension conf) in /etc. b. List all
Write the Linux command(s) to accomplish the following task: a. List all the configuration files (files with an extension conf) in /etc. b. List all files that do not start with the letters a, b, c, q, r, s, or t in /etc sorted by file size and save the result in a file named etcAllFiles.txt. c. List all files in /etc that starts with m or h sorted by date and save the listing in a file called SortDate.txt. d. List all running processes. e. Stop a specific currently running process. f. Using the cat command, create a file of size zero bytes and name it nothing.txt g. Using the cat command, create a file with four lines of text and name it something.txt h. Make the file something.txt read only by your group and others. Make it readable, writeable, and executable by you. i. Create a directory and copy the two files created above into that directory. Name the directory sampleDir
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started