Featured post

Delete Youtube from Android devices permanently

Download the  Platform-tools  for the Windows system.  Turn on USB debugging on your phone in developer mode. Connect the phone to the syst...

Friday, 16 May 2025

command to reopen the terminal without reopening it.

source ~/.bashrc 

Basically this command will update and open the bash file in the same terminal page, But writing this sucks!

Instead, 

Type: nano ~/.bashrc

And at the end type: alias reopen='source ~/.bashrc'. After typing this, press Ctrl+O, Enter, and Ctrl+x respectively. Then type source ~/.bashrc. And you are good to go.


Now, Typing reopen will update and reopen it on the same page. cool!

Bonus;

You can also add something like this to directly open it up from the terminal, which looks great!


No comments:

Post a Comment