Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Just reminded that here-documents at the #bash prompt aren't completely useless.

Uncategorized
1 1 8

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • Just learned a bash trick.

    Uncategorized bash linux
    1
    0 Votes
    1 Posts
    9 Views
    Just learned a bash trick.~- means "the directory you were in before this one" So, if you want to copy a file from mercury and you are in jupiter:mercury$ lsufomercury$ cd jupiterjupter$ cp ~-/ufo .Kind of neat. Use with caution!🦇 #Bash #Linux
  • Rules

    Uncategorized programming bash csh ksh fish opensource fork
    1
    1
    0 Votes
    1 Posts
    12 Views
    Rules* Never execute scripts from the internet* Never execute scripts as root if you do not know what they do#Programming #bash #sh #csh #ksh #fish #OpenSource #fork #bomb #forkbomb https://www.cyberciti.biz/faq/understanding-bash-fork-bomb/
  • 0 Votes
    1 Posts
    10 Views
    Just launched a new site to showcase my open source work. Would love feedback: https://galtzo.com#oss #ruby #bash #go
  • 0 Votes
    3 Posts
    17 Views
    @stefano @nixCraft @imil Here on Debian {in MX Linux} I had to add the following tools since the machine is not configured for programmingbmake`apt install bmake`bsdtar`apt install libarchive-tools`then success>> log# $ ./startnb.sh -f etc/sshd.conf* using console: vioconusing QEMU version 7.2.19 (Debian 1:7.2+dfsg-7+deb12u16)[ 1.0000000] NetBSD 11.99.3 (MICROVM) Notice: this software is protected by copyright[ 1.0000000] Detecting hardware... (QBOOT 000000000000)[ 1.0257426] done.[ 1.0345973] kernel boot time: 51msCreated tmpfs /dev (1835008 byte, 3552 inodes)add net default: gateway 10.0.2.2Starting sshd.Server listening on :: port 22.Server listening on 0.0.0.0 port 22.>> End of log^ZI pressed ^C to enter the server to add the needed passwords for the user and rootlogin was a success then#netBSD #BSD #UNIX #OpenSource #programming #quemu #bash #sh