saturnia
Cat /etc/hostname
'cat' is not recognized as an internal or external command, operable program or batch file.
cat: /etc/hostname: No such file or directory
Betelgeuze
localhost
ncc42254
[max@Xephyr ~]$ hostnamectl
Static hostname: Xephyr
Icon name: computer-laptop
Chassis: laptop
Machine ID:
Boot ID:
Operating System: Fedora 29 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:29
Kernel: Linux 4.20.8-200.fc29.x86_64
Architecture: x86-64
Goosh, systemd looks really gay.
x200s
Does anyone have screencap of the thread where someone replaced cat with a dog that could only print "Hello World"? Was laughing my ass off reading it.
Doubling the request.
Raspberry pi
>hostnamectl
the power of bloat, ladies and gentlemen.
Why are you here, boomer?
Leave!
baka
battlestation
Have you heard of our lord and savior systemd-timedated?
what? what does that do?
like i get it d's time and date but you set and get and what else?
...why not use the bios to configure something so basic?
>systemd-timedated is a system service that may be used as a mechanism to change the system clock and timezone, as well as to enable/disable NTP time synchronization. systemd-timedated is automatically activated on request and terminates itself when it is unused.
There's also timedatex as a superior replacement for systemd-timedated. It invokes systemd-timesyncd for setting time via NTP.
Navi
echo $HOSTNAME
augustus
Ave Roma!
Damn I hate systemd.
But you're computer loves it.
>hostnamectl
Consider the following: the hostnamectl binary is linked to around 30 libraries, including the likes of libpthread, libcryptsetup, libkmod, libblkid, libdevmapper, libargon2 and libgpg-error. It also never touches /etc/hostname, if you strace it when setting a hostname.
macfag
msys2fag technically
It doesn't touch /etc/hostname because systemd-hostnamed does that, which does get invoked by hostnamectl.
2hubox
nicebox
reimubox
patchebox
kaguyabox
marisabox
okuubox
arch
cat: /etc/hostname: No such file or directory
void
Ryzen5
nemissa
kirino
stocking
pharah
based iPhone poster
This post is making me irrationally angry
4.4 Tue Feb 19 jason@Yog-Sothoth 0: $ hostnamectl | awk '/hostname: / { print $3 }'
Yog-Sothoth
osiris
ShitToaster
sagiri
Maybe when I refurb my older laptop
>using fucking awk
>not hostnamectl --static
sakamoto
desktop
localhost.localdomain
Memed
Based iPhone poster
Fuck, beat me to it.
dom0
cat /etc/hostname
cat : Cannot find path 'C:\etc\hostname' because it does not exist.
At line:1 char:1
+ cat /etc/hostname
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\etc\hostname:String) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
I'm not komputah
Nice try NSA
redmagician
I name my machines according to jojo stands
Moron
>hostname
sigismund-hrr