mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-12-23 06:00:36 +01:00
34 lines
445 B
Bash
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)
|
|
}
|