Skip to content

Magenaut

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

Unix & Linux

Bash Script getting stuck during execution

August 7, 2022 by Magenaut

I have a bash script that is reading a CSV file , that contains source IP address , destination IP address and destination port.

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

What are the (dis)advantages of ext4, ReiserFS, JFS, and XFS?

August 7, 2022 by Magenaut

What purpose is each suitable for? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon … Read more

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

How can I remove all symbolic links with a special target?

August 7, 2022 by Magenaut

With the command:

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

Why would someone choose FreeBSD over Linux?

August 7, 2022 by Magenaut

It’s so free you can make it not free

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

size of directory reported by ls

August 7, 2022 by Magenaut

I understand the size reported by ls corresponds with number of inodes inside the directory, not their actual size. I have noticed peculiar behavior, when displaying directory size with ls. Here is how to quickly reproduce it: first create empty directory, the size reported by ls is 4096 (as expected) mkdir test ll -d test/ … Read more

Categories Q&A, Unix & Linux Tags directory, inode, ls Leave a comment

How to reset sessions in nat table?

August 7, 2022 by Magenaut

I have two virtual machines (router and client) ubuntu server 18 04, the router is the gateway for the client.Nftables are installed on the router and a NAT table is created with two chains pre and postrouting with a rule for the client.

Categories Q&A, Unix & Linux Tags networking, nftables, ubuntu Leave a comment

What is the first chmod octal digit in a four-digit value for?

August 7, 2022 by Magenaut

Sometimes I see chmod commands that use four octal digits instead of three — what is the optional first digit for? For example, chmod 777 is equivalent to chmod a+rwx; what’s the same command for chmod 2777?

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

Rebuild auto-complete index (or whatever it’s called) and binaries in $PATH cache in zsh

August 7, 2022 by Magenaut

After installing new software, an already opened terminal with zsh won’t know about the new commands and cannot generate auto-complete for those. Apparently opening a new terminal fix the problem, but can the index (or whatever you call it) be rebuilt so that auto-complete will work on the old terminal?

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

Check if script is started by cron, rather than invoked manually

August 7, 2022 by Magenaut

Is there any variable that cron sets when it runs a program ? If the script is run by cron, I would like to skip some parts; otherwise invoke those parts.

Categories Q&A, Unix & Linux Tags bash, cron, scripting, shell Leave a comment

Is it possible to create a NFS Share from a CIFS mounted directory?

August 7, 2022 by Magenaut

The problem is that I have a directory which is mounted over CIFS. For this directory I want to create a NFS Share. I need this to create backups on a backup system which is only mountable over CIFS, from our ESX (But the ESX can only create backups on NFS Shared directorys with “ghettoVCB”).

Categories Q&A, Unix & Linux Tags cifs, mount, nfs Leave a comment
Older posts
Newer posts
← Previous Page1 … Page263 Page264 Page265 … 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