Ask HN: Whats the first command you run on a new server? 1 points by fragmede 18d ago ↗ HN When you get access to a new server via ssh, what's the first command you run? ls? nproc? lsb_release -a? uname -a?
[–] jkahrs595 18d ago ↗ curl ascii.live/rick [–] fragmede 18d ago ↗ ssh funky.nondeterministic.computer
[–] abotsis 18d ago ↗ Was going to say /bin/init but your question was too well scoped. So “apt install htop”.
[–] wazzaps 18d ago ↗ apt install fish && chsh -s /usr/bin/fish && curl https://github.com/wazzaps.keys >> ~/.ssh/authorized_keysIf I'm manually running commands on a server it means I'll likely use it interactively a lot, might as well not suffer [–] [dead] LamGC 15d ago ↗ [flagged]
[–] karmakaze 18d ago ↗ Who, what, when, where, how, am I? whoami uname -a; cat /etc/issue date pwd; curl http://ipv4.icanhazip.com df -h; free -h; # htop
24 comments
[ 0.18 ms ] story [ 10.4 ms ] threadI’m not kidding! That man.db is a light in the dark!
If I'm manually running commands on a server it means I'll likely use it interactively a lot, might as well not suffer
pwd
ls -la