Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write Linux command for each question. Please use one single commend to do following process. Q1: Display all lines of list1.txt and Ilst2.txt containing the
Write Linux command for each question. Please use one single commend to do following process. Q1: Display all lines of list1.txt and Ilst2.txt containing the letter 'p' Q2: Sort file list1.txt, and output the result to sort.txt. Q3: Append "flle1.txt" and "flle2.txt", and redirect to flle3.txt". Q4: Sort "flle3.txt" and "flle4.txt", and remove all the duplicate line from the result. Q5: Use octal notation to change the permission of flle3.txt to user - write read execute, group - read execute, other - execute. Q6: Use symbolic notation to change the permission of flle3.txt" to "user - write read execute, group - write read execute, other - write read execute. Q7: Display sorted filename in the current path. Q8: Redirect sorted filename in the current path to "flle9.txt" Q9: Count number of words for all files from current directory and output result to wordcount.txt Q10: display those lines do not contain "apple" from every file of current directory. Note: Only need to submit the answer for each question in a text or word file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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