awk tag

13 questions


3 answers
112 views
0
I want awk etc to show all fields after a certain field

Sometimes there are multiple filename containing spaces in a DIR, such as PDF name, and you want to search by a file name containing a date or WORD and see the results later.ls-la-rw-rw-1 admin admini...

2 years ago

1 answers
55 views
0
Understanding the awk Command

I would like to double the first three 222 of 22 (this value fluctuates) (calculation result 44441) in a file with the following contents written on it.How should I express it?&electrons/K_POINTS ...

awk
2 years ago

2 answers
92 views
0
If you try to average a large number with awk, it will overflow with digits.

There are several days' worth of files retrieved from vmstat-a5.In order to calculate the average memory usage, I would like to know the average usage of Free, but when I add it with awk, it overflows...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.