dat.r--; echo 
╭─    ~/Documents/htwbse ────────────────────────────────────────────────────────────────────── 1 ✘  11:50:39  ─╮
╰─ file *                                                                                                             ─╯
abc.txt:              empty
leerdatei:            ASCII text
leerdateri:           empty
mit zwei leerzeichen: empty
tableCSV.csv:         ASCII text
xx:                   ASCII text

Rechte von Dateien anzeigen lassen

ls -l * 

Wie kann ich Zugriffsrechte von Dateien ändern ?

rechte ändern mit

“chmod” → change modus

- - -  - - -  - - -  - - - - - -
 
	r w x  r w x  r w x  
 
	 |        |     |
	 v        v     v 
	user    Group   other 
 
 
- ->  l, d, c, b, 
 
-> chmod _ [u,g,o,a] [+, -, =, ] [r, w, x, ] Datei(en)
 
 
Beispiel : chomod _ a + rwx _ ~
										go -x
 
						chmod _ 740 _ * 
 
						r = 4
						w = 2 
						x = 1 
 
	
										

Wir können maximal von 0 bis 7 arbeiten

chmod o-rwx x-* 
 
chmod o+rx 
 
chmod a+rwx  x-* 
 
// alle rechte vergeben an alle Dateien die mit " x-...." anfangen 
╭─    ~/Documents/htwbse ──────────────────────────────────────────────────────────────────────── ✔  12:14:54  ─╮
╰─ ls -l n*D*                                                                                                         ─╯
-rw-r--r--  1 michalroziel  staff  0 Dec 15 12:14 neue-Datei

das Kommando “tr” kann Zeichen bei der Ausgabe ersetzen

╭─    ~/Documents/htwbse ──────────────────────────────────────────────────────────────────────── ✔  12:20:52  ─╮
╰─ cat x-od | tr "abc "xyz#"

Strings mit “sed” ersetzen → ganze Worte oder Strings ! → “ Sehr Mächtig “

wechseln von Zeichensätzen in Linux

iconv -f ISO-8859-15 -t UTF-8 < x-iso8859 > x-utf8 

das “ cut “ kommando

das “ csplit” kommando