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.

Files » awk

Files are the basic building block for everything in Linux. Learn about some basics of working with files including viewing, searching, and editing.

  • find (54)
  • x awk (54)
  • sed (49)
  • grep (36)
  • vim (31)
  • ls (22)
  • cat (20)
  • rsync (18)
  • vi (14)
  • tr (12)
  • file (12)
  • echo (11)
  • tail (11)
  • head (10)
  • sort (10)
  • xargs (10)
  • tar (10)
  • diff (9)
  • tree (9)
  • cp (8)
  • chmod (8)
  • ffmpeg (7)
  • rm (7)
  • wc (7)
  • cut (7)
  • mv (7)
  • less (6)
  • bash (6)
  • perl (6)
  • touch (6)
  • printf (5)
  • readlink (5)
  • uniq (5)
  • tee (5)
  • paste (5)
  • copy-edit (5)
  • pdf (4)
  • du (4)
  • comm (4)
  • unzip (4)
  • lsof (4)
  • Docker (4)
  • truncate (4)
  • rename (4)
  • gzip (4)
  • mkdir (4)
  • reference (4)
  • realpath (3)
  • stat (3)
  • convert (3)
  • chown (3)
  • xml (3)
  • xmllint (3)
  • split (3)
  • dd (3)
  • ImageMagick (3)

>> How to grep Without Leading Whitespaces

>> Guide to Removing Trailing Newline From grep Output

>> Replacing Specific Line With a String Variable in Shell

>> Matching Multiple Strings Using Only One grep

>> Returning Filenames Without Extension Using find

>> How to Sum Up the Size of Files Listed

>> How to Split a Text File Based on a Regular Expression

>> Find Statistics on File Types Recursively in a Directory

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

>> Merging .csv Files in Linux

>> Remove Duplicate Lines from a File Without Sorting

>> Adding a Column of Values in a Tab Delimited File in Linux

>> Count Occurrences of Character per Line/Field on Linux

>> Convert Tab-Delimited File to CSV

>> How to Extract IPv4 Addresses from Files in Linux

>> Add Leading Zeros to File Names

>> Find Matching Text and Replace the Next Line

>> Difference Between awk, nawk, gawk and mawk

>> Using grep After a Specified Line Number

>> How to Specify More Spaces as the Delimiter Using cut

>> Concatenate Files With a Separator

>> Search for a Multi-Line Pattern in a File in Linux

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

>> How to Add a String After Each Line in a File in Linux

>> Get the Last Word From Each Line

>> Removing the Last Character of a File

>> Merge Two Files Line By Line in Linux

>> Insert Multiple Lines Into a File After a Specified Pattern

>> Split a File With the Header Line

>> Remove All Whitespace Characters From a Text File

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

>> Linux: Delete Files Listed in a File

>> Delete All Lines in a File Starting From a Specific Line

>> Replace String in a Large One Line, Text File in Linux

>> Read a Specific Line From a File in Linux

>> Get the Last Directory or Filename From a File Path

>> Count Occurrences of a Char in a Text File in Linux

>> Count Lines in a File in Bash

>> Remove the Last Character From Each Line in Linux

>> File Editing: Appending a Non-Existent Line to a File

>> Find and Convert Files Ending With CRLF

>> Remove the First Line of a Text File in Linux

>> How to Remove the Lines Which Appear in File B From Another File A in Linux

>> Remove the Last N Lines of a File in Linux

>> Splitting a File at Given Line Numbers

>> Remove Line Endings From a File

>> Count Duplicated Lines in a Text File

>> How to Print the Longest Line(s) in a File

>> Read Random Line From a File in Linux

>> Delete Lines in a Text File That Contain a Specific String

>> Remove Blank Lines From a File

>> Process Multiple Input Files Using Awk

>> How to Find and Replace Text in a File

>> Renaming Linux Files in Batches

  • ↑ 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