The Complete [and Definitive] Sed Command Guide
You will never need any other sed reference than this article crafted with love π... by myself
https://linuxhandbook.com/sed-reference-guide/
The Complete [and Definitive] Sed Command Guide
You will never need any other sed reference than this article crafted with love π... by myself
https://linuxhandbook.com/sed-reference-guide/
10 Practical Grep Command Examples for Developers
https://linuxhandbook.com/grep-command-examples/
Getting Started With the SED Command
New to `sed`? This is for you!
https://linuxhandbook.com/sed-command-basics/
The largest functional processor:
https://www.youtube.com/watch?v=lNa9bQRPMB8
Featuring a ton of LEDs--because everybody likes seen blinking LEDs!
In the Bash, pressing <Alt-U> will convert to uppercase the word starting at the current cursor position
Understanding "posits", an alternative to the IEEE-754 floating point formats for representing reals:
https://www.johndcook.com/blog/2018/04/11/anatomy-of-a-posit-number/ #FloatingPoint #IEEE754 #Posit
`make` is really a mythical tool in the Unix toolchest.
http://pkgw.github.io/make_for_scientists/
Many times criticized. Feared. Improved or imitated.
But still alive.
Tired of fighting against a bloated word processor when writing your latest report, novel, technical documentation or blog post?
Maybe that's the sign you ready to consider using a lightweight markup language. All you need is just a basic text editor, the knowledge of some simple and non-intrusive keywords and markup. And a processor to convert that text file to... well... whatever you want: HTML, PDF, LaTeX, ...
https://itsfoss.com/asciidoc-guide/
#AsciiDoc #Markdown #LaTeX #FOP
So, you don't know yet the `grep` command ?
https://youtu.be/HBNNO92Juw4
Print even lines
seq 10 | sed -n '1b;P;N'
In #Bash, to edit the last three commands in your favorite EDITOR type:
fc -3 0
When leaving the editor, commands are executed
`less -R` will handle gracefully ANSI "color" escape sequences:
ls --color=always /tmp | less -R
seq 10 | awk NR%2
Keep odd lines of a file
If you ever had to connect to an Oracle backend, you may know how painful it used to be to set up an Oracle Instance on your test/dev host.
Thanks to @Docker, it is now several orders of magnitude simpler!
In Bash `$(<file)` is equivalent to `$(cat file)`, but faster:
P=( $(</etc/passwd) )
echo ${P[0]}
In a #sed substitution pattern, you can use any character as a separator instead of /
Useful for path or urls:
s!/usr/local!/opt!
From a POSIX shell `$OLDPWD` holds the name of the previous working directory:
cd /tmp
echo You are here: $PWD
echo You were here: $OLDPWD
cd $OLDPWD
When using the find command, use `-iname` instead of `-name` for case-insensitive search
#Unix #Linux #Shell #Find
If you ever had to connect to an Oracle backend, you may know how painful it used to be to set up an Oracle Instance on your test/dev host.
Thanks to @Docker, it is now several orders of magnitude simpler!
If you don't know what is #Awk or how it could help you processing text files, then you NEED that little introduction:
https://youtu.be/PUYS6MO4p7Y
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.