Name: Francis Hernandez
Unity ID: 200222794
Practice with Basic UNIX Commands in Terminal
For this section, you will need to log into your terminal and execute the correct answers AND write what you
wrote in the terminal window in the space provided below each question1. Unless otherwise specifically
stated, you are allowed to use relative pathnames. Your answers should be highlighted in yellow.
1. Log into your terminal window. Begin a log file named basicunixia.txt. You should use one of the
options associated with this command that will log your actions in real time. You should NOT exit until
prompted to do so later in this document.
Command Line: script -f basicunixia.txt
2. To remember where your log file was created, which command would display the absolute pathname
to your current directory? You should execute that command now and note where you are located.
Command: pwd
Output (Location): /afs/unity.ncsu.edu/users/f/fhernan2
3. Create a directory named BasicUNIXIA and make sure that it is in your MyE115 directory. Execute this
command without changing directories.
Command Line: mkdir ~/MyE115/BasicUNIXIA
1 eos% is the prompt and is never part of the command line as it is not actually something you have written
E 115 Fall 2017 Page 1
This study source was downloaded by 100000857952895 from CourseHero.com on 01-27-2023 03:01:27 GMT -06:00
https://www.coursehero.com/file/32980015/basicunixia-completeddocx/