Загрузка...

Fix "Permission Denied" Errors Instantly! 🛑 (Terminal Hack) #commandline #techshorts

Stop retyping long commands like a noob! 🛑

Ever spent time crafting a long command only to realize you forgot to add 'sudo' at the start? Instead of retyping everything or scrolling through your history, use this simple trick.

In this video, I demonstrate how sudo !! works. The !! tells your shell to grab the very last command you executed and run it again—this time with the administrative privileges you need.

How to use it:
Step 1: Run your command (e.g., apt install docker.io).
Step 2: See "Permission Denied."
Step 3: Type sudo !! and hit Enter.
Step 4: Success! ✅

Work smarter, not harder. 🧠

Subscribe for more lightning-fast developer tips! 🚀

Видео Fix "Permission Denied" Errors Instantly! 🛑 (Terminal Hack) #commandline #techshorts канала DeployU
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять