Lab 7.doc - NHTI Concord’s Community College IST170C Introduction to Linux I Fall 2017 Lab 7 1 What were the names of the files that were displayed in

Lab 7.doc - NHTI Concord’s Community College IST170C...

This preview shows page 1 - 2 out of 3 pages.

NHTI, Concord’s Community College IST170C: Introduction to Linux I Fall 2017 Lab 7 1. What were the names of the files that were displayed in Lab 7 Step 1 after you entered the locate hostname command? /bin/hostname, /etc/hostname, /usr/share/perl5/hostname.pl 2. What command would you enter to find all the files in the /etc subdirectory that start with the string cron ? locate –i cron 3. You are currently in /etc directory. What command would you enter to find all the files in the X11 subdirectory that start with the letter x or X ? find /etc/X11 –name “xX” –ls 2>/dev/null 4. What command would you enter to find all the files in the /etc directory that were created/modified less than a day ago? find /etc -mtime -1 2>/dev/null 5. What command would you enter to list all the files in the /etc directory that were created/modified more than 10 days ago and are larger than 100 kilobytes? find /etc –size +100kb –mtime +10 NOTE: For the next two exercises, use the Linux virtual machine (VM) in Chapter 7, not the one in Lab 7. The VM in Lab 7 has a “stripped down”
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes