using_aliases_in_raspbian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
using_aliases_in_raspbian [2016/07/25 12:14] – walkeradmin | using_aliases_in_raspbian [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
\\ | \\ | ||
\\ | \\ | ||
- | You need to edit the .bash file for the logged in user who will use this alias. I am logged in as root, so I will edit that bash file.\ | + | You need to edit the .bash file for the logged in user who will use this alias. I am logged in as pi, so I will edit that bash file.\ |
\\ | \\ | ||
- | Navigate to root: | + | Navigate to pi home folder: |
\\ | \\ | ||
- | cd /root | + | cd /home/pi |
\\ | \\ | ||
Show the list of files: | Show the list of files: | ||
Line 24: | Line 24: | ||
Edit the .bashrc file by entering: | Edit the .bashrc file by entering: | ||
\\ | \\ | ||
- | sudo nano /root/.bashrc | + | sudo nano /home/pi/.bashrc |
\\ | \\ | ||
My default .bashrc file looks like this: | My default .bashrc file looks like this: |
using_aliases_in_raspbian.1469445265.txt.gz · Last modified: 2023/03/09 22:35 (external edit)