The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • Write for Baeldung
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Category upFiles

File Viewing

File viewing is a common task for any command-line Linux user. Learn about some of the basic commands to view files using various scenarios and examples.

  • vim (10)
  • vi (4)
  • awk (4)
  • sed (4)
  • file (3)
  • diff (3)
  • ls (2)
  • Globbing (2)
  • paste (2)
  • tail (2)
  • grep (2)
  • cat (2)
  • ImageMagick (2)
  • rsync (2)
  • less (2)
  • more (2)

>> List Files in Linux With the Full Path

>> Displaying Tabs as Characters in Vim

>> How to Check PDF Metadata in the Linux Terminal

>> How to Clear Word Highlighting in Vim

>> Character Navigation or How to Jump to a Specific Character in Vi

>> How to Delete Files With Names That Contain Non-printable Characters

>> Navigating in a File in Vim

>> Vi Automatic Commands and Reloading the Current File Contents

>> Command-Line Tools for Printing a Blank Line Between Lines of a Text File

>> Displaying the Full Path of the Current File in Vim

>> How to View .HEIC Photos on Linux

>> Integrate GDB With Vim

>> How to Find File Encoding in Linux

>> Using Vim as a Diff Tool

>> How to Read Corresponding Lines From Two Input Files

>> Working With Vim Windows

>> Reading a File Line by Line in Bash Script

>> Using the tail Command with Colored Output

>> Using grep After a Specified Line Number

>> Creating a Hex Dump of a File

>> Show Only the N-th Line After the Match

>> Get File Creation Date/Time In Bash

>> How to List Last Five Modified Files in Linux

>> Comparing Two Files in Linux

>> Display the First “n” Characters of a File in Linux

>> Find Out Image Dimensions from the Linux Terminal

>> View Images from the Terminal in Linux

>> How To Compare Two Directories on Linux

>> Remote File Synchronization in Linux

>> Introduction to Bash Globbing

>> Filtering Files Copied When Using rsync

>> Displaying Files Side by Side in Linux

>> How to Pretty-Print XML From the Command Line

>> Differences Between more, less, and most in Linux

>> Viewing Files in Linux Using cat, more, and less

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Write for Baeldung
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo