Linux Terminal Glossary
›
Text Processing
sed -n 'p' file.txt
Category:
Text Processing
sed -n 'p' file.txt
Copy command
Print file (suppress default, print explicitly)
Prints the file normally (suppress with -n, re-enable with p). Useful as a template for sed scripts.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.