Search Results

Search: Posts Made By: MadeInGermany
124
Posted By vgersh99
how about this for the starters: find ....
how about this for the starters:

find . -type f -name '*.*' | awk -F. '{a[$NF]++} END {for (i in a) print FS i ": " a[i]}'
Forum: AIX 1 Week Ago
3,264
Posted By zxmaus
well I would like to add that you need to make...
well I would like to add that you need to make sure that you always always need to have enough real free memory to support the IOs your system needs to do. If you dont, your system will stop ALL work...
340
Posted By jim mcnamara
The command connects to a remote server, does and...
The command connects to a remote server, does and ls -l of a directory, which list files in the directory on the remote machine. The command is between the tic characters '

The output of the...
Forum: Shell Programming and Scripting 2 Weeks Ago
708
Posted By Chubler_XL
And another awk approach: awk -v...
And another awk approach:

awk -v want="VALUE1,VALUE2,VALUE3" -F'[=\\][]' '
function prnsection(i) {
if(length(section)) {
printf "%s",section;
for(i=1;i in keypos;i++) {
...
Forum: What is on Your Mind? 3 Weeks Ago
642
Posted By Neo
In addition, I thank Pankaj Kumar Thakur for his...
In addition, I thank Pankaj Kumar Thakur for his ethical hacking help in this 4K YT video at just after the 23:00 mark:

This video is current processing to 4K, so wait a few hours from now and the...
Forum: Shell Programming and Scripting 3 Weeks Ago
1,889
Posted By Chubler_XL
The reason for this is that quote removal only...
The reason for this is that quote removal only occurs on the original input words, not the result of expansions. To demonstrate:

$ echo "Hello, world"
Hello, world
$ VAR='echo "Hello, world"'...
Forum: What is on Your Mind? 4 Weeks Ago
803
Posted By Neo
YouTube: The Chronicles of Neo | The Revenge of the Nerds | The UNIX and Linux Forums
I have just uploaded a new YT video with the goal of inspiring everyone to:

Be Inspired To Be The Best You Can Be

The Chronicles of Neo - The Revenge of the Nerds -Be Inspired To Be The Best...
Forum: Shell Programming and Scripting 4 Weeks Ago
241
Posted By say170
Found a working solution here - shell - How can I...
Found a working solution here - shell - How can I use a variable in curl call within bash script - Stack Overflow...
Forum: Programming 09-15-2019
243
Posted By RavinderSingh13
Regarding a GREAT site for understanding and Visualizing regex patterns.
Hello All,

While googling on regex I came across a site named Regulex Regulex´╝ÜJavaScript Regular Expression Visualizer (https://jex.im/regulex/#!flags=&re=%5E(a%7Cb%7Cc)(%5B%5E%40%5D*)%40(.*))
I...
924
Posted By Scrutinizer
ksh93+, (ksh was the shell the OP specified),...
ksh93+, (ksh was the shell the OP specified), also supports negative indexes, to indicate elements from right to left (probably after a certain revision level).
zsh also does this, but the first...
916
Posted By eckertd
This may help you figure out your logic: In...
This may help you figure out your logic:

In your 'for' loop:

"var" is going to start with arg1 and get reassigned to the next in the list each iteration until argn
"T1" is always going to be...
190
Posted By gull04
Hi, I suspect that your cron job is working...
Hi,

I suspect that your cron job is working correctly, in that it will spawn a shell and close. You should be able to see out put in your local mail "Q".

Try running the shell script on it's...
Forum: AIX 09-08-2019
1,374
Posted By topcat
Ok, tmux is now installed and running! Let's make...
Ok, tmux is now installed and running! Let's make it beautiful :)

1. Set terminal to 256 colour mode by setting TERM in your shell:
export TERM=xterm-256color 2. The IBM supplied terminfo...
Forum: AIX 09-08-2019
1,374
Posted By topcat
Thanks! I have successfully compiled tmux on my...
Thanks! I have successfully compiled tmux on my AIX 7.1 machine :). Here's a run down of what needs to be done:

1. Download latest tmux source code from github:
git clone...
2,264
Posted By RudiC
How about (untested) sed 's/^.*"title": "//;...
How about (untested)
sed 's/^.*"title": "//; s/",.*$//'?
1,418
Posted By Scrutinizer
At first glance I noticed the use of wait 3. I...
At first glance I noticed the use of wait 3. I think you mean sleep 3
Forum: Programming 08-28-2019
2,244
Posted By drl
Hi. Looks like progress. When I run...
Hi.

Looks like progress.

When I run into trouble with perl that I cannot seem to solve by looking in the books, I often search PerlMonks - The Monastery Gates (https://www.perlmonks.org/) --...
Forum: Programming 08-28-2019
2,244
Posted By wisecracker
Hi drl... I tried your _graticule_ but it...
Hi drl...

I tried your _graticule_ but it reminded me of my Cossor 339[A] Oscillograph given to me when I was a young kid but reverted back again.
Well Quicktime Player is now capturing a signal...
1,443
Posted By Chubler_XL
Have you had a look at bash completion scripts? ...
Have you had a look at bash completion scripts? These are quite powerful and configurable.

The simplest example with fixed list of arguments:

$ complete -W "cat dog" fuz
$ fuz <tab><tab>
cat...
Forum: Programming 08-27-2019
2,244
Posted By drl
Hi. Good to see people picking up perl....
Hi.

Good to see people picking up perl. Although use has declined, I still find it very useful. The O'Reilly trilogy is quite useful, and I have found the PBP to be especially valuable. The tools...
1,501
Posted By Corona688
Another way that doesn't need externals, arrays,...
Another way that doesn't need externals, arrays, loops, or backticks:

INPUT="string'delimited'with'quotes"
OLDIFS="$IFS" ; IFS="'"
printf "%s\n" $INPUT
IFS="$OLDIFS"
1,002
Posted By bodisha
Thanks to all that replied! Yes the OS...
Thanks to all that replied! Yes the OS mattered... I was on CentOS 7 and the filesystem was mounted with an option known as "relatime". Which only seems to record atime in 3 different instances. ...
Forum: What is on Your Mind? 08-20-2019
1,928
Posted By Peasant
Thank you for your kind words. I will do my...
Thank you for your kind words.

I will do my best to justify the trust given here and on linkedin.

Regards
Peasant.
Forum: Programming 08-15-2019
2,115
Posted By vectrum
Video Tutorial of Linux System Programming with C
Video tutorial of Linux System Programming with C.

YouTube - Linux System Programming with C by Indronil Banerjee (https://www.youtube.com/playlist?list=PLysdvSvCcUhbrU3HhGhfQVbhjnN9GXCq4)
1,802
Posted By rdrtx1
for first and last, try: sed 's/^,//; s/,$//;'...
for first and last, try:
sed 's/^,//; s/,$//;' infile
for lost, not sure. maybe there is a lost and found section someplace.
Showing results 1 to 25 of 460

 

Featured Tech Videos

All times are GMT -4. The time now is 05:33 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy