Skip to main content

Search

Items tagged with: bash


 
(23:59:23) Bea: Hat wer morgen Lust auf einen Spielabend bei Franziska und mir?
Hmm wenn jemand um 23:59:23 "morgen" schreibt, welchen Tag meint sie dann?

#Messengerzitate #Zitate #Messengerzitat #bash #deutsch

(Namen habe ich geändert)


 
In the dash shell you can get command completion by using
Just discovered it by acccident, no mention (afaik) in the documentation.
That means that the dash cl shell has all the basic functions of the bash shell.
#dash #bash #ash #shell #linux


 

Bash script – Compilar última versión de clamav


https://mierda.tv/2019/06/11/bash-script-compilar-ultima-version-de-clamav

Image/Photo

shit # system #bash #clamav


Hace unos días puse por aquí un sencillo script para descargar el código fuente de la última versión del engine clamav. Concretamente aquí: https://mierda.tv/2019/06/05/bash-script-descargar-ultima-version-de-clamav/. Y es que descargar el código usando un script bash requiere d... show more
# #bash #clamav


 
... show more


 
... show more


 
... show more


 

Windows 10 Goes to Shell


#hackadaycolumns #linuxhacks #news #softwaredevelopment #softwarehacks #bash #linux #windows #windows10 #hackaday
posted by pod_feeder_v2
Windows 10 Goes to Shell


 

Article: How to Use the timeout Command on Linux.


by David McKay (Twitter: @TheGurkha), hosted by How-To Geek.

Preview of the article



The timeout command allows you to set a limit on the length of time a program will run for. But why would you want to do that? [...] timeout is part of the GNU Core Utils so Linux a
... show more


 
#redhat 7 valuable #programming languages for sysadmins in 2019
https://www.redhat.com/sysadmin/sysadmin-programming-languages rightly starting this list with #gnu #bash


 

Apple sigue huyendo de la GPLv3, Bash es su última víctima





#apple #bash #gpl #macos #otros sistemas #zsh
Apple sigue huyendo de la GPLv3, Bash es su última víctima


 

Standard fare in Linux, like, forever.


https://twitter.com/stefanjudis/status/1136933482691747841

#shell #bash #linux #pc


 

Bash script – Descargar última versión de clamav


https://mierda.tv/2019/06/05/bash-script-descargar-ultima-version-de-clamav

Image/Photo

code #bash #clamav


Cuando haces un script en bash para ti mismo o simplemente para no compartirlo suele ser normal NO comprobar dependencias. Algo que suele ser «wget+url» termina siendo un montón de comprobaciones. Si no compruebas te evitas líneas de código y eso funciona en la máquina en la que lo calzas. El problema es cuando quieres ...Image/Photo

La entrada Bash script – Descargar última versión de clamav aparece primero en [ MIERDA TV ].
# #bash #clamav


 

Bash script – Descargar última versión de clamav


https://mierda.tv/2019/06/05/bash-script-descargar-ultima-version-de-clamav

Image/Photo

code #bash #clamav


Cuando haces un script en bash para ti mismo o simplemente para no compartirlo suele ser normal NO comprobar dependencias. Algo que suele ser «wget+url» termina siendo un montón de comprobaciones. Si no compruebas te evitas líneas de código y eso funciona en la máquina en la que lo calzas. El problema es cuando quieres ...Image/Photo

La entrada Bash script – Descargar última versión de clamav aparece primero en [ MIERDA TV ].
# #bash #clamav


 
Apple: MacOS wechselt von Bash auf ZSH als Standard-Shell #MacOS #Bash #Betriebssystem #MacOSX #Mac #Applikationen


 
macOS Catalina: Apple setzt auf zsh #Apple #Shell #Terminal #Zsh #bash #macOS #macOS1015 #macOSCatalina


 

Better Bash History (2012)


HN Discussion: https://news.ycombinator.com/item?id=20054082
Posted by Pete_D (karma: 725)
Post stats: Points: 145 - Comments: 44 - 2019-05-30T17:56:19Z

#HackerNews #2012 #bash #better #history
HackerNewsBot debug: Calculated post rank: 111 - Loop: 282 - Rank min: 100 - Author rank: 45
Better Bash history


 

Cómo leer un archivo línea a línea en Bash


https://www.ochobitshacenunbyte.com/2019/05/21/como-leer-un-archivo-linea-a-linea-en-bash

#bash #script #sysadmin
Cómo leer un archivo línea a línea en Bash


 

Surprising Bash Variables


HN Discussion: https://news.ycombinator.com/item?id=19885769
Posted by zwischenzug (karma: 3126)
Post stats: Points: 85 - Comments: 32 - 2019-05-11T12:15:02Z

#HackerNews #bash #surprising #variables
HackerNewsBot debug: Calculated post rank: 67 - Loop: 92 - Rank min: 60 - Author rank: 36


 


What The @#$%&! (Heck) is this #! (Hash-Bang) Thingy In My Bash Script | Linux Journal


https://www.linuxjournal.com/content/what-heck-hash-bang-thingy-my-bash-script

#bash
# #bash


 
TIL: #bash provides pseudo devices for TCP and UDP connections:

echo "hello" > /dev/udp/127.0.0.1/1337

or

exec 5<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.0\n" >&5
cat <&5

I'm baffled how I've never discovered that until today.
#bash


 

Article: Network Redirections in Bash.


