Skip to content

Magenaut

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

Unix & Linux

Searching for a string on multiple zip files

August 11, 2022 by Magenaut

I am working on SunOS 5.10. I have a folder that contains about 200 zip files. Each zip file contains only one text file in it.
I would like to search for a specific string in all the text files in all the zip files.

Categories Q&A, Unix & Linux Tags grep, search, solaris, zip Leave a comment

Why does argv include the program name?

August 11, 2022 by Magenaut

Typical Unix/Linux programs accept the command line inputs as an argument count (int argc) and an argument vector (char *argv[]). The first element of argv is the program name – followed by the actual arguments.

Categories Q&A, Unix & Linux Tags arguments, c#, command-line Leave a comment

Two interfaces, two addresses, two gateways?

August 11, 2022 by Magenaut

I have a system that has two network interfaces with different IP adresses, both of which are in the public address range (albeit via NAT in the case of the first one) and both of which have different gateways. (Long story, it’s for testing purposes)

Categories Q&A, Unix & Linux Tags debian, ipv4, networking Leave a comment

Difference between cp -r and cp -R (copy command)

August 11, 2022 by Magenaut

cp -r is meant to copy files recursively, and cp -R for copying directories recursively. But I’ve checked, and both appear to copy both files and directories, the same thing. So, what’s the difference actually?

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

Ctrl+D for ending terminal line input

August 11, 2022 by Magenaut

If I do

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

Data recovery from an accidental format on ext4 partition

August 11, 2022 by Magenaut

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format.

Categories Q&A, Unix & Linux Tags data-recovery, ext4, linux, superblock, testdisk Leave a comment

Is CentOS exactly the same as RHEL?

August 11, 2022 by Magenaut

I’m sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points.

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

In Bash scripting, what’s the meaning of ” $! “?

August 11, 2022 by Magenaut

If I’m assigning a variable with

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

Why does process substitution result in a file called /dev/fd/63 which is a pipe?

August 11, 2022 by Magenaut

I am trying to understand named pipes in the context of this particular example.

Categories Q&A, Unix & Linux Tags open-files, pipe, process, process-substitution Leave a comment

Why does awk do full buffering when reading from a pipe

August 11, 2022 by Magenaut

I’m reading from a serial port connected to a gps device sending nmea strings.

Categories Q&A, Unix & Linux Tags awk, serial-port, tty Leave a comment
Older posts
Newer posts
← Previous Page1 … Page24 Page25 Page26 … 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