Useful commands
Command | Short explanation |
---|---|
pdfjam | A collection of shell scripts to edit pdf files. It is based on (pdf)LaTeX. To find out more, call pdfjam --help. |
psnup, pdfnup | A command to bring multiple pages of PostScript and pdf onto a single page. man psnup and pdfnup --help provide more details (more under PostScript Tools). |
ps2eps | A command to convert a PostScript (.ps) file into an encapsulated PostScript (.eps) file. |
pdf2ps | A command to convert a pdf to a postscript file. |
latex2html | Allows for conversion of latex to html files. The command is rather deprecated and will probably not fulfill all your needs. |
eog | Allows for simple image processing tasks. |
ssh | Allows one to login (securely) on another machine. To see if the machine you want to login to is busy with computing tasks, type (for machine ada-1) the command ssh ada-1 uptime in your terminal. The load average will let you know how many processes are running at the moment. |
killl | Allows you to end a process by specifying the name of the process you want to be killed. e.g. killl kate |
sfstel | analog zu ethtel für unsere Adress-Datenbank, mit "\\" damit sie direkt in LaTeX Briefe hineinkopiert werden können. MS-DOS Umlaute und Akzente werden automatisch richtig gemacht, da recode ibmpc..latin1 verwendet wird (siehe auch Zeichensatzkodierung). sfstel (ohne Argumente) zeigt die Gebrauchsanweisung. |
Automatically starts emacs with mail [email := emacs + mail], 'vm' (Default) or 'rmail', in case the Environment Variable 'USE_RMAIL' has been set. | |
ps2on1 | Befehl um bei PostScript Dateien zwei Seiten auf eine zu bringen. ps2on1 in der shell eintippen gibt weitere Hilfe zum Gebrauch (mehr unter PostScript Tools). Bemerkung: bei dvi Dateien nach wie vor 2on1 benützen (mehr unter Dvi Dateien). |
xv | Bilder ("images") in verschiedensten Formaten kann man mit xv anschauen, "editieren" (besonders faszinierend ist das "Color Edit"ing!) und konvertieren (z.B. von 'rasterfile' nach 'postscript'). Das Programm ist Maus-/Menu- gesteuert (rechte Maus-Taste für Menu!) und gut so bedienbar; es gibt eine kurze Manual page (man xv). Die dort erwähnte, lange, aber nützliche Anleitung findet man auf dem Internet. xv ist nur Shareware (nicht "free") und wird nicht mehr weiterentwickelt, daher wird auch empfohlen mit eog oder gimp zu arbeiten. |
gedit, kate | Both are text editors ("Replacements for Emacs") for the graphical interface X11. They are ideal for people that prefer working with the mouse and option menus instead of keyboard shortcuts. |
epstopdf, eps2pdf | Commands to convert .eps files into .pdf files. With epstopdf only a single file at a time can be converted. With eps2pdf one can convert multiple files at the same time (e.g. eps2pdf * .eps). |
prtman <filename> | Druckt die "manual pages" eines Befehls aus (mehr unter Allgemeine Druckbefehle). |
spiff | ein "Smart diff": Zeigt Unterschiede von zwei Dateien, abgesehen von "kleinen numerischen Rundungsdifferenzen". Sehr nützlich, um Output von zwei verschiedenen Versionen eines Programms zu vergleichen (z.B. Pascal vs. C, oder Splus vs. Fortran,...) (siehe auch man spiff). |
ethtel <Name> | ETH internal telephone book. Usually this is more up to date than the printed version. To quickly look up all SfS ETH-internal addresses (+ tel) , you can write: ethtel '.*stat.math'. |
gimp | Gimp stands for GNU Image Manipulation Program. A free and open source photoshop alternative. |
help | Gives some tipps for people that are new to the command line interface. |
from | If is there is any unread email left, this command will show the senders of that mail. For those that presort the Post and there fore have multiple inboxes, it is necessary and useful to use the command from-all . |
lower | If you have a datafile that has capital letters that are a nuisance to you, you can easily use the command lower to correct lower FILENAME to filename. |
Decode | is a csh script that executes the command munpack in a subdirectory as well as some other useful stuff. |
recode, etc | Konvertiert Dateien von einem Zeichensatz in einen anderen. recode --help gibt schon eine gute Uebersicht und Hilfe. Etwas mehr Information findet man unter Zeichensatzkodierung. Weitere Befehle um Dateien zu konvertieren: tr.CR [-d] (transform "<CR>") ersetzt "^M" durch echte newlines. trIBM2tex [-d] übersetzt +/- IBM-PC nach (LA)TeX (german). trIBM2tex -d files ... Löscht "^M" statt eine newline daraus zu machen. IBM2ascii ist "IBM-PC to ASCII (german)" ("^M" to newline). Die folgenden beiden Befehle lösen das Problem, dass im DOS (und Windows) Zeilen mit CR LF abgeschlossen werden, im unix nur mit LF: dos2unix Wie der Name sagt, Konvertierung von dos ins unix unix2dos wandelt unix-Files in DOS-Files um. |
quota -v | Liefert Information über den Verbrauch von Diskplatz. gerster@di:~$ quota -v Disk quotas for user gerster (uid 2507): Filesystem blocks quota blocks quota limit grace files quota limit grace nas-math:/MATH/sfs/fs01/quota/u 2881548 3000000 3200000 14936 0 0 blocks: Momentan belegter Diskplatz auf der /home Partition in K-Bytes. quota: Ihr solltet grundsätzlich unter dieser Grenze bleiben. 0 bedeutet, dass keine quota gesetzt ist. limit: Diese Grenze könnt ihr nicht überschreiten. Kommt ihr in die Nähe vom Limit bekommt Martin eine Mail. Entweder wird dann das Limit heraufgesetzt, oder ihr räumt auf... oder verschiebt einen Teil der Daten auf einen scratch. Alternative: im home directory df . aufrufen. Der Output ist etwas leichter zu lesen. |
log | log, which can be seen as a short version of login as, allows you to login under a different username log username. log is an alias to the more commonly used su. |
digikam | Mostly useful to watch Foto-Sammlungen . |
own | own file1 [ file2 ... ] Make files "your own" that belong to someone else, but are in a directory where you have write permission. This is much slower than 'chown' (but works for everyone, not only root). This command is especially useful in the case that files in the 'sfs' folders belong to someone else. |
pdftk | pdf toolkit: Tool to manipulate pdf documents like dismantle certain pages, remove certain pages from the document, etc. To figure out how it works, call man pdftk. |
top | Provides a dynamic real-time view of a running system. This allows you to see what processes are using the most computation time or are using the most memory. Warning: 'top' also takes some computing time, so don't keep it running if you have no more use for it. |
vulcanize | provides a relatively simple latex-to-HTML conversion. For a quick introduction to it, see file:/u/sfs/bin/perl/vulcanize.html (open in a browser). For more complex tasks, see latex2html. |
ada-show, deb-show | Provides information on the current load of the computing servers (ada-*) The final number on each ada- line provides an indication of the average load in the last 5 minutes. |
m (more) | Short for 'more'. This command does the right thing in emacs and outside of emacs (as in a regular shell. |
base64-decode, qp-decode | sowie die entsprechenden encode Befehle, sind free stand-alone Programme, zum Ein- und Aus-packen von Base64 und Quoted Printable Programm-Teilchen. |
e <file> | Starts the emacs editor (for more information see Emacs). |
esh | Starts the emacs editor with a (UNIX) Shell frame (for more information see UNIX innerhalb Emacs). |
Gnum | The command Gnum filename creates from an emacs backup-file name.~ the numbered backup version name.~1~ |
Gdiff | The unix-command Gdiff filename compares the contents of the file_filename_ with filename.~#~, where # is the latest backed up version. (In emacs, the same thing can be achieved in 'dir-mode' with the key combination M-~ when the cursor highlights the filename.) |
kill | This command allows one to stop a process easily. First call ps ux to identify the PID (process_id) of the process you want to kill, then do : kill -9 <PID> |
gthumb | To look at Fotos. |
munpack | Um MIME-kompatible ('base64' oder 'uuencoded') Mail-messages auszupacken, gibt es den Befehl munpack (mit Help-page man munpack). Empfohlen ist allerdings Decode. |
spell | Um Orthographie-Fehler zu entdecken. Aufruf: spell < ascii.file bzw. für (La)TeX-Texte: detex mystuff.tex | spell Als Output erhält man die Liste der Worte, die 'spell' nicht kennt. Für längere Dokumente lohnt es sich eine Liste richtiger Worte, die nicht im Englisch-Dix stehen, anzulegen und dem spell-Programm zu übergeben. Weitere Dokumentation liefern man spell und man detex |
prt <file> | Universeller Druckbefehl für ASCII, TeX-dvi, PostScript und komprimierte Dateien (mehr unter Allgemeine Druckbefehle). |