Spring 2015

Lab01
Basic Commands

Due: Thursday January 29, 2015 11:59 PM

Lab01 - Basic Commands

Requirements

Record the correct command to satisfy each item (2 pts each)20 pts
Total20 pts

Resources

Objective

To work with basic commands, switches, and paths

Instructions

Perform each of the tasks described below from your home directory and record the command(s) used to complete each task in a text file, submit that text file for a grade.

  1. Determine the path to your current working directory.
  2. Display a list of all the files in your current directory, listing only their names.
  3. Change your password, log off the system, and log back on with your new password. (You don't have to actually change your password, I just want to know the command you would use to do it)
  4. Display a list of all the users currently logged on to the system.
  5. Display a list, including inodes, of the files in your home directory.
  6. Display a list of all the files in in the /etc directory in a single column.
  7. Display only the hours, minutes, and seconds of the current system time.
  8. Display the man page for the ls command
  9. Display a list of the files and directories in your instructors home directory (/home/singer) using a relative path.
  10. Display the system date and time in UTC format.