Home About Projects Feedback Devlog Notes Contact
Home About Projects Feedback Devlog Notes Contact
Aamnah working

Hi, I am Aamnah!

I build amazing user experiences and tinker with all things web

Say hi
Notes

[Bash] Reload Bash Shell without quitting

Edit on GitHub
Nov 20, 2015
Last updated: Mar 13, 2017
Linux
bash

You just have to enter the command:

1source ~/.bashrc

or you can use the shorter version of the command:

1. ~/.bashrc

or you could use;

1exec bash

does the same thing. (and easier to remember, at least for me)

exec command replaces the shell with given program, in our example, it replaces our shell with bash (with the updated configuration files)

Links

  • StackOverflow: How do I reload .bashrc without logging out and back in?

Related

  • [Bash] Bash PATH Environment Variable
  • Bash script to create OCMOD and vQmod templates with a single command
  • Bash script to create Media Queries with Sass
  • Coloring the Mac Terminal
  • Tool - Bash Prompt ($PS1) Generator
Recent Posts
  • Install VNC server on Armbian
  • Create a sublime text snippet to insert a slug
  • Load Go modules from private repos
  • Add author profiles to blog posts on Hugo websites
  • Load content from a github repo for a hugo website as a module
  • Hugo assets directory
Popular Tags
linux (16) bash (11) es2015 (11) mysql (11) how-to (10) array methods (9) commands (9) concepts (8) cheatsheet (7) sass (7) free (6) ssh (6) compass (5) fastlane (5) python (5) backups (4) database (4) editor (4) netlify (4) opencart (4)
Browse all topics
Algorithms Amazon Web Services (AWS) Android APIs Armbian Bash Scripting C# Cheatsheets Commands CSS & Sass Databases DevOps Docker DRAFTS Expo Fastlane Firebase Flutter Gatsby Git & Github Go GraphQL Hardware Hugo iOS JavaScript Jekyll JS Interview Prep Linux Load Go modules from private repos macOS Misc. Node Node API OpenCart Personal PHP Programming Python Raspberry Pi React Native & Expo ReactJS Redux Serverless System Administration Typescript Ubuntu Web Development WordPress Workflow

Please note that this site and the posts on it are, and will always be, a work in progress.
If i waited for perfection, i'd never get anything done.

Powered by Hugo and Netlify .
Made by Aamnah with and magic!
RSS