Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:commands

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:commands [2015-06-26 06:17]
becki [nmap]
becki:linux:commands [2024-09-09 09:23] (aktuell)
becki [VFAT Renaming]
Zeile 159: Zeile 159:
  
 ==== Concat pdf files == ==== Concat pdf files ==
 +
 +''​pdfunite''​ from the poppler lib
 +
 +Alternatives: ​ ''​pdfconcat''​ and ''​gs'':​
  
   gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=GoCourse.pdf GoCourseDay1.pdf GoCourseDay2.pdf GoCourseDay3.pdf   gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=GoCourse.pdf GoCourseDay1.pdf GoCourseDay2.pdf GoCourseDay3.pdf
   ​   ​
-[[http://​www.linux.com/​news/​software/​applications/​8229-putting-together-pdf-files|Source]]+[[http://​www.linux.com/​news/​software/​applications/​8229-putting-together-pdf-files|gs Source]]
  
 ==== Other == ==== Other ==
Zeile 317: Zeile 321:
 ==== VFAT Renaming == ==== VFAT Renaming ==
  
-Use [[man>dosfslabel]] (only uppercase possible)+Use [[man>fatlabel]]
  
-You can rename e.g. a label in lowercase with mtools:+Old: You can rename e.g. a label in lowercase with mtools:
  
   - Plug USB stick into computer and mount it if necessary   - Plug USB stick into computer and mount it if necessary
Zeile 332: Zeile 336:
 Linux file systems like ext3, ext4 and reiserfs are aware of the Linux protections modes (owner, group, etc.). Use it if you want exchange files between two Linus systems. Linux file systems like ext3, ext4 and reiserfs are aware of the Linux protections modes (owner, group, etc.). Use it if you want exchange files between two Linus systems.
  
-Example formatting for ''/​dev/​sdb'':​ +Example formatting for ''/​dev/​sdb1'':​ 
-  - Set the file system typ to 83 (= Linux) with ''​cfdisk /dev/sdb''​.\\ (It may as well work without this step, but setting the right FS ID cannot harm.) +  - Set the file system typ to 83 (= Linux) with ''​cfdisk /dev/sdb1''​.\\ (It may as well work without this step, but setting the right FS ID cannot harm.) 
-  - Format the stick with: ''​mkfs.ext3 -L BeckisStick''​ /dev/sdb+  - Format the stick with: ''​mkfs.ext3 -L BeckisStick''​ /dev/sdb1
  
 +Sole renaming the disk label is possible with: ''​e2label device new-label''​. Source: https://​linuxconfig.org/​how-to-name-label-a-partition-or-volume-on-linux
 ==== Floppies == ==== Floppies ==
  
Zeile 461: Zeile 466:
 ===== Rip DVDs == ===== Rip DVDs ==
  
-Get Info about DVD: +See [[multimedia]]
-  HandBrakeCLI -i /dev/dvd -t 0 2>​err.txt +
-and look for the longest title. +
- +
-Rip Example: +
-  HandBrakeCLI -i /dev/dvd -o movie.mp4 --preset=Normal --loose-anamorphic -L [-a 1[,2]] [-A Deutsch[,​English]] [-s 1] [-c 3] +
- +
-Possibly helpful scripts for: +
-  * Getting info about a dvd, save it into dvdinfo.txt and display it in your pager +
-  * Ripping a DVD wit reasonable default settings +
-are [[http://​188.40.201.137/​becki/​sources/​pack.php?​n=sbhandbrake|here]] +
- +
-[[http://​trac.handbrake.fr/​wiki/​CLIGuide|CLIGuide]],​ [[http://​www.linux.com/​feature/​114130|Intro]] on Linux.com, [[http://​www.linux-user.de/​ausgabe/​2006/​07/​074-handbrake/​|Intro]] on Linux-User (german)+
  
 ===== OpenPGP == ===== OpenPGP ==
Zeile 495: Zeile 488:
 [[man>​netstat]] displays a list of open sockets (and more) [[man>​netstat]] displays a list of open sockets (and more)
  
 +''​ss''​ seems to be a newer alternative to nestat. See 
 +https://​unix.stackexchange.com/​questions/​106561/​finding-the-pid-of-the-process-using-a-specific-port#​106562
 ==== nc (netcat) == ==== nc (netcat) ==
  
Zeile 597: Zeile 592:
 === Usage == === Usage ==
  
-Download a file: +Download a single ​file:
- +
-  curl http://​www.gnu.org/​favicon.ico > favicon.ico+
  
 +<code bash>
 +curl -O http://​www.gnu.org/​favicon.ico
 +# or:
 +curl http://​www.gnu.org/​favicon.ico > favicon.ico
 +</​code>​
  
 ==== wget == ==== wget ==
Zeile 793: Zeile 791:
  
 ===== unsorted == ===== unsorted ==
 +
 +xclip: read  text  into  X  selection (clipboard) ​ from  standard ​ input
  
   gnome-session - Start the window manager   gnome-session - Start the window manager
becki/linux/commands.1435299438.txt.gz · Zuletzt geändert: 2015-06-26 06:17 von becki

Impressum - Datenschutzerklärung