2018-05-06 01:14:09 +02:00
|
|
|
#!/bin/sh
|
2018-02-07 17:57:01 +01:00
|
|
|
|
|
|
|
alias la='ls -al'
|
|
|
|
alias ll='ls -l'
|
|
|
|
alias cp="cp -i"
|
|
|
|
alias mv="mv -i"
|
|
|
|
alias free='free -m'
|
|
|
|
alias df='df -h'
|
|
|
|
|
2018-04-04 16:17:13 +02:00
|
|
|
export PS1="[\u@\h \W] "
|
2018-02-07 17:57:01 +01:00
|
|
|
export PS2="> "
|
|
|
|
export PS3="+ "
|
|
|
|
export PS4="- "
|
2018-05-02 08:26:35 +02:00
|
|
|
|
|
|
|
alias r="/etc/init.d/S50chef restart"
|
|
|
|
alias c="cd /opt/chef/"
|
2018-05-06 12:50:03 +02:00
|
|
|
|
|
|
|
s()
|
|
|
|
{
|
|
|
|
/etc/init.d/S50chef stop
|
|
|
|
/opt/chef/bin/testStop
|
|
|
|
}
|
|
|
|
|
2018-05-06 18:35:26 +02:00
|
|
|
f()
|
|
|
|
{
|
|
|
|
/etc/init.d/S50chef stop
|
|
|
|
/opt/chef/bin/testFree
|
|
|
|
}
|
|
|
|
|
2018-05-06 01:14:09 +02:00
|
|
|
l()
|
|
|
|
{
|
|
|
|
tail -f $(find /opt/chef/log | sort | tail -1)
|
|
|
|
}
|