Recent posts tagged linux

Description for Tag: "linux"

An open-source operating system known for its stability and flexibility.
Fabien B. • 1 day • in Discussions • 2 min read forumDiscussion group7 participants post-cover-36357
  • ai
  • llm
  • architecture
  • discuss
sarkardeba5684 • 3 days • in Articles • 1 min read
Little teaser about my PS2linux MX4SIO project progress After 1 months of working MX4SIO SD card adapter along side working with custom IOP module, loaded through kernelloader and with patched Linux 2.6.35.4 block driver Booting into Debian userla...
post-cover-36083
  • linux
  • programming
  • hardware
BashSnippets • 3 days • in Articles • 1 min read
The reflex when /etc says no is to put sudo in front. From a script: $ sudo echo "maxconn=200" > /etc/demo.conf pd.sh: line 2: /etc/demo.conf: Permission denied exit=1 $ echo "maxconn=200" | sudo -n tee /etc/demo.conf sudo: a password is required ex...
post-cover-33583
  • bash
  • linux
  • sysadmin
  • devops
BashSnippets • 4 days • in Articles • 1 min read
Five lines whose only job is to refuse a deploy when the token is missing. Run with the token unset: $ cat deploy-guard.sh !/bin/bash if -n $DEPLOYTOKEN ; then echo "token present, deploying" else echo "no token, refusing" >&2; exit 1 fi $ env ...
post-cover-33582
  • bash
  • linux
  • devops
  • shellcheck
MahanKenway • 4 days • in Articles • 5 min read
By Mahan Kenway Cover illustration: original conceptual artwork created for this article. When a critical vulnerability is disclosed, the best answer is usually to install the vendor's fix. The awkward part is the time between knowing a system is v...
post-cover-35855
  • artificial-intelligence
  • cybersecurity
  • linux
  • open-source
Artem Senenko • 5 days • in Articles • 9 min read
> TL;DR > > Caddy, the reverse proxy in front of my service, had a 1 GiB memory cap and no swap allowance. I checked it in the kernel after the deploy: memory.swap.max was 0. Four days later, an unattended libc upgrade re-executed systemd. Docker had...
post-cover-35772
  • docker
  • linux
  • devops
  • systemd
BashSnippets • Nov 19 • in Articles • 1 min read
rm -rf "$TARGET/" looks correct. The quotes are right and the glob sits outside them, where it has to. I put it in a two-line script in a scratch directory and asked what happens when TARGET is empty, with echo in front so rm never ran: the command l...
post-cover-29100
  • bash
  • linux
  • shellcheck
  • devops
inevolin • Nov 19 • in Articles • 2 min read
!Omarchy 4.5 link preview card: install an OS in seven secondshttps://nevolin.be/assets/blog/hero/omarchy-install-seven-seconds.webp User expectations in software are shifting, radically. Installing an operating system used to take a long time. Som...
  • productivity
  • linux
  • softwareengineering
  • devops
BashSnippets • Nov 18 • in Articles • 1 min read
A four-line cleanup script, cd /srv/drop, rm .log, echo "cleanup done", run on a scratch tmpfs. At 80,290 files it emptied the directory. At 80,291: $ /srv/cleanup.sh /srv/cleanup.sh: line 4: /usr/bin/rm: Argument list too long cleanup done exit=0 $...
post-cover-30659
  • bash
  • linux
  • sysadmin
  • devops
BashSnippets • Nov 17 • in Articles • 1 min read
Two rsync commands one character apart both exit 0 and put the same file in different places. I ran them side by side in a scratch directory, rsync 3.5.0, with one file at projects/app/main.sh: $ rsync -a projects backup-a/ $ find backup-a -type f b...
post-cover-29099
  • bash
  • linux
  • devops
  • sysadmin
Abstraction • Nov 13 • in Articles • 1 min read
Not every programming challenge needs a framework or a high-level abstraction. Sometimes, understanding what happens closer to the hardware makes all the difference. Working with languages like C and C++ teaches developers to think carefully about m...
  • linux
  • opensource
  • programming
BashSnippets • Nov 12 • in Articles • 1 min read
On August 6 my laptop booted to a blank terminal. lightdm has Restart=always, and systemctl status said active running. Xorg had entered the NVIDIA init about 140 ms before the device nodes existed and hung there for fourteen hours: state S, 20 ms of...
post-cover-29098
  • bash
  • linux
  • sysadmin
  • devops
BashSnippets • Nov 11 • in Articles • 1 min read
My dev server came up on 3001 for months because something had 3000. As a normal user, ss -ltnp 'sport = :3000' showed two rows, 0.0.0.0:3000 and :::3000, with nothing under Process. I had seen output like that before and moved on. Run back through ...
post-cover-30658
  • linux
  • security
  • docker
  • bash
BashSnippets • Nov 10 • in Articles • 1 min read
On August 28 my laptop sat at 88 % disk. I deleted a 44.6 GB video intermediate I could rebuild any time. du on the folder dropped 44 GB. df on the filesystem moved 5. XFCE's thumbnailer, tumblerd, still had the file open, and a deleted file's blocks...
post-cover-29097
  • bash
  • linux
  • devops
  • sysadmin
ronidas071 • Nov 7 • in Articles • 16 min read
On 4 November, Replit published how it rebuilt the engine that runs every Replit project and every Replit Agent. The old engine ran code in Docker containers. The new one gives each sandbox its own small virtual machine, a microVM, with its own Linux...
  • system-design
  • security
  • linux
  • devops
ronidas071 • Nov 6 • in Articles • 19 min read
On 4 November OpenAI published a long write-up called "A thousand fewer paths to root". In one run, a pipeline of AI agents went through the Linux kernel, reproduced 1,724 real bugs, and proved that 948 different bugs could each let an ordinary user ...
  • ai-agents
  • security
  • linux
  • system-design
BashSnippets • Nov 5 • in Articles • 1 min read
EADDRINUSE right after you stopped the server usually has one cause: the process you launched is not the process holding the socket. I reproduced it on my own machine with the wrapper shape npm run dev uses, a shell that starts the real server as a c...
post-cover-29095
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Nov 3 • in Articles • 1 min read
Setting up SSH keys has a trap: every success signal can be green while the thing you cared about stays broken. ssh-copy-id exiting 0 means a line was appended to authorizedkeys — nothing more. A passwordless login afterwards means some auth method w...
post-cover-28029
  • bash
  • linux
  • ssh
  • security
CodeWithRomi • Oct 29 • in Articles • 6 min read
Tailscale SSH is a popular feature in homelab setups because it lets you ditch traditional SSH key management entirely and lean on your Tailnet's identity model instead. That makes the recent security investigation and remediation update worth paying...
post-cover-33031
  • security
  • linux
  • homelab
  • tutorial
BashSnippets • Oct 29 • in Articles • 1 min read
A world-writable file can be rewritten by every account on the machine — including the service account your web server runs as. Code executing as www-data through a compromised plugin doesn't need root: any chmod 777 you left behind during past debug...
post-cover-28028
  • bash
  • linux
  • security
  • sysadmin
chevron_left
🔥 195 posts • 👩‍💻 72 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile