Cat /etc/hostname thread

cat /etc/hostname thread.

X220.laptop

Nifleheim.

dianna

jetson

x200

marina
oberon
puck

call me boring but I name it after the model if it's a laptop and "desktop" if it's a desktop. Example:
EliteBook 8460p
>elitebook
Toshiba Satellite C5421
>toshiba
Chink Shit clad desktop
>desktop

archtop

$ cat /etc/hostname
timesink

Guess my OS.

>Mom, I can't go out today. Pacman just fucked up my conf files!

alienmode-OptiPlex-390

$ cat /etc/hostname
cat: /etc/hostname: No such file or directory

Are hostnames just another fingerprinting method?

...

% cat /etc/hostname
mksh: cat: /etc/hostname: No such file or directory

divastation

cat /etc/hostname
thinkpad-x220

...

what kind of sorcery you're using

debian-x230t

secondary

Kevin

[root@mizunet]~> cat /etc/hostname
mizunet-router05.lan

cd code
cd..
cd..
cd..
cd ..
ls
cd code
cd ..
cd


Seriously though you're in your home directory (~ or /home/yourname) since /etc is located at the root (/) directory you need to go up 2 directories. cd .. navigates up 1 directory so you can do that twice or you can go up multiple directories like cd ../..

cd means change directory btw and mind the space between cd and ..

Check out how I executed cat and navigated up 2 directories from my home (~ or /home/user) and into /etc/hosnames in the one liner in my pic related. Navigating bash is pretty great once you get the hang of it.

Forgot image