#LTMLinuxTips - Day 4
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
#LTMLinuxTips - Day 4
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
🐧 #LTMLinuxTips - Day 3
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
🐧 #LTMLinuxTips - Day 2
Want to quickly find out what distro you're using?
Run: cat /etc/os-release
This gives you detailed info like distro name, version, and more.
With LD_PRELOAD, you can override functions in shared libraries before any program even starts. Want to intercept malloc, block file access, or spoof system calls without touching source code? This is how you do it. It’s an advanced but incredibly powerful debugging and hacking tool. One that developers and exploit authors alike keep close. You can use it to mock dependencies during testing, inject logging for hard-to-trace bugs, or even subvert DRM and monitoring software. It’s not just a trick, it’s a backdoor into the behavior of nearly any dynamic binary.
#LinuxTricks #LD_PRELOAD #SharedLibraryHacks #DebuggingTools
Quand je vois ce qui est arrivé à Adrien #Linuxtricks, je repense à la description de ma chaîne #PeerTube : https://peertube-blablalinux.be/
#Linuxtricks - LETTRE OUVERTE A #YOUTUBE FRANCE
https://www.linuxtricks.fr/news/11-le-sac-de-chips/548-lettre-ouverte-a-youtube-france/
How to Shrink Long or Multiple Commands into a Single Short Command
#Linux #LinuxTips #LinuxTricks #IT #SysAdmin #DevOps #Tech #LinuxCommand
https://linuxtldr.com/shrinking-long-or-multiple-commands-into-a-single-short-command/
Adrien #Linuxtricks - #Ubuntu 23.10 : Réactiver la possiblité d'installer des #DEB manuellement !
If you spend any amount of time on the command line and often need to read #Markdown .md files, for longer documents, wouldn't it be nice to see them formatted, and use the links?
You absolutely can using two utilities you probably already have on your system: #pandoc and #lynx.
I've added a function to my .bashrc to use it:
md() { pandoc $1 | lynx --stdin }
Usage:
md README.md
Of course, you can name the function anything you wish.
Attempting to run Windows 10 software in Linux WINE on a machine originally only able to run Windows XP, LOL. #linuxtricks
Linux kernel hardening is a crucial aspect of securing your system. By implementing techniques such as kernel-level access controls and removing unnecessary kernel modules, you can greatly reduce the attack surface of your system and increase its resistance to malicious actors. Don't neglect this crucial step in your overall security strategy.
#LinuxSecurity #KernelHardening #CernalHardening #LinuxCernal #LinuxKernel #SystemSecurity #CyberSecurity #LinuxAdmin #LinuxTips #LinuxTricks
🏵️ How much memory does my program use?
▶️ a frequent question on Stackoverflow
▶️ People usually try to use top, atop,ps. But sometimes it's a little bit confusing
💎 Read this post by @brk0v - It shows modern Linux memory tools
https://biriukov.dev/docs/page-cache/7-how-much-memory-my-program-uses-or-the-tale-of-working-set-size/
#linux #linuxtips #linuxtricks #sysadmins. #sysadmin #networking #netadmin #devops #softwareengineering
File permissions in Linux/Unix explained:
▶️ What is the meaning of the permission value how it is calculated
▶️ Octal representation of file permissions
https://vk9-sec.com/file-permissions-in-linux-unix/
Image credit:@alexxubyte
#ActuLibre Que devient le youtube linuxien francophone ? Bilan 3 ans après mon départ., à lire sur https://blog.fredericbezies-ep.fr/2021/11/02/que-devient-le-youtube-linuxien-francophone-bilan-3-ans-apres-mon-depart/ #masturbationintellectuelle #linuxfrancophone #logiciellibre #Informatique #Trucsdegeek #Linuxtricks #geekeries #Libreries #Internet #Actualia #adhésion #youtube #vidéos #bilan #libre #linux #3ans
Que devient le Youtube Linuxien francophone, 3 ans après mon départ. https://peertube.pcservice46.fr/videos/watch/38412994-b25e-4c21-aae0-0e4f42437470
@Shinra
Un article intéressant sur #LinuxTricks sur le coût d'un test PCR.
https://www.linuxtricks.fr/news/11-le-sac-de-chips/478-covid-19-non-les-tests-pcr-ne-sont-pas-gratuits/
For anyone use vim
command everywhere:
if you type vim
quit command in to a shell you will definitely got a command not found
.
Those alias can help you to solve those issue:
# Quit shell
alias :q='exit'
alias :wq='exit'
# Quit shell without saving command history
alias :q!='kill -9 $$'
Si vous ne savez pas quoi faire mercredi soir, @adrien_d de #Linuxtricks organise un Youtube Live pour une démo des nouveautés #Vivaldi 3.1 en compagnie de @gaellelo et de notre @Pierre national ! Le 17 juin, donc, à 20h (heure de #Dijon) https://youtu.be/HazHjns7etw
Regardez "Diviser par 2 la mémoire consommée par Fedora Workstation GNOME !" sur YouTube
https://youtu.be/ks75K6GZsek #fedora #linuxtricks