Skip to content

Magenaut

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

Unix & Linux

Zip Archive With Limited Number of Files

August 8, 2022 by Magenaut

What command can I use to create zips with a file number limit? I have a folder (no subfolders) of, say, 5000 files, so I would want a command that could divide that number and create 10 individual zip archives, each consisting of no more than 500 files.

Categories Q&A, Unix & Linux Tags files, zip Leave a comment

Syntax Error: unexpected end of file — Bash script

August 8, 2022 by Magenaut

./spritz: line 176: syntax error: unexpected end of file

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

What is the purpose of “~” in the command “sed ‘s~ ~~g'”?

August 8, 2022 by Magenaut

I found line sed ‘s~ ~~g’ in a shell script on a Linux system. What is this ~? 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 … Read more

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

Where is the official documentation (Debian package iproute-doc)?

August 8, 2022 by Magenaut

Manpage of ss says:

Categories Q&A, Unix & Linux Tags debian, documentation, iproute Leave a comment

How does cat ‘know’ the optimum block size to use?

August 8, 2022 by Magenaut

From reading this, it seems that when copying data to a different hard drive, cat automatically uses the optimum block size (or very near it).

Categories Q&A, Unix & Linux Tags block-device, cat, dd Leave a comment

What is the difference between find . and find . -print

August 8, 2022 by Magenaut

What is the difference between:

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

How to exclude from a “Match Group” in SSHD?

August 8, 2022 by Magenaut

There is a Match group in the SSHD config:

Categories Q&A, Unix & Linux Tags openssh, sshd Leave a comment

Display stuff below the prompt at a shell prompt?

August 8, 2022 by Magenaut

Lets’s say my prompt looks like this (the _ represents my cursor)

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

lsof: show files open as read-write

August 8, 2022 by Magenaut

When I try to remount a partition as read-only, I get an error /foo is busy. I can list all files open from /foo with

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

Determining the particular processor on which a process is running

August 8, 2022 by Magenaut

I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command:

Categories Q&A, Unix & Linux Tags cpu, linux, process, top Leave a comment
Older posts
Newer posts
← Previous Page1 … Page186 Page187 Page188 … 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