Skip to content

Magenaut

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

Unix & Linux

How do you use badblocks?

August 7, 2022 by Magenaut

I need to do a destructive (rw) test on a new drive, and a read-only on a drive that fell out of my RAID array. I want to see if it finds problems and how far along it is.

Categories Q&A, Unix & Linux Tags badblocks, filesystems, hardware Leave a comment

port forwarding to application in network namespace with vpn

August 7, 2022 by Magenaut

I was able to set up a network namespace, establish a tunnel with openvpn and start an application that uses this tunnel inside the namespace. So far so good, but this application can be accessed via a web interface and I cant’t figure out how to route requests to the web interface inside my LAN.

Categories Q&A, Unix & Linux Tags iptables, network-namespaces, openvpn, port-forwarding Leave a comment

Why does TZ=UTC-8 produce dates that are UTC+8?

August 7, 2022 by Magenaut

The current time in Los Angeles is 18:05. But when I run TZ=UTC-8 date --iso=ns, I get:

Categories Q&A, Unix & Linux Tags date, timezone Leave a comment

xrdp disconnects immediately after connection from Windows10/Centos to Centos7

August 7, 2022 by Magenaut

This is my xrdp config:

Categories Q&A, Unix & Linux Tags centos, windows, xrdp Leave a comment

Why do we need the “at” command in Linux?

August 7, 2022 by Magenaut

I was studying code in which the at command is used. I looked around and found that it is used to execute batch jobs. It is used to schedule jobs. It is given, as its input, a command, and a time, relative or absolute.

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

Remove all but one ( or more ) kind of filetype

August 7, 2022 by Magenaut

I’ve been trying to find a command to remove all files in a folder but not a kind of filetype. But I seems to not have any luck. What I’ve tried so far :

Categories Q&A, Unix & Linux Tags wildcards, zsh Leave a comment

Characters encodings supported by more, cat and less

August 7, 2022 by Magenaut

I have a text file encoded as following according to file:

Categories Q&A, Unix & Linux Tags character-encoding, command-line, less, more, terminal Leave a comment

Setting PATH vs. exporting PATH in ~/.bash_profile

August 7, 2022 by Magenaut

export does set the $PATH explicitly.

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

How to validate/verify .desktop files?

August 7, 2022 by Magenaut

I have a couple of .desktop files that aren’t working as expected or not at all. I can’t see any error anywhere and asking for help on each one seems unproductive. Is there a way I can verify that I’m using the correct syntax in the file, that it complies with the FreeDesktop standard, so I can apply specific fixes?

Categories Q&A, Unix & Linux Tags desktop, freedesktop, xdg Leave a comment

How does PulseAudio start?

August 7, 2022 by Magenaut

PulseAudio is always running on my system, and it always instantly restarts if it crashes or I kill it. However, I never actually start PulseAudio.

Categories Q&A, Unix & Linux Tags debian, linux, pulseaudio Leave a comment
Older posts
Newer posts
← Previous Page1 … Page302 Page303 Page304 … 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