dewomser · @dewomser
253 followers · 1963 posts · Server social.tchncs.de

Tipp:
$(<file) ist das gleiche wie $(cat file), nur schneller

#bash

Last updated 1 year ago

AskUbuntu · @askubuntu
233 followers · 1699 posts · Server ubuntu.social

Cant autocomplete "unzip"-command #2004

askubuntu.com/q/1485519/612

#commandline #bash #unzip

Last updated 1 year ago

AskUbuntu · @askubuntu
233 followers · 1702 posts · Server ubuntu.social
robrich · @robrich
55 followers · 368 posts · Server hachyderm.io
Conde Chocula · @CondeChocula
40 followers · 420 posts · Server social.linux.pizza

dunstctl is a good command to manage notifications, you can show it with an icon in your taskbar and set pause notifications, no pause, etc.

I made a little script in bash to handle it.

The magic of Gnu/Linux :linux: :)

#linux #dunst #bash

Last updated 1 year ago

Conde Chocula · @CondeChocula
40 followers · 420 posts · Server social.linux.pizza

dunstctl is a good command to manage notifications, you can show it in your taskbar and set pause notifications, no pause, etc.

I made a little script in bash to handle it.

The magic of Gnu/Linux :linux: :)

#linux #dunst #bash

Last updated 1 year ago

dewomser · @dewomser
253 followers · 1950 posts · Server social.tchncs.de

/ 1-Zeiler
Liste mal alle Emails auf, die es
in klartext.txt gibt !

Gerade wieder mal angewandt… und funktioniert, 😃

grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" klartext.txt

#linux #bash

Last updated 1 year ago

Joel Bennett · @jaykul
365 followers · 547 posts · Server fosstodon.org

What if your shipped with Copilot?

I'm still not sure if this is something I need or not, but I got Microsoft's CodexCLI working (again), just so I could show it off.

This is how I want github CLI to integrate.

I *do* like the explanations the current Copilot CLI gives, but I want this in the readline because I want to be able to edit the command I get back.

i.imgur.com/8vbkF48.gif

P.S. My working fork is at github.com/Jaykul/ReadlineAI

#readline #copilot #powershell #bash #zsh #psreadline

Last updated 1 year ago

Philipp Bayer · @PhilippBayer
1434 followers · 2015 posts · Server genomic.social

No command has helped me more in debugging than `which`

In nine out of ten cases when Python or R was doing something unexpected, it was because I was using the wrong installation

#bash

Last updated 1 year ago

AskUbuntu · @askubuntu
232 followers · 1682 posts · Server ubuntu.social

How to configure Bash to use lsd for tab-completion?

askubuntu.com/q/1485371/612

#commandline #bash #ls

Last updated 1 year ago

christos · @christos
86 followers · 768 posts · Server kafeneio.social

gitlab.com/christosangel/wordy

Wordy is a word spelling puzzle.

You have 6 guesses to find out the secret 5-letter word.
If a letter appears green, that means that this letter exists in the secret word, and is in the right position.
If a letter appears yellow, that means that this letter exists in the secret word, but is in NOT the right position.
If a letter appears red, that means that this letter does NOT appear in the secret word AT ALL.

#linux #tui #bash #Wordle #terminal

Last updated 1 year ago

x0r · @x0r
129 followers · 949 posts · Server mamot.fr

@jpmens Years ago, I also found out the hard way that echo with options is not portable across shells and operating systems.

On what OS did you run your experiment? I tried it on 13.2 and on a box (with ) and get the hash starting with 757107ea0eb250 on both lines.

#freebsd #linux #gnu #bash

Last updated 1 year ago

@Om* · @atomjack
1325 followers · 13508 posts · Server mastodon.cloud
Andrew Woods · @awoodsnet
270 followers · 1251 posts · Server phpc.social

Are there particular challenges you have - or maybe a function you wish you had - when shell scripting using dates/times ?


#bash #shellscript #commandline

Last updated 1 year ago

davidochobits · @davidochobits
664 followers · 860 posts · Server mastodon.bitsandlinux.com
unixbhaskar · @unixbhaskar
36 followers · 678 posts · Server fosstodon.org

I am keeping things simple for my sake. :) ....mostly plain old and dirty ...and it works!!! for ages.

#bash #scripts #linux #reseach #linuxadmin #sysadmin #opensource

Last updated 1 year ago

clonbg · @clonbg
259 followers · 1426 posts · Server masto.es

Script en bash que comprueba si hay internet y ejecuta unos programas myblog.clonbg.es/#/script-auto clonbg.es

#linux #scripts #bash

Last updated 1 year ago

Vladimir Mikhalev · @heyValdemar
3 followers · 66 posts · Server hachyderm.io
AskUbuntu · @askubuntu
232 followers · 1718 posts · Server ubuntu.social

after each reboot I need to assign swap manually and /etc/rc.local doesn't get triggered

askubuntu.com/q/1485118/612

#bash #Swap #reboot

Last updated 1 year ago

dewomser · @dewomser
253 followers · 1925 posts · Server social.tchncs.de

/ 1-Zeiler
Der Minitaschenrechner für rationale Zahlen.

Beispiel: : 17.1+3.9 [ENTER]

read -r -p "Zahl1[+-*/]Zahl2: " z1 a z2;echo "$z1$a$z2= $(echo "$z1$a$z2" | bc -l)"

#linux #bash

Last updated 1 year ago