cd
cd it244
cd ex
mkdir ex3
cd ex3
nanonano creating a text file named today.txt
nano today.txt
nanonano commands, which you see at the bottom of the page, as you can.
Control OAfter typing this command, the file name will appear at the bottom of the screen.
nanoControl X
cat today.txt
scriptscript
script
cdIf you run
cd without any arguments, it will take you to your home directory.
pwdYou should be in /home/YOUR_UNIX_USERNAME.
ls
echo $SHELLPay attention to capitalization. Unix is case sensitive.
script
exit
pwdYou should be in /home/YOUR_UNIX_ID/it244/ex/ex3.
script, a sub-process is generated which contains a new instance of the Bash shell.
script.
script will remain
as you left them in your script session
since they are part of the file system, not your environment.
cat typescript
cd /home/ghoffman/course_files/it244_files
./forever.sh
program
Control CThis is the only way you can get out.
foo bar bletch
Control A
Control E
Control U
⇑
cat typescriptIf you go too far use ↓ until you get to the right command.
cat commandEnter
man Pageman on ls
man ls
Space
Enter
⇑
⇓
man
q
aproposapropos on the word "who"
apropos who
infoinfo command on the word "who"
info who
h
who page
l
info
q
info without an argument
infoYou should see the first page of the info system.
Enter
Enter
lYou should be back on the "File permissions" page
l
info
q
~ghoffman/it244_test/ex03.shThe script will prompt you for your Unix username.