mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-11-25 09:36:04 +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)
|
|
}
|