Linux Tutorial
Linux: Count Line, Word, Char
By Xah Lee. Date:
2024-04-16
.
Count Char, Word, Lines
wc
Count the number of chars, words, lines. Useful with
cat
,
grep
Linux, Process Text
Linux: Show File Content
Linux: Show File Type
Linux: grep
Linux: Head, Tail
Linux: awk
Linux: Count Line, Word, Char
Linux: Sort Lines
Linux: uniq, Remove Duplicate Lines
Linux: Convert File Encoding with iconv
Linux: Edit File
Linux Shell Basics
Shell Basics
Get System Info
Disk Size
Help
Find Command
Dir and Files
Navigate Dir
List Files
View Dir as Tree
Copy File
Move or Rename
New File
New Dir
Delete File
Dir Size
Diff Dir
Walk Dir: find, xargs
rsync
Compress, Archive, Download
untar unzip etc
Create tar zip etc
get webpage, wget
get webpage, curl
Text Processing
Text Processing
User, Group, File Perm
File Permission
Users and Groups
misc
Install Packages
Process, Job Control
ps, kill
top
htop
Job Control
Opened Files: lsof
RAM stat
shutdown, sleep
Bash, Terminal
Bash Keys
Terminal Keys
Man Page Keys
Bash Prompt Setup
Bash Color Prompt
Bash Init
Virtual Terminal
Terminal Control Sequence Keys
Ctrl+s Freeze vim
Reset Terminal
tmux
Log Terminal Session
xterm Copy Paste, Font Size
Linux Desktop
Useful GUI App Names
Set Default App
Commands for GUI Apps
Image Viewers
Music Players
Move to Trash Command
X11 Selection and Clipboard
Switch to LXDE/Xfce
Restart X11
Why Tiling Window Manager Sucks
Standard Fonts
Install Font