Carlos Morenocarlosmoreno.hashnode.dev·Nov 21, 2023Remover carriage return de arquivos no LinuxAo se deparar com probremas de carriage return em um arquivo no linux, temos algumas opções para resolver tal problema, este post busca mostrar como resolver o mesmo com o uso do comando sed. Para a explicação adiante, será utilizado o arquivo disk_r...DiscussLinux
Akash C Mdevopswithakash.hashnode.dev·Nov 12, 2023SED CommandSED command in UNIX stands for stream editor and it can perform lots of functions on files like searching, finding and replacing, insertion or deletion. Though most common use of the SED command in UNIX is for substitution or for find and replace. By...DiscussDevOps BlogLinux
Arun Singharun-diary.hashnode.dev·Oct 24, 2023Linux Hack: How to rename a bunch of filesRenaming a bunch of files would be easy if the number of files is say less than 10. What if the number of files is 10+ or maybe in 100s? There is a simple trick in the command line to rename files using built-in Linux command line tools. Note: File ...DiscussLinux
Ivan Chebykinichebykin.hashnode.dev·Aug 8, 2023Writing Mario in sedhttps://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExaWN2NmFsZzM1emo0ajVwa25hY2FtNXI1Y2sxMDNxYzBxdXRlbTZ0dyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/v5hpawf0kYERgHR9Fg/giphy.gif Have you ever wondered if you can write games using sed? No? Anyone? Weird....Discuss·134 likes·4.0K readssed
James Mathengecodejunction.hashnode.dev·Jul 29, 2023Powerful Text Processing in Bash Using sed, awk, grep, and MoreProcessing text is an essential part of many bash scripts. Bash provides many handy commands and utilities for manipulating plain text that should be in every scripter's toolkit. This guide will demonstrate how to use text processing utilities like s...Discuss·10 likesBash
Pat Rubishashbangposh.hashnode.dev·Jul 26, 2023Perl for Sed-ersI've generally avoided Perl like the plague; I've never had a need for it, and its minimalist syntax makes for a steep initial learning curve. But mainly I just haven't needed it, as the GNU utilities have generally covered my needs. Today though I n...Discussperl
prateek malhotralearnwithprateek.hashnode.dev·Jun 28, 2023Sed Command in Linux: Powerful Text Manipulation and TransformationSed (Stream Editor) is a powerful command-line tool in Linux used for text manipulation and transformation. It reads input line by line, applies commands to the text, and produces the modified output. Installing Sed: Sed is usually pre-installed on m...Discuss·38 readsLinux
Aneesh Sambustealthspectre.hashnode.dev·Jun 11, 2023Useful Command Line UtilitiesImportant Memory Commands in Linux 1. free The free command displays information about the system's memory usage, including the total amount of memory, used memory, free memory, and memory used by buffers/cache. Example Usage: $ free -h 2. top The t...Discussl-DevOpsbash script
Vivekanand R Yadavvi-ry.hashnode.dev·Jun 8, 2023Text Processing with Sed and Grep: Powerful Command-Line Toolssed : Basic Syntax: sed OPTIONS 'COMMAND' FILE Commonly Used sed Commands: Substitute: s/old/new/ - Replace the first occurrence of "old" with "new" in each line. s/old/new/g - Replace all occurrences of "old" with "new" in each line. Delete: ...DiscussLinux
Vishweshwaran M Jmjvish.hashnode.dev·May 23, 2023Demystifying Sed, Awk and Find CommandsIn this article, we are going to look into the powerful commands for text processing and file manipulation with detailed syntax explanations to have a better understanding of the concept. Without further ado let's dive in and look at the commands sed...Discuss·1 like·96 readssed