Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
Need a quick history recall? Use: history | tail
Start typing—press it again to cycle!
Forget to use sudo? Don't retype everything: sudo !!
It reruns your last command as root. Saved me more times than I can count!
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
#Linuxtricks - LETTRE OUVERTE A #YOUTUBE FRANCE
https://www.linuxtricks.fr/news/11-le-sac-de-chips/548-lettre-ouverte-a-youtube-france/
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.