Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Unix & Linux

Why is there no “Euro English” locale?

August 9, 2022 by Magenaut

I used to use the somewhat whimsical en_DK.UTF-8 locale when installing a new system because that would produce (roughly) the locale results I wanted, even though I am not in Denmark.

Categories Q&A, Unix & Linux Tags i18n, locale Leave a comment

Getting information about a process’ memory usage from /proc/pid/smaps

August 9, 2022 by Magenaut

For a given process in /proc/<pid>/smaps, for a given mapping entry what are:

Categories Q&A, Unix & Linux Tags linux, memory, process, virtual-memory Leave a comment

Who runs the interpreter for files that are execute-only?

August 9, 2022 by Magenaut

If the current user only has execute (–x) permissions on a file, under which user does the interpreter (specified by #!/path/to/interpreter at the beginning of the file) run?

Categories Q&A, Unix & Linux Tags interpreter, permissions, process, shebang Leave a comment

Lowercasing all directories under a directory

August 9, 2022 by Magenaut

I want to lowercase every directories’ name under a directory. With which commands can I do that?

Categories Q&A, Unix & Linux Tags command-line, directory, rename Leave a comment

Monitor disk health using smartd (in smartmontools) on a high availability software RAID 1 server

August 9, 2022 by Magenaut

I have a server with three identical SATA/600 3TB drives: /dev/sda, /dev/sdb, /dev/sdc. The drives are partitioned, using GPT with three partitions each:

Categories Q&A, Unix & Linux Tags mdadm, raid1, smart, software-raid Leave a comment

Omitting extension with find?

August 9, 2022 by Magenaut

I need to create thumbnails from multiple .png files and would like to do this using ImageMagicks convert utility. To recursively find all files that are not thumbnails themselves, I am using the following call (split into two lines to make it readable):

Categories Q&A, Unix & Linux Tags find, imagemagick Leave a comment

How to suspend and bring a background process to foreground

August 9, 2022 by Magenaut

I have a process originally running in the foreground. I suspended by Ctrl+Z, and then resume its running in the background by bg <jobid>.

Categories Q&A, Unix & Linux Tags background-process, job-control, shell Leave a comment

Prevent systemd timer from running on startup

August 9, 2022 by Magenaut

I’ve been migrating my crontabs to systemd’s timer units. They all look similar to this:

Categories Q&A, Unix & Linux Tags cron, systemd, systemd-timer Leave a comment

cat files with directory

August 9, 2022 by Magenaut

Is there a command to show the directory/file name when cat files?

Categories Q&A, Unix & Linux Tags cat, filenames Leave a comment

Non-ASCII printable characters in sshd banner

August 9, 2022 by Magenaut

It’s possible to configure a banner for sshd that is to be displayed as a connection is opened, via Banner /etc/motd.ssh in sshd_config. Note that this is displayed before the authentication occurs, and even when an interactive shell is not launched (e.g. via scp).

Categories Q&A, Unix & Linux Tags colors, ssh, unicode Leave a comment
Older posts
Newer posts
← Previous Page1 … Page122 Page123 Page124 … Page371 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress