29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
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.GetPeerManifests | grep peerId | wc -l && cd ~'
|
|
alias PeerManifests='cd ~/ceremonyclient/node && ./node-1.4.18-linux-amd64 -node-info && cd ~'
|
|
alias db-console='cd ~/ceremonyclient/node && ./node-1.4.18-linux-amd64 --db-console && cd ~'
|
|
alias balance='cd ~/ceremonyclient/node && ./node-1.4.18-linux-amd64 -balance && cd ~'
|
|
alias nlog='sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat'
|
|
alias nstart='service ceremonyclient start'
|
|
alias nrestart='service ceremonyclient restart'
|
|
alias nstop='service ceremonyclient stop'
|