Skip to content

Magenaut

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

Unix & Linux

Why does chmod succeed on a file when the user does not have write permission on parent directory?

August 9, 2022 by Magenaut

I am trying to understand file/dir permissions in Linux.
A user can list the files in a directory using

Categories Q&A, Unix & Linux Tags chmod, directory, file-metadata, files, permissions Leave a comment

Change default path for when I SSH in to CentOS server?

August 9, 2022 by Magenaut

I have a CentOS 5.7 web server, and I want to change the default place I land in when connecting using SSH.

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

execute command on a defined range of directories

August 9, 2022 by Magenaut

Is it possible to ‘partition’ a directory listing – say in to blocks of some number, to perform different actions on each ‘range’?

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

What does ‘script /dev/null’ do?

August 9, 2022 by Magenaut

Every time I log into a VM with root, su into a user account, and try to use screen it throws an error:

Categories Q&A, Unix & Linux Tags gnu-screen, pty, su, terminal Leave a comment

How to know the source repository of a package in debian?

August 9, 2022 by Magenaut

In Debian, AFAIK some packages are maintained in Subversion (famously team-pkg-gnome), while some are maintained in git, and others in some other VCS.

Categories Q&A, Unix & Linux Tags debian, package-management, source, version-control Leave a comment

Finding files that use the most disk space

August 9, 2022 by Magenaut

Is it possible to list the largest files on my hard drive? I frequently use df -H to display my disk usage, but this only gives the percentage full, GBs remaining, etc.

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

Mapping metadata with avconv does not work

August 9, 2022 by Magenaut

The way I understand man avconv (version 9.16-6:9.16-0ubuntu0.14.04.1), the following command should convert input.ogg to output.mp3 and carry over metadata:

Categories Q&A, Unix & Linux Tags audio, conversion, ffmpeg, options, tagging Leave a comment

SSH: How to disable weak ciphers?

August 9, 2022 by Magenaut

Security team of my organization told us to disable weak ciphers due to they issue weak keys.

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

Merging files by rows

August 9, 2022 by Magenaut

Is it possible to copy the whole rows of File1 in a new File3 following the instruction given by File2 by using a simple bash script using sed or awk?

Categories Q&A, Unix & Linux Tags columns, join, shell-script, text-processing Leave a comment

What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?

August 9, 2022 by Magenaut

The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the ‘reload’ command.

Categories Q&A, Unix & Linux Tags executable, filesystems, linux, windows Leave a comment
Older posts
Newer posts
← Previous Page1 … Page130 Page131 Page132 … 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