Questions tagged [util-linux]

A suite of essential system utilities for Linux.

29 questions
2
votes
2 answers

Could you suggest how to use `rename.ul` under Ubuntu 22.04 ? Many thanks?

Could you suggest how to use rename.ul under Ubuntu 22.04 ? Many thanks ! Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com * Management: …
SOUser
  • 329
2
votes
1 answer

util-linux look with german umlauts

I am currently having problems with util-linux's look in combination with German umlauts (ä, ö, ü). For testing purposes I set LC_ALL=de_DE.UTF-8. Consider german.dic: Aachen Rindfleisch in UTF-8 encoding: $ file german.dic german.dic: UTF-8…
2
votes
2 answers

Remote discovery of hostname and IP address

In my environment there are about 1000 production servers. Direct root login is disabled on all servers. There is one user "abc" which has sudo access. We login to each computer using "abc" and then sudo su - to get root access. Please note that I…
2
votes
1 answer

lsblk does not return the entire line for the results

I am having trouble with the command below: ssh -q -o PubkeyAuthentication=yes -o StrictHostKeyChecking=no -o ConnectTimeout=2 -o BatchMode=yes SERVERNAME "lsblk -il" 2>/dev/nul It returns the results I am looking for until the result is longer…