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
-
LIVE
The Pascal Show
1 hour agoDIDDY TRIAL LIVE! Former Personal Assistant Capricorn Clark Takes The Stand & More! Day 10
46 watching -
LIVE
sophiesnazz
28 minutes agoSEASON 4 UPDATE l !socials
47 watching -
Sean Unpaved
3 hours agoFinals Fever, Softball Rules, Giannis's Next Move, & Digg's Boat Buzz
29.4K -
LIVE
StoneMountain64
1 hour agoWarzone's Downtown Tower Poolball Easter Egg is TOO Powerful
125 watching -
LIVE
FusedAegisTV
2 hours agoRemoving Sand In Places Where It Doesn't Belong | Persona 5 Royal PART 9
80 watching -
10:00
Congressman Eli Crane
3 hours agoWho Was Behind the Trump Assassination Attempt? | Rep. Eli Crane on "The Resilient Show"
978 -
Simply Bitcoin
4 hours ago $1.86 earned$2.3T Bank Sends HUGE Bitcoin Warning To This $300T Market | EP 1257
21.4K2 -
1:03:38
BitLab Academy
5 hours ago $0.99 earnedPowell speaks! Crypto Trap Alert! Bitcoin & Altcoin Mega Bull Loading!
13.1K1 -
1:03:51
Timcast
3 hours agoFEDS RAID Democrat Office For AIDING Rioters Staff DETAINED By ICE
117K85 -
1:07:47
Rebel News
2 hours agoNearly 1M newcomers so far in 2025, Terror in the US, Carney meeting premiers | Rebel Roundup
22.8K17