Complete project 2-7: Find Files in Linux p.104 (note that terminal is space, spelling, and punctuation sensitive) Instructions: In Linux, you can search for a file using the find command from the Terminal window. Alternatively, you can use the search tool in the GNOME Activities menu. (Here is a link for some tips on GNOME interface with pictures https://help.gnome.org/users/gnome-help/stable/shell-introduction.html.en) 1. Open a terminal window. 2. At the shell prompt, type find /home -name Desktop and press enter to search for the desktop directory within your account's home directory. In this context, find is the command to search for one or more files, /home tells the find command to search for files in the /home directory, which is the parent directory for all user account directories, and -name Desktop is an instruction to look for a the files that contain Desktop as part of the name. 3. Type man find and press Enter to see the manual pages for the find comand. Scroll through the man pages to see the options available with the find comman Press q when you are finished. 4. Type locate Desktop | more and press Enter. This locate command uses an index to find all the files and folders on the disk that include the word Desktop. The more part of the command pipes output to the more command, which paginates the output. Press the spacebar if needed to scroll through the files. 5. Type touch myDesktopfile and press Enter to create a new file named myDesktopFile. Type locate Desktop and press Enter. The command does not find the file because the index has not been updated. 6. Type sudo updatedb and press enter to update the index. Type your password when prompted, if needed. The updatedb command must be run as the superuser and requires a password normally. 7. Type locate Desktop | more and press Enter. You should should see the myDesktopfile in the listing. Close Terminal. 8. Click Activities, click the Type to search box, and type desktop. Don't press enter. Linux finds all the files that have the word Desktop as part of the name. If you press Enter, you will run any applications found that are related to desktop.
Complete project 2-7: Find Files in Linux p.104 (note that terminal is space, spelling, and punctuation sensitive) Instructions: In Linux, you can search for a file using the find command from the Terminal window. Alternatively, you can use the search tool in the GNOME Activities menu. (Here is a link for some tips on GNOME interface with pictures https://help.gnome.org/users/gnome-help/stable/shell-introduction.html.en) 1. Open a terminal window. 2. At the shell prompt, type find /home -name Desktop and press enter to search for the desktop directory within your account's home directory. In this context, find is the command to search for one or more files, /home tells the find command to search for files in the /home directory, which is the parent directory for all user account directories, and -name Desktop is an instruction to look for a the files that contain Desktop as part of the name. 3. Type man find and press Enter to see the manual pages for the find comand. Scroll through the man pages to see the options available with the find comman Press q when you are finished. 4. Type locate Desktop | more and press Enter. This locate command uses an index to find all the files and folders on the disk that include the word Desktop. The more part of the command pipes output to the more command, which paginates the output. Press the spacebar if needed to scroll through the files. 5. Type touch myDesktopfile and press Enter to create a new file named myDesktopFile. Type locate Desktop and press Enter. The command does not find the file because the index has not been updated. 6. Type sudo updatedb and press enter to update the index. Type your password when prompted, if needed. The updatedb command must be run as the superuser and requires a password normally. 7. Type locate Desktop | more and press Enter. You should should see the myDesktopfile in the listing. Close Terminal. 8. Click Activities, click the Type to search box, and type desktop. Don't press enter. Linux finds all the files that have the word Desktop as part of the name. If you press Enter, you will run any applications found that are related to desktop.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY