Skip to content

Magenaut

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

Unix & Linux

Find directories and files with permissions other than 775 / 664

August 7, 2022 by Magenaut

I am moving a website from one server to another and Git does not store metadata such as file permissions. I need to find the directories and files that are not 775 / 664 respectively.

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

Arrow key/Enter menu

August 7, 2022 by Magenaut

How to create a menu in a shell script that will display 3 options that a user will use the arrows keys to move the highlight cursor and press enter to select one?

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

date command –iso-8601 option

August 7, 2022 by Magenaut

This answer and comments mention --rfc-3339 and a “hidden” --iso-8601 option that I have used for a long time and now seems to be undocumented.

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

How is nice working?

August 7, 2022 by Magenaut

sched_setscheduler says :

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

how can I make cron run a job right now, for testing/debugging? without changing the schedule!

August 7, 2022 by Magenaut

I have a cron job that is scheduled to run everyday, other than changing the schedule, is there any other way to do a test run of the command right now to see if it works as intended?

Categories Q&A, Unix & Linux Tags cron, debugging Leave a comment

What’s the difference between eval and exec?

August 7, 2022 by Magenaut

eval and exec are both built in commands of bash(1) that execute commands.

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

yum Error:rpmdb open failed

August 7, 2022 by Magenaut

I’m trying to run yum update and I’m running this error:

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

What are the differences between ncat, nc and netcat?

August 7, 2022 by Magenaut

I’m not sure about when to use nc, netcat or ncat.
If one is the deprecated version of another?
If one is only available on one distribution?
If it is the same command but with different names?

Categories Q&A, Unix & Linux Tags centos, nc, netcat Leave a comment

Redirect all non-local traffic to a socks proxy

August 7, 2022 by Magenaut

Is it possible to redirect all non-local traffic to a socks proxy?

Categories Q&A, Unix & Linux Tags bandwidth, iptables, proxy Leave a comment

How do I monitor opened files of a process in realtime?

August 7, 2022 by Magenaut

I know I can view the open files of a process using lsof at that moment in time on my Linux machine. However, a process can open, alter and close a file so quickly that I won’t be able to see it when monitoring it using standard shell scripting (e.g. watch) as explained in “monitor open process files on linux (real-time)”.

Categories Q&A, Unix & Linux Tags audit, lsof, open-files, process Leave a comment
Older posts
Newer posts
← Previous Page1 … Page283 Page284 Page285 … 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