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...
icon
Related questions
Question
# Complete Project 2-7: Find Files in Linux (p.104)

**Note:** The 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's a link for some tips on GNOME interface with pictures](https://help.gnome.org/users/gnome-help/stable/shell-introduction.html.en).

### Steps:

1. **Open a terminal window.**

2. **Search for the Desktop directory:**
   - Type `find /home -name Desktop` and press Enter. 
   - This command searches for the desktop directory within your account's home directory.
   - `find` is the command, `/home` is where it searches, and `-name Desktop` specifies the name to look for.

3. **View the find command manual:**
   - Type `man find` and press Enter.
   - Scroll through the manual pages to see available options.
   - Press `q` to exit.

4. **Use the locate command:**
   - Type `locate Desktop | more` and press Enter. 
   - This uses an index to find all files and folders with "Desktop".
   - `| more` paginates the output. Press Spacebar to scroll.

5. **Create and locate a new file:**
   - Type `touch myDesktopFile` and press Enter to create a file.
   - Type `locate Desktop` again. The file won't appear as the index is not updated.

6. **Update the index:**
   - Type `sudo updatedb` and enter your password if prompted.
   - This command updates the index and needs superuser privileges.

7. **Locate and verify the new file:**
   - Type `locate Desktop | more` and press Enter. 
   - You should now see `myDesktopFile` in the listing. Close the terminal.

8. **Search in Activities:**
   - Click Activities, type in the search box "desktop", but don't press Enter yet.
   - This finds all files with "desktop" in the name.

9. **Open the Desktop folder:**
   - In the search results, click the Desktop folder to open.

10. **Close Files.**

---

### Complete Project 3-1: Monitor Process
Transcribed Image Text:# Complete Project 2-7: Find Files in Linux (p.104) **Note:** The 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's a link for some tips on GNOME interface with pictures](https://help.gnome.org/users/gnome-help/stable/shell-introduction.html.en). ### Steps: 1. **Open a terminal window.** 2. **Search for the Desktop directory:** - Type `find /home -name Desktop` and press Enter. - This command searches for the desktop directory within your account's home directory. - `find` is the command, `/home` is where it searches, and `-name Desktop` specifies the name to look for. 3. **View the find command manual:** - Type `man find` and press Enter. - Scroll through the manual pages to see available options. - Press `q` to exit. 4. **Use the locate command:** - Type `locate Desktop | more` and press Enter. - This uses an index to find all files and folders with "Desktop". - `| more` paginates the output. Press Spacebar to scroll. 5. **Create and locate a new file:** - Type `touch myDesktopFile` and press Enter to create a file. - Type `locate Desktop` again. The file won't appear as the index is not updated. 6. **Update the index:** - Type `sudo updatedb` and enter your password if prompted. - This command updates the index and needs superuser privileges. 7. **Locate and verify the new file:** - Type `locate Desktop | more` and press Enter. - You should now see `myDesktopFile` in the listing. Close the terminal. 8. **Search in Activities:** - Click Activities, type in the search box "desktop", but don't press Enter yet. - This finds all files with "desktop" in the name. 9. **Open the Desktop folder:** - In the search results, click the Desktop folder to open. 10. **Close Files.** --- ### Complete Project 3-1: Monitor Process
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY