Ask HN: Whats the first command you run on a new server?

7 pointsposted 14 hours ago
by fragmede

Item id: 50027624

16 Comments

wazzaps

24 minutes ago

apt install fish && chsh -s /usr/bin/fish && curl https://github.com/wazzaps.keys >> ~/.ssh/authorized_keys

If I'm manually running commands on a server it means I'll likely use it interactively a lot, might as well not suffer

abotsis

7 hours ago

Was going to say /bin/init but your question was too well scoped. So “apt install htop”.

Grombobulous

12 hours ago

sudo tail -f /var/log/cloud-init-output.log

jwstillwater

11 hours ago

apt install man

I’m not kidding! That man.db is a light in the dark!

jkahrs595

9 hours ago

curl ascii.live/rick

fragmede

8 hours ago

ssh funky.nondeterministic.computer

Aspos

9 hours ago

sudo apt install mc

mkj

7 hours ago

dmesg