Avatar
nixCraft 🐧
cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185
Enjoy Linux & Unix-like systems, open-source software, and programming? Into Sysadmin & DevOps? Follow us to make the most of your IT career! Discover new tools, IT news, and apps daily, plus a dose of humor.

Somewhere in an alternate universe, Unix was developed by a team of cats. They called it "Meow-ix," and its command-line interface was all written in purrfectly elegant feline scripts! 😸🐾

You can press up-arrow or down-arrow to walk through a list of previous commands in most modern shells like Bash, ZSH, TCSH, FISH and others.

nostr:npub1054ujfqah0z9mps800c2ecppegg0gryaena0c2vjmm2jutn3xfpqavg8ls your local smptd like postfix will route email but most ISPs or provider will block local smptd due to spam issues.

What does /proc/sys/kernel/poweroff_cmd say on your Linux machine? It should print the default poweroff command path, but users can change this to another command. Sysadmins customize the poweroff process by changing this string to a custom script or command. See https://www.cyberciti.biz/faq/howto-shutdown-linux/ for more info.

Want to avoid receiving empty emails from the #Linux, #FreeBSD, or #Unix cron job? Set the MAILTO variable before the job. For instance:

MAILTO="" # turn it off

40 12 1 * * /path/job1

MAILTO="foo@example-com" # send output here

10 4 * * * /path/job2

See https://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/ and https://www.cyberciti.biz/faq/linux-unix-crontab-change-mailto-settings/ for more info.

nostr:npub1xq2mql2k4gs46jh9004al52jvtqklrschpe0tnc55tge6mcmweqqvg072w It is advisable to provide the least amount of privilege or completely avoid granting shell access. Developers and end users do not require access to Unix or Linux boxes in production. I

Is there anything else you require aside from Prometheus and Grafana? Unless you are working at a scale similar to Google, Amazon, or Apple, these should be adequate. In my opinion.

CVE-2023-38408: Remote Code Execution in OpenSSH's forwarded ssh-agent www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txt #unix #linux #security #infosec

Red Hat refuses Alma's CVE patches to CentOS Stream; says "no customer demand https://www.reddit.com/r/AlmaLinux/comments/1544w8b/red_hat_refuses_almas_cve_patches_to_centos/ #linux #rhel #AlmaLinux

How To Set Up a Firewall with UFW on Debian Linux 12 https://www.cyberciti.biz/faq/set-up-a-firewall-with-ufw-on-debian-12-linux/ #debian #linux #sysadmin #security

If you think Twitter is going to /dev/null, well, take a look at popular subreddits like https://www.reddit.com/r/videos/ (NSFW link). It is just a disaster, a complete failure. How can current management allow getting things this bad at Reddit? Perhaps the intention is to deliberately create a poorly functioning site, causing frustration among users to the point where it becomes abandoned and can eventually be shut down.

Several AI companies attempt to appear trendy by publishing their AI source code, but they are often driven by greed and not progress for humanity. They set unreasonable limitations on licensing and still claim it as open source. However, who are they trying to deceive? It's only a matter of time before some youngsters or old-timers develop a genuine code in their garage and donate it to the Apache Foundation as real open-source AI licenses.

If Rust is so secure and awesome, why haven't GNU or BSD utils been rewritten in Rust Lang?

How to set up a firewall using FirewallD on #OpenSUSE #Linux https://www.cyberciti.biz/faq/set-up-a-firewall-using-firewalld-on-opensuse-linux/ #sysadmin #opensource

Print your public IP address from Linux, macOS, FreeBSD or Unix/Windows shell:

curl https://checkip.amazonaws.com

Try dig

dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com

dig -6 TXT +short o-o.myaddr.l.google.com @ns1.google.com

See https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/ for more.

Most folks don’t realize it, but BSD greatly contributed to modern computing. Linux, macOS, iOS, and gaming consoles or streaming service are the most successful examples that borrowed ideas and code from the BSD world directly or indirectly. Even at one point windows used networking stuff from BSD world. How often do you ssh into servers and network devices? That code comes from the BSD world too.

Did you know? The β€œping” command, commonly used to test network connectivity, was developed by Mike Muuss in 1983 for BSD Unix and later became standard in Linux and other operating systems such as Windows and others. Check his Wikipedia page https://en.m.wikipedia.org/wiki/Mike_Muuss and my page about ping command https://www.cyberciti.biz/faq/unix-ping-command-examples/ examples for more info. #linux #unix #macos #freebsd #history #opensource