NETCOMMANDS FOR UNIX SHELL ~~~~~~~~~~~~~~~~~~~~~~~~~~ This file is written by: John Svendsen P.O.Box 6765 Rodelokka 0503 OSLO NORWAY email:johnsv@powertech.no \ Your choice :) john@norconnect.no / First I would like to thank PowerTech Information Systems AS, for their nice manual received with the account. This is also where I found the commands, and, most of them are usable on other systems too. But as I felt that there is a demand for a quick doc on these commands, I have taken the liberty of typing them in from the manual. Okay, here we go... First some UNIX commands for you to play with: The prompt in UNIX looks like this, or something similar: lightning:~$ And it is after the $ you are typing your commands. And: UNIX is case-sensitive, so LS and ls does not mean the same thing. In most cases you can also break any program that you are running on the server, with ctrl-c. For listing files: 'ls' - gives just a short listing like dir on AMiga. 'ls -l' - same as 'dir' 'dir'- gives long listing like list on Amiga. Change directory: 'cd dirname' takes you to that directory. 'cd ..' takes you to previous directory. 'cd / ' takes you to the root directory. Show directoryname: 'pwd' - shows the directory you are in now. Delete Files: 'rm filename' - Deletes the file. 'rm * ' - Deletes ALL files in that directory. (Careful!) 'rm -Rf dirname' Deletes the directory and subdirs. 'rd dirname' - Deletes only emty dirs. Make a new directory: 'md dirname' - Makes a new directory. Show a file: 'more test.txt' - Shows the selected textfile, and prompts you for next screen. 'cat test.txt' - Shows the file, but scrolls away like hell :) When you are using more: 'Enter' - NExt line 'Space' - Next screen 'q' - Quits more Online Help - Just type 'man ls' and you will get all info about the command. Change Password: 'passwd' - Then you type your old password, and the new one twice. Change Filename/Move Files: 'mv dill.txt dall.txt' - In this case you just changed the filename. Copy a file: 'cp dall.txt dill.txt' - Nearly the same as over, but you keep both files intact. Okay, that's was the UNIX commands for shell, now we go off to the INTERNET COMMANDS For all of these commands, all you need is Ncomm or any similar program. For World Wide Web Use: Here you can use a program called lynx, which is a text-based WWW browser on UNIX machines. The only thing missing out from here is the graphics/sound, but for a quick look, this program is just fine to use. Internet Relay Chat: Here you can use a program called irc, but you need to have a terminal program supporting VT100 (i.e.NComm). Screen Based Editor: Here you can use a program called joe. This is nearly the same as FSE in ABBS, and supports most of the same commands. You can also use pico or jed. E-Mail: Here you have several to choose from: elm, pine or mail. The one I use myself is pine. Just type pine on the command line, and off you go. Very easy to use. NewsGroups: Here you can use a program named tin. Also very easy to use, with it's VT100 support, just use arrowkeys etc. Filetransfer: Here I will suggest that you use the following commands: ncftp ftp.sunet.se, as this is very easy to use. Up/Downloads: to download files from your homedir: sz filename. to upload files to your homedir: rz filename. And for all of this commands, you can also use 'man command' to get online help. Hope this is some help for you to get you started. If you encounter any problems, contact your account provider, ususally at adress like this: post@powertech.no, or you can contact me by e-mail, or in post on the BBS you downloaded this file from. John Svendsen