If you have any questions about BAE computing
not answered in this faq, contact bae-help.
1. How do I use the command-line ftp program?
FTP (File Transfer Program) has been implemented on both the UNIX and NT workstations as a command-line program. (There are also other 3rd party software implementations that use graphical interfaces and are much easier to use but are not supported by NCSU.) FTP is started at either the UNIX of NT command prompt. For most functions there is no difference between NT and UNIX implementationsAt the command prompt, type:Once you've told the FTP program where to connect you will be prompted for your user id and password. If you are connecting to ftp.eos.ncsu.edu then this is your UNITY password and id. If you are connecting to a foreign system DO NOT use your UNITY id and password as the other system may put that information in its system log, creating a record of that info accessible to others. If you do not have an account on a system you are connecting to, there is a default account you may be able to use named anonymous. Use anonymous as your username and your email address as your password. The anonymous account is not always set up so do not be surprised if you are denied login.unity% ftp myftphost.comorC:\>ftp whereever.im.ftping.to
If you are connecting to you UNITY account through ftp then you connect to your account by ftp'ing to the host ftp.eos.ncsu.edu. After entering your UNITY id and password you will be connected to your home directory.
Now that you've connected to your home directory you have to bear in mind that you have to keep track of 2 different directory structures:
The directory you are in on the remote host defaults to your home directory. You can change this directory using the cd command, just like at a regular command prompt. For instance, you've just logged in to ftp.eos and you want to get a file out a a subdirectory of your home directory named MyDirectory. You would
- The directory you are in on the remote host
- The directory you are in on your local computerto access the contents of MyDirectory..ftp> cd MyDirectory/
The directory you are in on the local host defaults to the directory you were in when you started the FTP program. You can change this directory using the lcd (as in local change directory) command. For NT/DOS users, if you want to change drive partitions, ( i.e. from C: to D:) simply typeand then change directory using the lcd command as you normally would.ftp> lcd d:\ (changes to the D: drive -- make sure that the backslash is facing the correct direction as shown)
Now that you've established that you are in the right directories on both the local and remote systems you are now ready to start transferring files. FTP has 2 different transfer modes for different file types. If you are transferring text files you will use ascii transfer mode. At the ftp command prompt type:If you are transferring executable program files you will need to be in binary mode. At the ftp command prompt type:ftp> asciiIf you transfer an executable file in ascii mode it will be unusable and you will need to re-transfer it in binary mode.ftp> binary
To move files from one computer to another you use 2 pairs of commands: get and mget, put and mput. The get commands move files from the remote computer and download them to the local computer. The put commands upload files from the local computer to the remote computer.
1st File in use and 2nd Invalid printer port.
There is no clear answere to this problem. The best course of action is to save your work and exit and restart WP. Try printing and it should come back on line.
bae% quota .
bae% quota /afs/eos/services/bae/research/dir/example/5. When I try to launch WP51, I get the message "Can't connect to license daemon; check daemon on host--eos15a.eos.ncsu.edu."
Error: Spool command:lpr /tmp/_pp_0000004718a_1.
What do I do now?
NOTE: Both of the above resouces are targeted towards WP6.0, but may be helpful for general questions.
1. Is it possible to set up a "outbox" thats saves all my outgoing mail?
from Tim Snyder:
Set to the name of a file to record all outgoing mail. The pathname may begin
with `+' (indicating the user's ~/Mail directory or the value of the folder
variable) or with a `~' indicating the user's home directory (the value of the
Select this from
and enable The Set Button.
This will record all outgoing mail in the Folder out.
The advantage of this is that the message does not go
through the post office machines.
The easiest solution is to save all your open files, logout, and reboot the machine. This is the easiest way to clear out the /tmp dir. I repeat, save all your open files first.
Now when you reboot, if you still cant see any mail, you may have a corrupt index file in your inbox. The easiest way to get rid of this is to start elm(a text based mail reader):
bae% elmAnd look for any new messages. One of these messages will be the corrupt index file. It can be difficult to tell which file this is. If you read the messages and one looks like some sort of cryptic summary of you old mail, then that is probably the one you need to delete. If you arent sure, feel free to check with bae-help. To delete the message in elm, highlight it ad press "d". Then press "q" to exit and answer yes to "Delte Messages?".
You should then be able to start Zmail up and read your mail. Misc
1. How do I creat an access list for my lockerspace?
bae% pts creategroup loginID:lockername
There are several operations that can be used with your PTS group
adduser add a user to a group
apropos search by help text
chown change ownership of a group
creategroup create a new group
createuser create a new user
delete delete a user or group from database
examine examine an entry
help get help on commands
listmax list max id
listowned list groups owned by an entry or zero id gets orph aned groups
membership list membership of a user or group
removeuser remove a user from a group
rename rename user or group
setfields set fields for an entry
setmax set max idTo get the correct syntax Soft PC
1. How do I get Soft PC to print?
Select the "Flush ports" option. A dialog box will appear asking if you want to flush the lpt ports. Click ok and the file should be sent to the printer.
bae% ps -aux | grep softpcThis should show any copies of Soft PC running( it will also show a grep softpc, the command you just issued, this can be ignored). The output should look something like this:
userid 9642 6.7 28.5 7888 5336 p3 S 0:11 /afs/eos.ncsu.edu/dist/softpc
userid 9633 0.0 1.0 368 168 p3 I 0:00 csh -f -e /ncsu/softpc/bin/so
uerid 9668 0.0 0.3 56 48 p3 S 0:00 grep softpcIn this example you need to kill the process in the first line. To do this, issue this command:
bae% kill 9642
bae% kill proccessnumber
1. How do I restart zepyhrs if I accidently kill them?
Last Update: February 10, 2004