Here's this month's account of the triumphs, trials and tribulations that I caused myself or encountered since the last time, and a couple tips that may come in handy and increase your understanding of Linux.
Like I said, I'm not familiar with all of screen's features, but to use it, basically you type:
screen progname
and your screen session is started in VT0. To add more VTs you can use:
Ctrl-a c
and to change from one screen to another:
Ctrl-a 0-9
and you can change from screen to screen, depending on how many you have opened. Note that the screens are numbered 0-9 rather than 1-10, the only clumsy feature of this program, IMHO.
taband it will complete the filename so you can get on with your life and file manipulation. Play with this feature, if you haven't typed enough of the name to be unique, it will sit and stare at you, try another character or two. Likewise, if you specified the wrong directory, you'll get nada.
..and its close relative
.The details for a quick cd areas follows: as you may be already aware, the dots represent your current directory(single dot) and parent directory (double dot).By CDing to
..you will be magically transported to the parent directory, ie from /usr/bin to /usr.You can use:
cd -to return to the previous directory, and to go up two or more levels:
../../and so onwill work. The single dot is not as useful in terms of cd, but it does have its use. If you are in a directory that's not in your path, or dont have
.in your path statement, you must give a path to run an executable file. This is easily accomplished by typing:
./execunamewhich will give the relative pathname, allowing it to be found and run. There are a few good reasons why using the single dot in your path statement isn't a good idea, suffice to say, if you'd like more info on that subject, you should read up on system security.
ls -aFwhen you actually meant to type
diror
cpwhen what you wanted was
copyyou can create batch files(like shell scripts) named for your favorite unix commands, using your favorite switches. Not as cool as dosemu or just plain staying in Linux, but ya gotta do what ya gotta do.
If you have a subject that you would like to see covered or have any corrections, comments or flames let me know, and I'll look into the matter.
See you next month!
Clueless at the Prompt #1 - Feburary 1997
Clueless at the Prompt #2 - March 1997
Clueless at the Prompt #3 - April 1997
Clueless at the Prompt #4 - May 1997
Clueless at the Prompt #5 - June 1997
Clueless at the Prompt #6 - July 1997
Clueless at the Prompt #7 - September 1997
Clueless at the Prompt #8 - December 1997
Clueless at the Prompt #9 - February 1998