Skip to content

Magenaut

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

Unix & Linux

How do I find the window dimensions and position accurately including decorations?

August 10, 2022 by Magenaut

I’ve been trying to figure out the size of a window for use in a small script. My current technique is using wmctrl -lG to find out the dimensions. However, the problem is this:

Categories Q&A, Unix & Linux Tags command-line, window-geometry, x11 Leave a comment

disable transparent hugepages

August 10, 2022 by Magenaut

We are installing SAP HANA in a RAID machine. As part of the installation step, it is mentioned that,

Categories Q&A, Unix & Linux Tags kernel, linux, sysctl Leave a comment

Force ssh to not print “Remote host identification has changed” warning

August 10, 2022 by Magenaut

Is there a way to avoid ssh printing warning messages like this?

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

How does ChrootDirectory and a user’s home directory work together?

August 10, 2022 by Magenaut

I need to create an SFTP only user on CentOS 7. I’ve read how to do it from various sources. The setup needs to only support a single user with SFTP only access to a single folder.

Categories Q&A, Unix & Linux Tags chroot, sshd Leave a comment

Is test or [ or [[ more portable both between bash shells and between other shells?

August 10, 2022 by Magenaut

I see I can do

Categories Q&A, Unix & Linux Tags portability, posix, shell, test Leave a comment

How to send variable to an inline shell-script?

August 10, 2022 by Magenaut

I run the following script:

Categories Q&A, Unix & Linux Tags scripting, shell, shell-script, variable Leave a comment

How to list all loadable kernel modules?

August 10, 2022 by Magenaut

I’m looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns:

Categories Q&A, Unix & Linux Tags kernel-modules, linux-kernel Leave a comment

Distro- lightweight and easy to install

August 10, 2022 by Magenaut

Ubuntu was too slow on my computer and Arch installation had many problems too. Which distro do you recommend to me that’s lightweight as well as easy to install?

Categories Q&A, Unix & Linux Tags distribution-choice, distros Leave a comment

Abbreviated current directory in shell prompt?

August 10, 2022 by Magenaut

vim has a really nice feature which it utilizes in its paths when they’re a bit long:

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

Remove only the commas present within the double quotes

August 10, 2022 by Magenaut

In a text file, I want to remove , (commas) and also the " (quotes) (only if the double quotes contains numbers separated by commas).

Categories Q&A, Unix & Linux Tags csv, sed, text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page87 Page88 Page89 … 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