Post AxH7NknWFVmQdLNfo8 by [email protected] | |
More posts by [email protected] | |
Post #AxGZwKPwvPZsVjffZw by [email protected] | |
1 likes, 1 repeats | |
Here's a little tip for terminal users: you can use the /etc/os-release fil… | |
Post #AxGaS0Bffz8B2C5zzk by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Alas. Not there on MacOS./etc/os-release: Command not found. | |
Post #AxGaTOdeFibr9rqYXg by [email protected] | |
0 likes, 0 repeats | |
@nixCraft #macOs : Nope | |
Post #AxGbc1HkY41BI2HOro by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I bet this doesn't work on TempleOS | |
Post #AxGbki3tOGCKH8wRbE by [email protected] | |
0 likes, 0 repeats | |
@nixCraft huh, it even works with NixOS! Kind of unexpected, given that its `/e… | |
Post #AxGbrNg7ZdAt5J0J1c by [email protected] | |
0 likes, 0 repeats | |
@nixCraft What happens if i edit it? | |
Post #AxGch8UNIDVh29Bjjk by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Why not uname -a ?I think that works on any Unix (?) | |
Post #AxGhpU4HRgby30mbNw by [email protected] | |
0 likes, 0 repeats | |
@nixCraft you could also do hostnamectl that works on most OS and does not rely… | |
Post #AxGz69OLGu5U43hR9E by [email protected] | |
0 likes, 0 repeats | |
@nixCraft batcat ?? | |
Post #AxH717avKD4CfzhItE by [email protected] | |
0 likes, 0 repeats | |
@hoco The file is a textfile not a command.Trycat /etc/os-release @nixCraft | |
Post #AxH717hevASF0sqgO8 by [email protected] | |
0 likes, 0 repeats | |
@_nibbles @nixCraft cat: /etc/os-release: No such file or directoryFWIW, I did … | |
Post #AxH74HmNukh78IZDxw by [email protected] | |
0 likes, 0 repeats | |
@Miner34 @nixCraft your computer turns back into a pumpkin | |
Post #AxH74HuBRkvtWUDS7c by [email protected] | |
0 likes, 0 repeats | |
@purple @Miner34 @nixCraft | |
Post #AxH74kL5jJ5ri31Kwy by [email protected] | |
0 likes, 0 repeats | |
@hoco @nixCraft it looks like you forgot to put `cat` before the file name? | |
Post #AxH74kR7Mtuk0jq9LM by [email protected] | |
0 likes, 0 repeats | |
@pmmeurcatpics @nixCraft I didn't forget the cat. I never forget the cat. … | |
Post #AxH774ZbTGGR2kuxYu by [email protected] | |
0 likes, 0 repeats | |
@hoco If you check the image in the first post you see that batcat is typed bef… | |
Post #AxH774fz5XMtMXu3VY by [email protected] | |
0 likes, 0 repeats | |
@_nibbles @nixCraft Yes, I was producing an error message on purpose. | |
Post #AxH7B8wLB4BZkFUfzM by [email protected] | |
0 likes, 0 repeats | |
@nixCraft The best option for #macOs seems to be:system_profiler SPSoftwareData… | |
Post #AxH7BArS2DSlhfDne4 by [email protected] | |
0 likes, 0 repeats | |
@ericdere @nixCraft Does uname work in osx? | |
Post #AxH7KAjbsGkDuvqPtQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft `sw_vers` in macOS | |
Post #AxH7NknWFVmQdLNfo8 by [email protected] | |
0 likes, 0 repeats | |
@YourOwnNopeRope @nixCraft I would imagine so; it works on macOs Sequoia | |
Post #AxH7QA679iBhgAE7yi by [email protected] | |
0 likes, 0 repeats | |
@ericdere @nixCraft if you just want basic build and release version info, sw_v… | |
Post #AxH7nFiCRpvZkg3FVw by [email protected] | |
0 likes, 0 repeats | |
@clanger9 @nixCraft because that in no way gives the same information? | |
Post #AxH7vXuiepLsWLrVOC by [email protected] | |
0 likes, 0 repeats | |
@ericdereQuite handy command easy to remember 🤣 thanks tho @nixCraft | |
Post #AxHPdBCSAQRI2MY5ei by [email protected] | |
0 likes, 1 repeats | |
@hoco I appreciated that, even if others did not. (-:#MacOS | |
Post #AxHXp4c5HU9ciXigsK by [email protected] | |
0 likes, 0 repeats | |
@nixCraft :( | |
Post #AxHZW9me28hV9vlcLQ by [email protected] | |
0 likes, 0 repeats | |
@sir_anders @nixCraft hostnamectl gets its information across the #DesktopBus f… | |
Post #AxHZWHqq2QoCBFn4zY by [email protected] | |
0 likes, 0 repeats | |
@clanger9 @nixCraft It works *differently* across different operating systems. … | |
Post #AxHZWqwNZp2N0ZeUzI by [email protected] | |
0 likes, 0 repeats | |
@mjg @nixCraft @linuxfoundation /etc is also specified in the SVID, volume 1, i… | |
Post #AxHsWzNw4wXwKMJtzM by [email protected] | |
0 likes, 0 repeats | |
@nixCraft /etc/os-release exists for Solaris 11.4. It even tells you if you hav… | |
Post #AxHwCmWmZWGKTa4t2e by [email protected] | |
0 likes, 0 repeats | |
@danjones000 @strk yeah it is just bat (on Debian and co it is called batcat) | |
Post #AxIZJF94yu27BM3xpI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Incorrectly reported that the Debian system I recently updated from 1… | |
Post #AxTDteRCMVMtnT3KM4 by [email protected] | |
0 likes, 0 repeats | |
@JdeBP @nixCraft Perhaps true, but how can then hostnamectrl display info that … | |
Post #AxTDteZhqsAqDr27cG by [email protected] | |
0 likes, 0 repeats | |
@sir_anders @nixCraft It reads other files too, of course. Delete your machine… |