1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-11-22 16:16:05 +01:00
cdf2018-principal/raspberrypi/board/robotech/cdfprincipal/rootfs_overlay/root/.profile
2018-05-06 18:35:26 +02:00

34 lines
445 B
Bash

#!/bin/sh
alias la='ls -al'
alias ll='ls -l'
alias cp="cp -i"
alias mv="mv -i"
alias free='free -m'
alias df='df -h'
export PS1="[\u@\h \W] "
export PS2="> "
export PS3="+ "
export PS4="- "
alias r="/etc/init.d/S50chef restart"
alias c="cd /opt/chef/"
s()
{
/etc/init.d/S50chef stop
/opt/chef/bin/testStop
}
f()
{
/etc/init.d/S50chef stop
/opt/chef/bin/testFree
}
l()
{
tail -f $(find /opt/chef/log | sort | tail -1)
}