🚀 Never lose important shell output again! This simple 1-step automation will save all your terminal outputs automatically, making your cybersecurity note-taking effortless. Just copy and paste the script into ~/.zshrc, and you're good to go! 🔹 What You'll Learn: ✅ How to automatically save shell output ✅ A quick and easy Zsh trick for better note-taking ✅ Cybersecurity productivity hacks 💻 Copy the script below and level up your hacking workflow! 👇 ``` if [ -z "${UNDER_SCRIPT}" ]; then logdir=${HOME}/logs logfile=${logdir}/$(date +%F.%H-%M-%S).$$.log mkdir -p ${logdir} export UNDER_SCRIPT=${logfile} echo "The terminal output is saving to $logfile" script -f -q ${logfile} exit fi ``` // VeryLazyTech Social // My Shop: https://buymeacoffee.com/verylazytech... Medium: https://medium.com/@verylazytech Github: https://github.com/verylazytech Buy Me A Coffee: https://buymeacoffee.com/verylazytech My site: https://www.verylazytech.com X: https://x.com/verylazytech #CyberSecurity #EthicalHacking #Zsh #LinuxTips #Automation #PenTesting #HackingTips #CTF #BugBounty #infosectrain

Comments