piCorePlayer aliases
pCP Team
24 July 2020
pCP 5.0.0
CLI
To speed up some common Linux command line tasks we have defined a few aliases.
Alias | Description |
---|---|
ce | Change directory to /mnt/mmcblk0p2/tce |
ceo | Change directory to /mnt/mmcblk0p2/tce/optional |
m1 | Mount the boot partition /mnt/mmcblk0p1 |
m2 | Mount the second partition /mnt/mmcblk0p2 |
c1 | Change directory to /mnt/mmcblk0p1 |
c2 | Change directory to /mnt/mmcblk0p2 |
vicfg | Edit configuration file config.txt using vi |
vicmd | Edit boot file cmdline.txt using vi |
u1 | Unmount the boot partition /mnt/mmcblk0p1 |
u2 | Unmount the second partition /mnt/mmcblk0p2 |
Danger
A complete list of aliases is shown below—accurate at the time of writing.
Use the Linux alias
command to show what is available on your piCorePlayer—see Access piCorePlayer via ssh.
ls='ls -p'
cp='cp -i'
vicmd='vi /mnt/mmcblk0p1/cmdline.txt'
df='df -h'
u1='umount /mnt/mmcblk0p1'
u2='umount /mnt/mmcblk0p2'
c1='cd /mnt/mmcblk0p1'
c2='cd /mnt/mmcblk0p2'
rm='rm -i'
mv='mv -i'
la='ls -la'
du='du -h'
ceo='cd /mnt/mmcblk0p2/tce/optional'
ce='cd /mnt/mmcblk0p2/tce'
m1='mount /mnt/mmcblk0p1'
m2='mount /mnt/mmcblk0p2'
ll='ls -l'
vicfg='vi /mnt/mmcblk0p1/config.txt'
The Software and Information is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
Raspberry Pi is a trademark of the Raspberry Pi Foundation.