An A-Z Index of the Linux command line: bash + utilities: https://ss64.com/bash/ #linux #bash #doc
I rewrote this post specifically from this server to get it properly formatted in markdown
Thank you for this wonderful tip
So it's
:match Conceal /^.*$/
:set conceallevel=3
:highlight Conceal NONE
When you're finished, just do
:match
2/2
...aber große und attraktive, App ähnliche, Dinge habe ich mit der #bash noch keine gemacht.
Schluss damit!
Ich liebe ja dezent bunte Terminals - und wenn funktionale Scripts ihr Ding schön machen und optisch Rücksicht auf das nehmen worum es technisch geht...
Also habe ich mir erst mal (wieder) ne mini ANSI library gebastelt - diesmal für die bash.
Erstes Ding was darauf basiert und ziemlich fertig scheint ist der "auto-folding" Downloader... (siehe GIFs + Bildbeschreibungen).
I was watching a YT video on .bashrc and found an interesting snippet of code for extracting compressed files without really knowing the correct command.
https://www.youtube.com/watch?v=sruXWoWzuuQ
https://techguides.yt/guides/linux-server/must-know-bashrc-customizations/
I found this on the internet so it has to be safe, right?
How to compile C sources
$
./configure; make; make check; make install
Make sure to check the references in your shell regarding compilation also
The man pages are your friend
Note to future self: when you want git to tell you all the files you've modified, but not those you've deleted (e.g. to pipe through xargs and feed to your linter for bulk-linting), the command you're looking for is -
git diff --name-only --diff-filter=M
#note #git #sourceControl #bash #linux
Via: https://danq.me/2025/06/14/git-diff-name-only-diff-filterm/
Today I learned how to make #Windows CommandLine not suck ...
wsl --install
Das #Bloat Prinzip vs. #KISS Prinzip.
Sprache:
#Bash mit embedded #awk
Aus Bash Sicht ist das "awk in aqua Farbe" in #code OK. Aber optisch nicht besonders prickelnd.
Nano hingegen interpretiert die embedding Hochkommas nicht und colorriert fleißig weiter... Aus bash Sicht nicht OK - aber sehr geil zu lesen.
Ersten 500 Zeilen habe ich in nano via #ssh aufm #RaspberryPi gemacht - dann in code weiter - was hab ich mich erschreckt...
@cleverboi @JadziaMD @davidgerard @RecurringBloatware @rdfhrn IMHO #scripting is a form of #programming and the distinction is arbitrary.
I just merely pointed out that #bash as a #shell is basically the only common denominator among mainstream #Linux distros, with the few exceptions that don't even implement a symbolic redirect to a bash-subset when calling
#! /usr/bin/env bash
being anomalies most of the time if not "statistical rounding errors" at best...
How To Run Multiple Shells In Linux: Bash, Fish, Zsh And More #Linux #Shell #Bash #Zsh #Fish #Programming #Scripting #Linuxbasics #Linuxcommands
https://ostechnix.com/run-multiple-shells-linux/
@davidgerard @cleverboi @RecurringBloatware @rdfhrn and because "installing another shell" is like "installing a compiler on a production system".
So yeah, I've deal with #bash simply because it's the only #shell I can reliably expect on any relevant #Linux distro I'm working on (aka. #Ubuntu LTS, #SLES / #SLED, #RHEL, #Debian) ...
Insert Last Argument of Previous Command in #Bash, #Fish, #Zsh
https://ostechnix.com/insert-last-command-argument-bash-fish-zsh/
Easy Ways To Insert The Last Argument Of The Previous Command In Bash, Fish and Zsh #bash #fish #zsh #linuxshell #linuxbasics #linuxcommands #linux #cli
https://ostechnix.com/insert-last-command-argument-bash-fish-zsh/
@RecurringBloatware @cleverboi @rdfhrn @davidgerard #bash has some limitations and makes some things unelegant.
Like dialogues and selections as well as parameter interactvility...
@cleverboi @rdfhrn @davidgerard I know...
Gibt's eigentlich irgend eine Merkregel / Erklärung, wann ich für rekursive Arbeiten ein -R brauche (cp, chown) und wann ein kleines -r (rm) ??? Vielleicht dass in rm selbst ein kleines r drin ist (wäre eine Merkregel, aber keine Erklärung).
Linux tip: you can edit files from within less by pressing "v". This will launch your default editor.
If you do not have a default editor specified, you can specify one by adding the following lines to your .bashrc:
# set default editor
EDITOR=/usr/bin/vim
Substitute vim for whatever editor you prefer. (Which is obviously vim :)