using_aliases_in_raspbian
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| using_aliases_in_raspbian [2016/07/25 11:14] – walkeradmin | using_aliases_in_raspbian [2016/07/25 11:15] (current) – walkeradmin | ||
|---|---|---|---|
| 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: (external edit)
