Skip to content

Magenaut

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

Unix & Linux

How can I make backspace act as escape using setxkbmap?

August 11, 2022 by Magenaut

There seem to be several options for setxkbmap such as -option caps:backspace which makes caps a backspace. However I cannot seem to find an option that makes backspace an escape key. How do I create a single setxkbmap command that changes the backspace key to an escape key?

Categories Q&A, Unix & Linux Tags keyboard-shortcuts, xkb Leave a comment

How do I resize partitions and filesystems on them?

August 11, 2022 by Magenaut

How can I resize partitions from the command line? I’ve heard of GParted, but I don’t want to use a GUI program.

Categories Q&A, Unix & Linux Tags command-line, filesystems, partition Leave a comment

How is umask calculated in Linux?

August 11, 2022 by Magenaut

So I know umask can restrict privileged users, using this format umask ugo.

Categories Q&A, Unix & Linux Tags umask Leave a comment

How can I find broken symlinks

August 11, 2022 by Magenaut

Is there a way to find all symbolic links that don’t point anywere?

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

Actual memory usage of a process

August 11, 2022 by Magenaut

The following are the memory usage of mysql and apache respectively on my server. As per the output of pmap say, mysql is using about 379M and apache is using 277M.

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

Best way to follow a log and execute a command when some text appears in the log

August 11, 2022 by Magenaut

I have a server log that outputs a specific line of text into its log file when the server is up. I want to execute a command once the server is up, and hence do something like the following:

Categories Q&A, Unix & Linux Tags logs, shell-script, tail, text-processing Leave a comment

Reading passwords without showing on screen in Bash Scripts

August 11, 2022 by Magenaut

How can one read passwords in bash scripts in such a way that tools do not show it on a terminal?

Categories Q&A, Unix & Linux Tags bash, password Leave a comment

What scopes can shell variables have?

August 11, 2022 by Magenaut

I just ran into a problem that shows me I’m not clear on the scope of shell variables.

Categories Q&A, Unix & Linux Tags environment-variables Leave a comment

monitoring file changes + process access to files

August 11, 2022 by Magenaut

I would like to see what’s happening in my app server folders, i.e. which files are changed by process x or which *.war files have been changed (replaced/created) in the last x minutes.

Categories Q&A, Unix & Linux Tags files, monitoring, process, shell Leave a comment

crontab’s @reboot only works for root?

August 11, 2022 by Magenaut

man 5 crontab is pretty clear on how to use crontab to run a script on boot:

Categories Q&A, Unix & Linux Tags cron, reboot Leave a comment
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … 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