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

Info iconThis 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 * 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
Background image of page 1

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

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

This note was uploaded on 01/27/2012 for the course CIS 155 taught by Professor Hills during the Spring '10 term at DeVry Columbus North.

Page1 / 3

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online