Systemnahe Software 1 Shell-Session 2011-10-20 Als Prompt habe ich im ersten Teil ``theseus$'' verwendet. Im zweiten Teil sind es die Smilies. (``;-)'' lokal auf dream, und ``:-S'' auf theseus.) Mein Loginname ist ``meillo'' auf meinen eigenen Maschinen und ``ms120'' auf den Rechnern der Mathematik. Teil 1 (Einfache Befehle) ========================== theseus$ ls 01/ 02/ style theseus$ man ls theseus$ man cp theseus$ mkdir tmp theseus$ cd tmp theseus$ ls theseus$ touch a theseus$ ls a theseus$ cp a b theseus$ ls a b theseus$ mv b c theseus$ ls a c theseus$ mkdir dir theseus$ ls a c dir/ theseus$ ls -l total 4 -rw-r--r-- 1 ms120 student 0 Oct 20 16:49 a -rw-r--r-- 1 ms120 student 0 Oct 20 16:49 c drwxr-xr-x 2 ms120 student 4096 Oct 20 16:49 dir/ theseus$ cd dir theseus$ pwd /home/ms120/sysnahe1/tmp/dir theseus$ cd .. theseus$ pwd /home/ms120/sysnahe1/tmp theseus$ ls a c dir/ theseus$ rmdir dir theseus$ ls a c theseus$ mkdir dir theseus$ cd dir theseus$ touch z theseus$ ls z theseus$ cd .. theseus$ rmdir dir rmdir: failed to remove `dir': Directory not empty theseus$ cd dir theseus$ rm z theseus$ ls theseus$ cd .. theseus$ rmdir dir theseus$ vim theseus$ vi Teil 2 (ssh-Login auf theseus und Arbeit dort) =============================================== ;-) hostname dream ;-) ssh ms120@theseus.mathematik.uni-ulm.de Last login: Thu Oct 20 16:13:26 2011 from wlan233-191.wla Sun Microsystems Inc. SunOS 5.10 Generic January 2005 Warning: rxvt-unicode is not supported by terminfo. Erase is [delete]. >> In diesem WS ist der Pool-Raum E44 in der Helmholtzstr. 18 >> an allen Donnerstagen von 16 bis 18 Uhr reserviert. Type "news" for news (updated Oct 19 10:15). I'd advise ya to keep dialin', Oxmyx. :-S hostname theseus :-S cd sysnahe1 :-S ls blatt01.pdf test :-S mkdir blatt01 :-S cd blatt01 :-S ls :-S vi hello.c :-S gcc hello.c -o hello :-S ls hello hello.c :-S file hello hello: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped, no debugging information available :-S ls hello hello.c :-S gcc -o hello hello.c :-S gcc -std=gnu99 -o hello hello.c :-S gcc -std=gnu99 -Wall -o hello hello.c :-S vi hello.c :-S gcc -std=gnu99 -Wall -o hello hello.c hello.c:5: warning: return type of 'main' is not 'int' :-S gcc -std=gnu99 -o hello hello.c hello.c: In function 'main': hello.c:5: warning: return type of 'main' is not 'int' :-S gcc -o hello hello.c hello.c: In function 'main': hello.c:5: warning: return type of 'main' is not 'int' :-S gcc -o hello hello.c :-S gcc -std=gnu99 -Wall -o hello hello.c hello.c: In function 'main': hello.c:6: warning: unused variable 'i' :-S vi hello.c :-S vi team :-S vi notes :-S ls hello hello.c notes team :-S ./hello Hello, world! :-S exit Connection to theseus.mathematik.uni-ulm.de closed. ;-) hostname dream ;-) man scp ;-) man gcc