Life made easy

I am wondering

Why? always ?

sudo nano file_name
sudo apt-get install whatever
sudo apt-get install -f
sudo apt-get remove

Why not just!! Simplify.

Edit your ~/.bash_profile.

nano ~/.bash_profile

and add something like the following lines, which you use on a daily basis.

alias snano='sudo nano'
alias apt-update='sudo apt-get update'
alias apt-fix='sudo apt-get -f install'
alias apt-remove='sudo apt-get remove'

close and re-open it.

Now you can simply use apt-fix instead of typing sudo apt-get -f install

Life made simpler 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.