1- Create a script in Desktop directory that does the following: s. Input the value of user that you want to search in /

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1- Create a script in Desktop directory that does the following: s. Input the value of user that you want to search in /

Post by answerhappygod »

1 Create A Script In Desktop Directory That Does The Following S Input The Value Of User That You Want To Search In 1
1 Create A Script In Desktop Directory That Does The Following S Input The Value Of User That You Want To Search In 1 (99.13 KiB) Viewed 46 times
1- Create a script in Desktop directory that does the following: s. Input the value of user that you want to search in /etc/passwd. Using read command and put this statement for displaying: "What is the name of the user that you are looking for? "[1 Marks] b. Print the output of the searching, Using grap command [1 Marks] Create a new file name file_<<NAME>>, replace <<NAME>> with the one that you get it from read command. [1 Marks] d. Save the /etc/passwd in your home directory in file name output.log, using cat command [1 Marks] e. Save the output of tres command for your home directory in file name log.txt [1 Marks] IMPORTANT NOTICE: YOU MUST PROVIDE THE SCREEN SHOT TO THE SCRIPT CODE, EXECUTE, OUTPUT.LOG, AND LOG.TXT
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply