Skip to content

Magenaut

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

Unix & Linux

Are there versions of Unix that don’t have awk in default install?

August 8, 2022 by Magenaut

Are there versions of Unix that don’t have awk installed by default?

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

Btrfs RAID1: How to replace a disk drive that is physically no more there?

August 8, 2022 by Magenaut

I have a btrfs RAID1 system with the following state:

Categories Q&A, Unix & Linux Tags btrfs, disk, raid1, replace Leave a comment

Grub – boot debian iso file from ntfs partition and install it

August 8, 2022 by Magenaut

I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5 and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso with initrd file there too. Then I created grub menu entry with this:

Categories Q&A, Unix & Linux Tags boot, debian, grub2, iso, ntfs Leave a comment

./executable: cannot execute binary file

August 8, 2022 by Magenaut

I have a script that works well when I ssh to the server to execute it myself, but has problems when Hudson, a continuous integration server, runs it.

Categories Q&A, Unix & Linux Tags bash, executable, shell-script Leave a comment

How to delete all files in a current directory starting with a dot?

August 8, 2022 by Magenaut

I use Ubuntu 14.04 and in a terminal I became root with sudo su and I wanted to delete root’s trash manually. It deleted everything except for a few files that start with a dot. Like .htaccess etc. So I went to that directory (which is “files”) and I ran this command:

Categories Q&A, Unix & Linux Tags command-line, dot-files, shell, wildcards Leave a comment

Execute bash commands over SSH while staying in interactive mode afterwards

August 8, 2022 by Magenaut

Probably it is a weird thing I would like to achieve but:
I would like to SSH to a remote host and then execute some bash commands like “alias” automatically to use them afterwards in an interactive mode. The remote host does not allow the personal environment.

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

Fast way to build a test file with every second listed in YYYY-mm-dd HH:MM:SS format

August 8, 2022 by Magenaut

I want to create a large test file with lines containg dates listed by the second, but my method is taking inordinately long… (or at least, that’s how it feels 🙂 … 43 minutes to create only 1051201 lines. 20.1 MB file….

Categories Q&A, Unix & Linux Tags bash, date, performance, text-processing Leave a comment

When do su and sudo use different passwords?

August 8, 2022 by Magenaut

I am able to run anything using sudo; my password is accepted. But whenever I try to do su from a shell, it fails with:

Categories Q&A, Unix & Linux Tags command-line, su, sudo Leave a comment

Replace non-printable characters in perl and sed

August 8, 2022 by Magenaut

I need to replace some non-printable characters with spaces in file.

Categories Q&A, Unix & Linux Tags perl, sed Leave a comment

recovery data from RAID and disk failure (Linux)

August 8, 2022 by Magenaut

1st attempt: Mounting disks alone

Categories Q&A, Unix & Linux Tags data-recovery, hard-disk, mdadm, raid Leave a comment
Older posts
Newer posts
← Previous Page1 … Page207 Page208 Page209 … 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