Linux cat Command: View File Contents in the Terminal (Ubuntu)

1,091 views · Published 3 May 2009 · 3:22 · Indexed 25 October 2026

Channel: PC-Addicts · 2009 · Science & Technology

Watch on YouTube

Use the Linux cat command to view a file's contents right in the terminal. See how cat prints a file to standard output, how to page through long files with more, and how to open a root-owned file (like xorg.conf) in gedit using sudo. Recorded on Ubuntu.

⏱ Chapters:
0:00 Quick tip: viewing a file in the terminal
0:34 Checking your working directory
0:53 What the cat command does
1:14 Run cat with tab completion
1:25 Page through a file with more
2:02 Open the file in gedit
2:24 Root-owned files and sudo gedit
3:06 When to reach for cat

▶ Part of the "Linux How-To & Tips" series
🧭 Going from help desk to sysadmin? That's who this channel is for. I'm building a complete mock enterprise from scratch — Active Directory, Group Policy, PowerShell, virtualization, backups — one video at a time. Start here 👉 https://www.youtube.com/watch?v=jtFHhbC8TrM
👍 Subscribe for real-world IT every week

#Linux #Ubuntu #Terminal #CommandLine #LinuxTips

More from this channel