Skip to content

Magenaut

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

Unix & Linux

Grep huge number of patterns from huge file

August 9, 2022 by Magenaut

I have a file that’s growing about 200,000 lines a day, and it is all formed with blocks of three lines as such:

Categories Q&A, Unix & Linux Tags awk, database, grep, text Leave a comment

Diagram of Linux kernel vs. performance tools?

August 9, 2022 by Magenaut

Is there a diagram that shows how the various performance tools such as ip, netstat, perf, top, ps, etc. interact with the various subsystems within the Linux kernel?

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

Linux does not reply to ARP request messages if requested IP address is associated with another (disabled) interface

August 9, 2022 by Magenaut

I have a PC(kernel 3.2.0-23-generic) which has 192.168.1.2/24 configured to eth0 interface and also uses 192.168.1.1 and 192.168.1.2 addresses for tun0 interface:

Categories Q&A, Unix & Linux Tags arp, linux-kernel, networking Leave a comment

What is the difference between ./script and . ./script?

August 9, 2022 by Magenaut

Possible Duplicate:
Using ‘.’ to execute files in bash

Categories Q&A, Unix & Linux Tags bashrc, environment-variables, linux, scripting Leave a comment

Kill all background jobs

August 9, 2022 by Magenaut

Is there a more compact form of killing background jobs than:

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

Does “less” have a feature like “tail –follow=name” (“-F”)

August 9, 2022 by Magenaut

The command less can be used to replace tail in

Categories Q&A, Unix & Linux Tags less, pager, tail Leave a comment

cp behaves weirdly when . (dot) or .. (dot dot) are the source directory

August 9, 2022 by Magenaut

This answer reveals that one can copy all files – including hidden ones – from directory src into directory dest like so:

Categories Q&A, Unix & Linux Tags cp, documentation, dot-files, hard-link, recursive Leave a comment

“Bookmarks” for bash

August 9, 2022 by Magenaut

Navigating several layers of nested directories is often a pain. On Firefox, it is easy because they have bookmarks. So what I’d like to do to bookmarks a file is to type:

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

What does “rm is hashed” mean?

August 9, 2022 by Magenaut

I’m going through http://mywiki.wooledge.org/BashGuide/CommandsAndArguments and came across this:

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

What is the email matching regex in basic regex for grep?

August 9, 2022 by Magenaut

I created a text file and put some email addresses in it. Then I used grep to find them. Indeed it worked:

Categories Q&A, Unix & Linux Tags command-line, grep, regular-expression, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page152 Page153 Page154 … 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