🪟 Windows TippsBitLocker stuck on Decrypting or Encrypting in Windows 11(17.09.2026 um 00:29 Uhr)
🕵️ SicherheitslückenCVE-2026-69110 | Microck opencode-studio up to 2.4.3 missing authentication(17.09.2026 um 03:21 Uhr)
🪟 Windows TippsBitLocker stuck on Decrypting or Encrypting in Windows 11(17.09.2026 um 00:29 Uhr)
🕵️ SicherheitslückenCVE-2026-69110 | Microck opencode-studio up to 2.4.3 missing authentication(17.09.2026 um 03:21 Uhr)
🔧 Programmierung 🕛 vor 11 Monaten 3 Min Lesezeit
0

Linux - File Commands

↗ Quelle (dev.to)
🗣️ Stimme:




Linux - File Commands



This is Part 2 of the Linux Basic Commands series.

We’ll look into basic file commands in Linux.

👉 Previous: Linux - System Commands

👉 Next: Linux - Process Commands






File Commands



search files only in current directory

find . -maxdepth 1 -type f

ensures it won’t go into subdirectories (-maxdepth 1)

current directory (.)

only files (-type f)



ls -p | grep -v /

ls -p appends/to directory names

grep -v / excludes anything ending in /, leaving only files



ll -- long list file and directory

ls -- short list file and directory

ll -lrt -- file and directory are order by time

touch -- use to create a file

cat filename -- to read a files

cat > filename -- to create a file and also insert data

cat >> filename -- to append dates

mkdir -- use to create a directory

vi filename -- use to edit a file

yy -- to copy a single line

dd -- delete a single line

rmdir -- to remove a dir

rmdir -rf -- delete directory and inner files rf means recursive force

rm -- to delete a file

rm -rf -- if rm isn't work use rm -rf, rf means recursive fource

head filename -- show first 10 line

tail filename -- show last 10 line



Show line numbers (-n)

grep -n "failed" logfile.txt

grep -v "DEBUG" logfile.txt

Match whole words only (-w)

grep -w "root" /etc/passwd


nl filename -- show date with number line and skip the space in between lines

cat -n filname -- show all line with number

cp -- copy file

cp -R -- to copy a directory

diff file1 file2 -- to compare to files, output is only the different data

comm file1 file2 -- output with three column, fist col is file1 different data and second col is file2 different data and third col is common data col

wc filename -- list out the number of line, words, bites

pwd -- present working directory

cd -- change directory

cd .. -- previous directory

mv -- move or rename a file or directory

sort filename -- use sort a file in ascending order

sort -n filename -- use to sort numerical data

uniq filename -- remove duplicates

sort file.txt | uniq > output.txt

sort file.txt | uniq > temp.txt && mv temp.txt file.txt

split -3 filname -- splite a file into three

paste filename1 filename2 > filename3 -- file1 and file2 past or merge in file3

fmt filename -- convert column into a single row

strings filename -- use to read a file understandable format

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
CVE-2026-92597 | Nodemailer up to 9.0.x Addressparser lib/addressparser input validation (EUVD-2026-81297)
1 Quelle
BitLocker stuck on Decrypting or Encrypting in Windows 11
1 Quelle
CVE-2026-92599 | hapijs joi up to 17.13.6/18.0.0-18.2.5 isoDate Joi.string.isoDate redos (EUVD-2026-81299)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Linux - File Commands

Thematisch verwandte Begriffe: Linux, File, Commands · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...