What's the coolest thing you know on Ubuntu
Comment down below what is some interesting things you know on Ubuntu. Like a cool shortcut or something else. I am also taking Post ideas!
If you write a bash scripts to automate specific tasks, you might get frustrated because you have to say yes to every command you run. Prefix any command with yes | to bypass it ;)
yes | apt-get update
Suhail Kakar.
You can just add the -y
flag right before typing in the apt get command.
Example when I need to type yes
to continue.
sudo apt-get install apache2
Example when I don't need to type yes
to continue.
sudo apt-get install apache2 -y
Try it out👍💡