Part 2

  1. Look at your command history for the last session, experiment using previous commands using ! operator.
  2. Create copies of all the verse files but give them an extension of .txt and place them in a new directory called verse_texts, use manipulation of command history to do this.
  3. Create an alias called dir which will list all the files in the given directory in long format.
  4. Write an alias called h which will display the history in reverse order (i.e. last command first using the -r flag for the command history) pausing after each full screen.
  5. How many processes have you got that are currently running? Use man tcsh for information about the tcsh, suspend the job and then bring it to the foreground again. Use
    >man -t tcsh> tcsh.ps &
    to create a postscript version of the tcsh manual pages in the background. How long did this job take? Run man tcsh again and this time suspend the job. Kill the job.
  6. Pipe the list of environment variables through more. What is the current default PRINTER? Reset the value of PRINTER to userarea. Send a copy of the file .cshrc to the default printer Don't forget to collect the copy later!!
  7. Read the file .cshrc and use the instructions in it to reset the shell variable prompt to display the current directory.
  8. Create an alias lo for the command logout and use it to logout!!