tgindex

Linux Tricks

описание

Discover some fun and clever tricks for using the Linux terminal that are more awesome than practical.

251
подписчиков
Охват к подписчикам
140,2%
ERR
Реакции к просмотрам
0,75%
53 на 20 постов
Пересылки к просмотрам
0,62%
44
Постов в день
0,0
всего 20

Где отзываются чаще

доля реакций к просмотрам
  • 14 мая‼️🚨 MAJOR IMPACT: AI just found an 18-year-old NGINX critical remote code execution vulnerability. It has been disclosed on GitHub including PoC code. - Affects NGINX 0.6.27 through 1.30.0 - Triggered via the rewrite and set directives in config - Update NGINX ASAP - NGINX is a widely used HTTP web server, be sure to check its prevalence in other products https://github.com/DepthFirstDisclosures/Nginx-Rift2,68%
  • 25 апр.AI Just Changed Security Forever Something major happened in March 2026 that nobody saw coming. What's happening: AI agents are now finding 5-10 real Linux zero-day vulnerabilities EVERY DAY They're no longer producing junk reports — they're finding actual critical bugs Human maintainers can't keep up with reviewing them all The numbers: GitHub hit 14 billion commits in 2026 Security researchers are overwhelmed Companies like Anthropic and OpenAI have AI systems running 24/7 hunting for vulnerabilities Why this matters: Bad actors could use the same AI to find vulnerabilities before they're patched Open-source maintainers are facing a "review crisis" — too many reports to check The race is on: who finds the bugs first? The bottom line: AI is now better than humans at finding security holes. This is both exciting and terrifying. Read more: https://aiforautomation.io/news/2026-04-05-ai-agents-just-cracked-open-source-security-linux-zero-days #ai #security #zeroday #devsecops #cybersecurity #infosec2,37%
  • 14 дек.Last week my Suse Linux had a long boot time, when this problem occurred, you can see what takes so long on the boot screen by pressing ESC key or debug it using the following command: systemd-analyze blame2,25%
  • 28 дек. 2024 г.Skopeo This tool is used for working with remote image registeries. e.g: 1. Copy an image from one registry to a private registry skopeo copy docker://docker.io/library/nginx:latest docker://registry.example.com/nginx:latest 2. Delete an image: skopeo delete docker://registry.example.com/nginx:latest 3. Inspect image details skopeo inspect docker://docker.io/library/nginx:latest 4. List tags of an image skopeo list-tags docker://docker.io/nginx 5. Sync all tags of an image to a USB skopeo sync --src docker --dest dir registry.example.com/busybox /media/usb The above command downloads all tags of the busybox image to the /media/usb directory. more info: https://github.com/containers/skopeo?tab=readme-ov-file #docker1,33%
  • 16 апр. 2025 г.A Simple Command to Trigger SCSI Bus Rescan and List Block Devices It's useful for detecting new hard drives in Linux for host_dir in `ls /sys/class/scsi_host/*`; do echo $host_dir;echo "- - -" > $host_dir/scan;ls /dev/sd*; done #linux #disk #vmware1,32%
  • 29 февр. 2024 г.#useful_commands bandwhich is a command-line utility that provides real-time, comprehensive insights into your network usage. It's written in Rust and can display network usage by process, connection, or remote IP/hostname. Here are some of the things you can do with bandwhich: - Display only the remote addresses table: bandwhich --addresses` - Show DNS queries: bandwhich --show-dns - Show total (cumulative) usage: bandwhich --total-utilization - Monitor a specific network interface: bandwhich --interface eth0 - Show DNS queries with a given DNS server: bandwhich --show-dns --dns-server dns_server_ip https://github.com/imsnif/bandwhich1,02%
  • 25 мар.Very important security warning Version 1.82.8 of the litellm package is compromised and is actively collecting sensitive system data without your knowledge and sending it to an external server. This is a serious Supply Chain Attack and must be treated as…1,01%
  • 24 мар.Save Docker Images with Compression Save space by compressing your Docker images. Without compression, using docker save alone creates a raw tar file that takes up the full size of all image layers combined. This can quickly eat up disk space, makes transfers slower, and wastes bandwidth when sharing images with teammates. For large images, an uncompressed tar file can be several gigabytes, making it impractical to store or send. gzip (fast): docker save nginx:latest | gzip > nginx.tar.gz bzip2 (smaller file): docker save nginx:latest | bzip2 > nginx.tar.bz2 Load gzip: gunzip -c nginx.tar.gz | docker load Load bzip2: bunzip2 -c nginx.tar.bz2 | docker load Pick gzip for speed, bzip2 for smaller files. Real example: A 17.4GB DevDocs image compressed down to just 3.4GB with bzip2. That's an 80% reduction in size! @linuxtricks #docker #compress0,95%
  • 2 дек.The best habit is taking notes for every fix you apply. Not a big document. Just an application, a short file, or a small wiki, or a markdown note. I strongly recommend, using Joplin: https://github.com/laurent22/joplin It could integrate with S3 and you can have your notes, every where. Write: 1. what broke 2. the exact command you used 3. why it worked This prevents repeat mistakes and saves hours of debugging in the future. This is how you grow fast. This is how you stay sharp.0,93%
  • 2 февр. 2024 г.🔐 Secure your Kubernetes! Install kube-hunter with: pip install kube-hunter Run it with kube-hunter and choose your scan. In the attached screen shot, i selected "Interface scanning", and it detected a vulnerability on my "kind cluster" #Kubernetes #Security0,79%
  • 3 нояб. 2023 г.Download multiple files from a list of urls using curl 1.1 create a file with the list of urls, e.g. urls.txt: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.2.0-amd64-netinst.iso https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-edu-12.2.0-amd64-netinst.iso https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-mac-12.2.0-amd64-netinst.iso With xargs ``` xargs -n 1 curl -O < urls.txt ``` with for ``` for url in $(cat urls.txt); do curl -O $url; done ``` With while ``` while read url; do curl -O $url; done < urls.txt ``` #curl @linuxtricks0,58%
  • 1 мар. 2024 г.Have you ever encountered an error like this when using crictl with containerd? FATA[0000] listing containers: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/run/dockershim.sock: connect: no such file or directory" This error occurs because crictl is trying to connect to Docker, but Docker isn’t running or installed. If you’re using containerd, you need to tell crictl to use it instead. Create or modify the crictl configuration file, typically located at /etc/crictl.yaml vim /etc/crictl.yaml Then add the following lines to it: runtime-endpoint: unix:///run/containerd/containerd.sock image-endpoint: unix:///run/containerd/containerd.sock timeout: 10 debug: false Run again crictl ps , that’s it! #containerd0,45%