Post AtJ3WRVGufWjwMalKi by reindeerphoto@mastodon.social
(DIR) More posts by reindeerphoto@mastodon.social
(DIR) Post #AtIzPPPtsC15coTChk by stfn@fosstodon.org
2025-04-21T05:01:12Z
0 likes, 0 repeats
Random useful linux CLI thing I just learnt.If you don't want to see all that lengthy text after sshing to a machine, just dotouch ~/.hushloginon the machine you are sshing to. Now there won't be any messages to clutter your terminal.#linux #bash #ssh
(DIR) Post #AtJ3WRVGufWjwMalKi by reindeerphoto@mastodon.social
2025-04-21T05:47:14Z
0 likes, 1 repeats
@stfn Right, but tell people what they are doing with this command.If .hushlogin is not existing in the home directory (~/) touch is just creating an empty file named .hushlogin.But if it already exists: touch adoptes the access time stamp to the time touch is executed...#linuc #cli #commands #touch
(DIR) Post #AtJ4QOguYX3ZR1iXaq by stfn@fosstodon.org
2025-04-21T05:57:25Z
0 likes, 0 repeats
@reindeerphoto good point, thanks