Premium Only Content

Linux Terminal Kurs Teil 6 - cat
#MiBaTech #MiBaHealthAndNutrition #MiBaFunAndGames
Willkommen zum sechsten Teil meines Terminal-Kurses.
Erstellen einer neuen Datei und Inhalt einfügen.
cat > test1.txt
Text in test1.
Strg + D / Eingabe beenden
Sich den Inhalt der Datei anzeigen lassen.
cat test1.txt
Inhalt einer einzelnen Datei exportieren
cat test1.txt > test3.txt
Wenn eine Datei exportiert wird, die bereits existiert, wird der Inhalt der Datei überschrieben
cat test2.txt > test3.txt
Inhalt mehrerer Dateien exportieren
cat test1.txt test2.txt > test3.txt
Inhalt in umgekehrter Reihenfolge anzeigen. Der Inhalt der Datei wird nicht verändert.
tac test3.txt
Dateiinhalte an eine andere Datei anhängen
cat test1.txt >> test3.txt
Zeilen der Datei nummerieren mit der -n Option. Der Inhalt der Datei wird nicht verändert.
cat -n test3.txt
Man kann auch mehrere Dateien an das Ende einer vorhandenen Datei anhängen:
cat test2.txt test1.txt >> test4.txt
Zeilenende anzeigen mit der -e Option, am Ende der Zeile wird ein Dollarzeichen eingefügt.
cat -e test4.txt
Durch Tabulatoren getrennte Zeilen anzeigen mit der -t Option
cat -t test4.txt
Leerzeichen entfernen mit der -s Option
cat -s test4.txt
In Dateien suchen
cat Dateiname | grep --color Suchbegriff
PlayList
https://www.youtube.com/watch?v=uarQolcS5d8&list=PLq7y778vthUDlQdlLmzJPOJyLYXxBObzC&index=1
Time Codes
00:00 - Pre-intro
00:39 - Intro
01:51 - Get your very own Linux server from Linode (sponsor)
03:22 - Basic usage of the cat command
04:09 - Concatenating files with the cat command
05:30 - Viewing line numbers with the cat command
05:55 - Chaining the cat command with other commands
07:03 - A more practical example of the cat command in action
chapter
what is an endcard
-
DVR
RiftTV/Slightly Offensive
5 hours agoSHOCKING: Pro-Israel Extremist CRUCIFIES Christian Pastor | The Rift
11.8K2 -
LIVE
The Breanna Morello Show
7 hours ago $0.77 earnedAutopen Scandal Gets Worse, Commie Take Over in NYC?, FBI Whistleblowers Need Help, Dividing MAGA- The Breanna Morello Show
294 watching -
38:23
ZeeeMedia
5 hours agoBanks Make Shock Move, Signals of Looming Economic Storm | Daily Pulse Ep 55
10.7K11 -
LIVE
Josh Pate's College Football Show
3 hours ago $0.12 earnedCFB Chaos Scenarios | Better OR Worse In 2025 | Toughest Places To Play | Truth About Josh Heupel
69 watching -
8:42
WhaddoYouMeme
4 hours agoIran's God: The Reason The Ceasefire Won’t Last
3.62K11 -
12:09
The Shannon Joy Show
2 hours agoMAHA: Betrayal, Bureaucracy & Vaccine Silence
2.39K4 -
1:04:38
BonginoReport
4 hours agoWho’s Your Daddy?! Internet Erupts After Viral Trump Moment (Ep.78)
169K44 -
1:01:38
The Nick DiPaolo Show Channel
5 hours agoHegseth Drops Bunker Bomb On Fake News | The Nick Di Paolo Show #1757
33.5K23 -
LIVE
SpartakusLIVE
4 hours ago#1 Verdansk HERO || Live EARLY off EARLY
104 watching -
58:25
Donald Trump Jr.
5 hours agoHard Left Turn: Dems vs Reality, Plus Interview with Nate Morris | TRIGGERED Ep.253
47K42