====== Forskellige kommandoer i Linux ======
Her er et udpluk af forskellige nyttige kommandoer til Linux som er værd at huske på
===== Underholdning =====
Gem streamet video til fil:
$ mplayer -dumpstream -dumpfile
Eksempelvis TV2 NEWS som er gratis på Sputnik i december 2006
$ mplayer -dumpstream -dumpfile news.wmv http://mms-live.media.tele.dk/tv2live7
Mere streaming (DR 1):
mms://drcluster.jay.net/dr1
Mounte ISO-fil.
Drop ,user if you don't want users to access the iso files
# mount -t iso9660 -o loop,user
===== KDE =====
KDE Run Command history
~/.kde/share/config/kdesktoprc
===== Misc =====
Enable Java plugin for Firefox
# cd /usr/lib/mozilla-firefox/plugins/
# ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so
Split file into rar parts. E.g.
rar a -m5 -v5M -R myarchive file_to_split
a – add files to the archive\\
-m5 – compression level (0-store (fast)…3-default…5-maximum(slow))\\
-v5M – size of each file in split archive, here the size is 5MB\\
myarchive – name of the archive\\
file_to_split – file or folder you wish to add to the archive\\