{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab5-1 - Lab 5.1 Part I Work with the Linux job control 1...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab 5.1 Part I Work with the Linux job control 1. Read pages 102 -104 of your book 2. Access a virtual terminal and login as yourself 3. Start the vim editor by typing the command vi * Notice how this takes over the terminal 4. Exit vim 5. Start the vim editor in the background by typing the command vi & * Notice how the terminal remains available 6. Type the command jobs 7. Type the command fg 8. Type <CTRL>+Z * This suspends a job and puts it into the background 9. Type the command fg 10. Exit vim 11. Type the command jobs Part II Work with files and environment variables 1. Read pages 102 -104 of your book 2. Access a virtual terminal and login as root 3. Type the command ls * The ls command lists files 4. Type the command whatis ls * This gives a brief description of the ls command 5. Type the command which ls * This searches through your PATH to locate the file * The PATH is an environmental variable that specifies which directories should be searched when the name of a command is entered 6. Type the command printenv PATH * This prints out the contents of the PATH variable * The directories searched for files are separated by colons (:) 7. Type the commandfind / -name ls * This command looks through the file system starting at the root (/) for anything named ls 8. Type the command mkdir bin * This makes a directory named bin in your present working directory 9. Type the command cp /bin/ls bin
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

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