by Anmol Sarma - software developer from Bengaluru ( #India ).

Preview/extract:

[...] it sends a UDP datagram containing a random number to port 1234 every 250 ms.

while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234; sleep 0.25; done

I didn’t recall ever seeing a /dev/udp and so was a bit surprised that it worked.
Seemingly, a normal UDP socket was being created and written to using the regular sycall interface. That refuted my initial suspicion that some kind of a special file backed by the kernel was involved.
But who was actually creating the socket?
A peek at Bash’s code answered that question [...]

Tags: #linux #bash #ksh #scripting #script #networking #hacking #coding #code #codeanalyse #development #syscall #udp #tcp.


 

PirataTV – Ver películas desde la shell


https://mierda.tv/2019/05/03/piratatv-ver-peliculas-desde-la-shell

Image/Photo

shit #bash #dialog #peliculas #piratatv #pirateria #script


PirataTV es un sencillo script en bash que usa dialog para mostrar un listado de películas que pueden ser seleccionadas y visualizadas. Las dependencias para que funcione correctamente son: wget, dialog y mpv. En GNU/Linux Debian 9 pueden satisfacer así: # apt-get install wget dialog mpv El script es el siguiente #!/bin/bash # PirataTV ...Image/Photo

La entrada PirataTV – Ver películas desde la shell aparece primero en [ MIERDA TV ].


 
#bash
#bash


 

shcm – Bash simple HTTP check monitor


https://mierda.tv/2019/04/27/shcm-bash-simple-http-check-monitor

Image/Photo

code # system #bash #http #http check #monitoring


Con unas pocas líneas en bash + curl + mailx podemos hacernos un script que nos permita comprobar si un listado de urls dejan de dar un 200. Lo ideal es usar una herramienta de monitoring buena. Naemon por ejemplo. Pero si es poca cosa lo que queremos comprobar con un sencillo script en bash ...Image/Photo

La entrada shcm – Bash simple HTTP check monitor aparece primero en [ MIERDA TV ].


 

Raspberry PI – Pantalla de eventos con «Estética RENFE»


https://mierda.tv/2019/04/26/raspberry-pi-pantalla-de-eventos-con-estetica-renfe

Image/Photo

3d # code # system #bash #pantalla #raspberry pi


Una Raspberry PI o una Orange PI y una pantallita son más que suficientes para montar un sencillo panel de eventos con «Estética RENFE». Esto que voy a dejar en este post está sacado de la documentación que dejé en una wiki de una prueba de concepto. Eso luego terminó siendo un programa mucho mejor, ...Image/Photo


 
Small update to my weird #linux ismount bashism/script. Just added documentation and such.
#bash #bashism #script #cut #grep #mount #shell #cmdline #tldp #absg #... show more


 
#fsf Volunteers needed! Help update "Introduction to the command line" manual https://www.fsf.org/blogs/community/volunteers-needed-help-update-introduction-to-the-command-line-manual #gnu #bash
#fsf #gnu #bash


 
Mhrm... maybe some #followerpower can help?
Im writing some weird #bash #scripts to set up a #chroot on my #linux #workstation as convenient as possible, just because i can. It will have 2 "main operation modes" .. one to set up all stuff needed .. and one to revert this.

While searching for the right antonym to express the opposite operation from 'setup', i stumbled over this list of antonyms:

https://gegenteil-von.com/set-up/en/de/

Whaaaa????? Any idea which one might fit in to this context?? ;)

Image/Photo


 

I got tired of PHP and Perl, so I tried bash


Web framework in Bash. Contribute to nerdgeneration/www.sh development by creating an account on GitHub.
Article word count: 34

HN Discussion: https://news.ycombinator.com/item?id=19649761
Posted by nerdgeneration (karma: 93)
Post stats: Points: 141 - Comments: 68 - 2019-04-12T22:53:28Z

#HackerNews #and #bash #got #perl #php #tired #tried
Article content:

Image/Photo

You can’t perform that action at this time.

You signed in with another tab or window. [1]Reload to refresh your session. You signed out in another tab or window. [2]Reload to refresh your session.

References

Visible links
1. file:///dev/
2. file:///dev/

HackerNewsBot debug: Calculated post rank: 116 - Loop: 94 - Rank min: 100 - Author rank: 465


 
#microsoft #bash


 
#GNU #Bash vs. #Python : Which language should you use?
https://opensource.com/article/19/4/bash-vs-python #programming


 
when someone accidentally did
cd /

mv * /mnt/

Thus, suppose you have an empty root, and normal unix filesystem layout in /mnt

You can’t do chroot. You even cannot run /mnt/bin/cp, to copy it all back to filesystem root.

it is however still possible to recover system without rebooting machine and booting from livcd/liveusb

first, export new library path:
LD_LIBRARY_PATH=/mnt/lib:/mnt/lib64:/mnt/usr/lib:/mnt/usr/lib64:$LD_LIBRARY_PATH

then, run cp with ld-linux loader like this:
/mnt/lib64/ld-linux-x86-64.so.2 /mnt/bin/cp -a /mnt/lib64 /

#unix #chroot #os #system #path #bash #fs


 

Generating SSH moduli more efficiently


Most distributions ship /etc/ssh/moduli prepoulated since creating it from scratch is computationally intensive. If you do want to create your own moduli file, you are pointed to ssh-keygen and its -G and -T options. The former generates candidate primes, i.e. numbers that are likely to be prime, but haven’t been verif
... show more


 
The same so-called 'liberals' who praised #wikileaks for exposing #bash era #warcrimes have truly managed to alienate #assange and Wikileaks

This is still costing them