GO KALI FREE
File Management

nano Linux Command

Opens a simple, beginner-friendly terminal text editor.

What does nano do?

Opens a simple, beginner-friendly terminal text editor.

Syntax

nano filename

Practical example

nano script.sh

Related File Management

tail

Displays the last 10 lines of a file. Use -f to follow file changes in real time.

vim

Opens the powerful Vim text editor for editing files.

head

Displays the first 10 lines of a file by default. Use -n to specify count.

wc

Counts lines, words, and characters in a file.

more

Views file contents one screen at a time (forward-only navigation).

ln

Creates links between files. Use -s for symbolic (soft) links.