MYR
AboutExpertiseArticlesScriptsContact
Get in touch
← Linux// SCRIPTS

Files & Text

How to search inside files with grep in Linux

Search file contents with grep: recursive, case-insensitive, line numbers, whole words, regex, and surrounding context.

How to create and extract tar archives in Linux

Create, list, and extract tar archives with gzip compression, and extract safely by listing contents first.

How to find files in Linux

Find files by name, type, modification time, and size with find, and quickly by name with locate.

How to view file contents in Linux

View files with cat, less, head, and tail, including following a growing log with tail -f and -F.

How to search and replace text with sed in Linux

Replace text in a stream or file with sed, preview before editing, and edit in place safely with a backup.

How to process columns and fields with awk in Linux

Extract columns, filter rows, and compute sums with awk, including a custom field separator.

How to sort, deduplicate, and count lines in Linux

Sort lines, remove or count duplicates, and count lines, words, and bytes with sort, uniq, and wc.

How to cut, translate, and join text columns in Linux

Extract fields with cut, translate or delete characters with tr, and join files side by side with paste.

How to compare files in Linux

Compare two files line by line with diff, find common lines with comm, and check if files are identical with cmp.

MYRSolution Architect
EmailLinkedInArticlesScriptsPrivacy
© 2026 Mohammad Yoga Rimaldo