talk kellyk - talk to a local user talk dale@wave.com - talk to a remote user
finger - show all local logins finger @wave.com - show remote system's logins Login Name TTY Idle When Site Info rjw Robert J West p0 7:11 Sat 10:32 mdine Marc Dine p1 7:11 Wed 09:46 zepht James S. Tallis p2 7:11 Wed 09:46 bqs5 Barbara Baker p3 8:42 Sat 10:33 davek Dave Kiley p4 8:42 Sat 10:33
finger ksmith - look for a local user finger dale@wave.com - look for a remote user Login name: dale In real life: Dale Smith Directory: /u/ibm/dale Shell: /bin/csh Project: Parallel Programming for the masses. (Masses of what!) Plan: Think globally, act locally: install solar panels !
% ping kanaha PING kanaha.mhpcc.edu: (164.122.27.33): 56 data bytes 64 bytes from 164.122.27.33: icmp_seq=0 ttl=254 time=3 ms 64 bytes from 164.122.27.33: icmp_seq=1 ttl=254 time=2 ms 64 bytes from 164.122.27.33: icmp_seq=2 ttl=254 time=2 ms 64 bytes from 164.122.27.33: icmp_seq=3 ttl=254 time=2 ms 64 bytes from 164.122.27.33: icmp_seq=4 ttl=254 time=2 ms 64 bytes from 164.122.27.33: icmp_seq=5 ttl=254 time=2 ms ^C ----kanaha.mhpcc.edu PING Statistics---- 6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max = 2/2/3 ms
% traceroute archie.rutgers.edu traceroute to dorm.Rutgers.EDU (128.6.18.15), 30 hops max, 40 byte packets 1 B2_IGSL_01 (129.24.96.1) 2 ms 2 ms 2 ms 2 FZ00_rtr_01 (129.24.56.1) 3 ms 2 ms 7 ms 3 msh (129.24.8.193) 5 ms 7 ms 4 ms 4 198.83.5.5 (198.83.5.5) 7 ms 4 ms 7 ms 5 hssi3-0.cnss116.Albuquerque.t3.ans.net (192.103.74.41) 5 ms 4 ms 6 ms 6 mf-0.cnss112.Albuquerque.t3.ans.net (140.222.112.222) 4 ms 4 ms 4 ms 7 t3-0.cnss64.Houston.t3.ans.net (140.222.64.1) 30 ms 30 ms 30 ms 8 t3-0.cnss80.St-Louis.t3.ans.net (140.222.80.1) 47 ms 47 ms 46 ms 9 t3-1.cnss25.Chicago.t3.ans.net (140.222.25.2) 54 ms 52 ms 53 ms 10 t3-0.cnss40.Cleveland.t3.ans.net (140.222.40.1) 60 ms 59 ms 59 ms 11 t3-1.cnss48.Hartford.t3.ans.net (140.222.48.2) 73 ms 78 ms 74 ms 12 t3-2.cnss32.New-York.t3.ans.net (140.222.32.3) 78 ms 76 ms 76 ms 13 t3-0.enss137.t3.ans.net (140.222.137.1) 79 ms 80 ms 86 ms 14 fenchurch-gateway.jvnc.net (192.12.211.65) 83 ms 80 ms 84 ms 15 airport2-gateway.jvnc.net (130.94.9.250) 84 ms 86 ms 88 ms 16 airport1-gateway.jvnc.net (130.94.7.1) 85 ms 92 ms 84 ms 17 rutgers-gateway.jvnc.net (130.94.7.10) 89 ms 86 ms 90 ms 18 rucs-gw.rutgers.edu (128.6.21.7) 94 ms 104 ms 95 ms 19 dorm.rutgers.edu (128.6.18.15) 92 ms 93 ms 91 ms
kanaha% ftp makena.mhpcc.edu Connected to makena.mhpcc.edu. 220 makena.mhpcc.edu FTP server (Version 4.9 Thu Sep 2 20:35:07 CDT 1993) Name (makena.mhpcc.edu:jsmith): jsmith 331 Password required for jsmith. Password: 230 User jsmith logged in. ftp> dir 200 PORT command successful. 150 Opening data connection for /bin/ls. total 1464 drwxr-sr-x 3 jsmith staff 1024 Mar 11 20:04 Mail drwxr-sr-x 2 jsmith staff 1536 Mar 3 18:07 Misc drwxr-sr-x 5 jsmith staff 512 Dec 7 10:59 OldStuff drwxr-sr-x 2 jsmith staff 1024 Mar 11 15:24 bin drwxr-sr-x 5 jsmith staff 3072 Mar 13 16:10 mpl -rw-r--r-- 1 jsmith staff 209671 Mar 15 10:57 myfile.out drwxr-sr-x 3 jsmith staff 512 Jan 5 13:32 public drwxr-sr-x 3 jsmith staff 512 Feb 10 10:17 pvm3 226 Transfer complete. ftp> cd mpl 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening data connection for /bin/ls. total 7320 -rw-r--r-- 1 jsmith staff 1630 Aug 8 1994 dboard.f -rw-r----- 1 jsmith staff 4340 Jul 17 1994 vttest.c -rwxr-xr-x 1 jsmith staff 525574 Feb 15 11:52 wave_shift -rw-r--r-- 1 jsmith staff 1648 Aug 5 1994 wide.list -rwxr-xr-x 1 jsmith staff 4019 Feb 14 16:26 fix.c 226 Transfer complete. ftp> get wave_shift 200 PORT command successful. 150 Opening data connection for wave_shift (525574 bytes). 226 Transfer complete. 528454 bytes received in 1.296 seconds (398.1 Kbytes/s) ftp> quit 221 Goodbye.
% telnet makena Trying... Connected to makena.mhpcc.edu. Escape character is '^]'. AIX Version 3 (C) Copyrights by IBM and by others 1982, 1993. login: jsmith jsmith's Password: ********************************************************************* * * * * * WELCOME TO THE MAUI HIGH PERFORMANCE COMPUTING CENTER * * * * * ********************************************************************* Last unsuccessful login: Fri Mar 3 12:01:09 HST 1995 on pts/0 from kanaha.mhpcc.edu Last login: Wed Mar 8 18:33:27 HST 1995 on pts/10 { do some work } makena% logout Connection closed.
apache.unm.edu jsmith zeus.mit.edu jsmith athena.com smith fox.eeco.org smithj
rsh host2 - will connect to host2 for login rsh host2 df - check the amount of free disk space on remote host2 rsh host2 ps aux |grep jsmith - check for processes owned by jsmith on host2 rsh host2 rm /tmp/myfile.old - remove a file in host2 rsh host2 cat test1 ">>" test2 - append test1 file on remote host to test2 file on remote host rsh host2 cat test1 >> test2 - append test1 file on remote host to test2 file on local host
rcp localfile host2:/home/eng/journal
This concludes the tutorial. Return to the Table of Contents