PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

What's the coolest thing you know on Ubuntu

howtoubuntu

Sep 20th, 2021 02:18 PM

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!

suhailkakar

Sep 21st, 2021 07:25 AM

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
Report
1
howtoubuntu

Sep 21st, 2021 03:19 PM

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👍💡