Skip to content

Commit

Permalink
Update UsefulShellTricks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
seamusdemora authored Sep 3, 2024
1 parent 5cc17d5 commit 90e8bb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UsefulShellTricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ The problem is obvious once it's explained, but the solutions may vary. The **pr
```

If you're interested, this [Q&A on SO](https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr) has much more on this subject.
[****](#table-of-contents)
[****](#table-of-contents)

## Refresh shell configuration without restarting:

There are two user-owned files that control many aspects of the `bash` shell's behavior - uh, *interactive shells, that is*: `~/.profile` & `~/.bashrc`. Likewise for `zsh`, the `~/.zprofile` & `~/.zshrc`. There will be occasions when changes to these files will need to be made in the current session - without exiting one shell session, and starting a new one. Examples of such changes are changes to the `PATH`, or addition of an `alias`.
Expand Down

0 comments on commit 90e8bb1

Please sign in to comment.