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
  • Category upScripting
  • Category upFile Editing
  • Category upFile Searching
  • Category upProcesses
  • Category upAdministration
  • Category upFile Viewing
  • Category upFilesystems
  • Category upSearch

Tag: awk

>> Breadth-First Search in a Directory

>> Printing awk Output in the Same Line

>> Print Decimal as ASCII Using the Shell

>> How to grep Without Leading Whitespaces

>> How to Filter strace’s Output Using grep

>> Guide to Removing Trailing Newline From grep Output

>> How to Display df Lines Based on Filesystem Usage Criteria

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

>> Get Username by User ID in Linux

>> How to grep the ps Output With Headers

>> Find Processes by Keyword in Linux

>> How to Kill All Stopped Jobs in Linux

>> Converting Strings to Numbers in the Linux Command Line Interface

>> Merging .csv Files in Linux

>> Remove Duplicate Lines from a File Without Sorting

>> List All Users in a Linux Group

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

>> Split a List by Comma in Bash

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

>> Print Statistics of Numbers on the Linux Terminal

>> How to Get the MAC Address of a Network Interface

>> Inserting a Newline in a Variable in Bash

>> Iterating Over Each Line of ls -l Output

>> Division with Variables in a Linux Shell

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

>> Replacing Whitespaces With Tabs in a File in Linux

>> Return Value of Substitutions With sed and awk

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

>> Extracting a Substring in Bash

>> How to Add Up a Column of Numbers in Bash

>> Kill a Process Running on a Specific Port in Linux

>> Remove the Last Character From Each Line in Linux

>> Print Lines Between Two Patterns 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

>> Pass the Output of a Command as an Argument for Another

>> Check if a String Contains a Substring in Linux

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

>> Guide to Generate Random Numbers in Linux

>> Check if Directory is Mounted in Bash

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

>> Splitting a File at Given Line Numbers

>> How to Delete Multiple Files at Once in Bash

>> Difference Between grep, sed, and awk

>> Remove Line Endings From a File

>> Count Duplicated Lines in a Text File

>> Save Modifications In-Place with awk

>> Commands to Get the Min, Max, Median, and Mean of a Dataset

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

>> How to Call an External Program Using awk

>> Read Random Line From a File in Linux

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

>> Remove the First Characters of a Line

>> Remove Blank Lines From a File

>> How to Join Multiple Lines Into One

>> Process Multiple Input Files Using Awk

>> Is There a Way to ‘uniq’ by Column?

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