Create a directory called memos in your home directory. Go into this directory and create a file memo.james by using one of the editors we discussed in Appendix A. Give three pathnames for this file.
What will be an ideal response?
The command for creating the memos directory is mkdir ~/memos. If your system is not BSD compliant, use the mkdir $HOME/memos command. Then use the cd ~/memos command to make memos your current directory. Use the editor of your choice to create the memo.james file in this directory.
The three pathnames for this file are given below. The first is the absolute pathname for the file and remaining are its relative pathnames.
/home/faculty/sarwar/memos/memo.james
~/memos/memo.james
$HOME/memos/memo.james (or $home/memos/memo.james)
memo.james or ./memo.james (if memos is your current directory)
You might also like to view...
Which term is a file folder on a disk in which you store your files?
A) location B) directory C) path D) sequence
You are having trouble remembering part of the correct format of a command. Which of the commands would give you help on the correct format of the parameters?
A) command * B) command ? C) command? D) help