26 lines
922 B
Plaintext
26 lines
922 B
Plaintext
# ~/.profile: executed by Bourne-compatible login shells.
|
|
|
|
if [ "$BASH" ]; then
|
|
if [ -f ~/.bashrc ]; then
|
|
. ~/.bashrc
|
|
fi
|
|
fi
|
|
|
|
mesg n 2> /dev/null || true
|
|
|
|
|
|
alias e="exit"
|
|
alias cm="ps -eo comm,pcpu --sort -pcpu | head -8; ps -eo comm,pmem --sort -pmem | head -8"
|
|
alias st='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3'
|
|
alias myip='curl icanhazip.com'
|
|
alias wttr='curl wttr.in'
|
|
|
|
neofetch
|
|
|
|
|
|
alias peer-count='cd ~/ceremonyclient/node && grpcurl -plaintext -max-msg-sz 150000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerInfo | grep peerId | wc -l && cd ~'
|
|
alias node-info='cd ~/ceremonyclient/node && ./node -node-info && cd ~'
|
|
alias db-console='cd ~/ceremonyclient/node && ./node --db-console && cd ~'
|
|
alias balance='cd ~/ceremonyclient/node && ./node -balance && cd ~'
|
|
alias node-log='sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat'
|