Assignment 2

Due: Feb 14th
10 points

The purpose of this assignment is to review the commands from chapters 2 through 4.

Directions:

  1. give a detailed listing of all files including hidden files in /bin one page at a time
  2. display the value of the builtin variables for your username and userid
  3. show who is logged on
  4. give the command to show your current directory
  5. Using full path names, give the command to give to copy the file "tmp.dat" in YOUR home directory to the file called "assign1.dat" in YOUR home directory.
  6. Using relative path names, give the command to give to copy the file "junk.txt" in the directory above your current working directory (i.e, parent directory) to the file called "work.txt" in the parent directory
  7. give the command to show the count of characters in all of the files ending in "txt" in the current directory
  8. give the command to show the number of lines, words, and characters in the file named as2
  9. give the command to remove write permissions for the group and other from the file named as2
  10. Using octal numbers, reset the permissions of the file "assign3" so that only the user has read, write, and execute permissions

To "hand in" this assignment: