Search Results

Search: Posts Made By: Neo
129
Posted By MadeInGermany
I gave brief explanations as comments in the...
I gave brief explanations as comments in the code.
The following are comprehensive ones:

while condition - do - done
is a loop. The condition is the read command that reads a line from the...
Forum: What is on Your Mind? 1 Day Ago
285
Posted By nezabudka
One cannot help joining such sincere...
One cannot help joining such sincere congratulations especially from Neo, read in one breath.

I congratulate you Victor and Ravinder from the bottom of my heart and
I hope that you will not be...
Forum: What is on Your Mind? 1 Day Ago
285
Posted By RavinderSingh13
Thanks a TON Neo for giving me this GREAT honor...
Thanks a TON Neo for giving me this GREAT honor :b:, its always an honor to be a member of this GREAT site :b:, whatever I know in scripting/*nix I learnt from this forum/site and whatever way or...
Forum: What is on Your Mind? 2 Days Ago
285
Posted By balajesuri
Way to go Ravinder and Victor! You deserve it :)
Way to go Ravinder and Victor! You deserve it :)
Forum: What is on Your Mind? 2 Days Ago
285
Posted By hicksd8
Congratulations to both winners. Well deserved.
Congratulations to both winners. Well deserved.
221
Posted By Nexeu
It works! Thank you so much Scrutinizer! So...
It works! Thank you so much Scrutinizer!

So the solution is as follows:
tag -0 -f "Note" . | xargs -0 -I {} rename 's|(.*)/|$1/.|' {}
Forum: What is on Your Mind? 2 Days Ago
285
Posted By Scrutinizer
Congratulations Victor and Ravinder! Well and...
Congratulations Victor and Ravinder! Well and truly earned, both of you in different, valuable ways. Thank you for your contributions!
176
Posted By sea
YASSI - Yet Another Simple Script Installer (2020 edition)
Heyas

As someone said he'd like to see some more projects posts on the forum, so, here's one I hope is ready.
Not so much fun-fun, but practical ;)
I hope...

So, you have that small non-arch...
221
Posted By nezabudka
It should work the same way on both the "bash"...
It should work the same way on both the "bash" and the "ksh93"
cat file
tom is hot
one two three
four five six
set -A store
#declare -A store
eval "store=($(awk '{for(i=1;i<=NF;i++) print "["...
Forum: OS X (Apple) 5 Days Ago
334
Posted By sea
Sorry for this beeing an off-topic quote but I...
Sorry for this beeing an off-topic quote but I never had the feeling that this forum was for elitists only.
Well, at least not back in 2016 up to my last activity here.

When I had joined the...
Forum: OS X (Apple) 1 Week Ago
334
Posted By wisecracker
Generate a random number in a fully POSIX compliant shell, 'dash'...
Hi all...
Apologies for any typos, etc...
This took a while but it didn't beat me...

Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a...
287
Posted By RudiC
"asap" is a term highly deprecated in these...
"asap" is a term highly deprecated in these fora...



With either script, I get

rl 3 xpicrecovery 5 5
rl 4 xpicrecovery 5 5
rl 5 xpicrecovery 5 5


We need more to start analysing. Is it...
392
Posted By MadeInGermany
Obviously the default timeout is too high. Add...
Obviously the default timeout is too high.
Add two lines to /etc/resolv.conf
options timeout:2
options attempts:2

These values will give a total delay of 2 * 2 = 4 seconds when the first DNS...
392
Posted By Peasant
I've seen this mostly related to DNS query...
I've seen this mostly related to DNS query timeouts setup from client side.
The defaults are quite high on most linux/unix operating system, from AIX man page online :


In practice if you have,...
295
Posted By Peasant
Check out this example, and apply it to your...
Check out this example, and apply it to your enviroment.


[root@box ~]# id goprog
uid=1000(goprog) gid=1000(goprog) groups=1000(goprog)
[root@box ~]# id jboss
uid=666(jboss) gid=666(jboss)...
344
Posted By Peasant
Check firewall-cmd or iptables -L (depending on...
Check firewall-cmd or iptables -L (depending on linux release and type) rules for specific rules, containing IP addresses in questions.
This should help, if linux firewall is used.

If not, other...
344
Posted By nezabudka
Hi Maybe this will help? ss -t -o state...
Hi
Maybe this will help?
ss -t -o state established

--- Post updated at 16:07 ---

ss -t -o state connected
ss -t -o state synchronized
Forum: AIX 1 Week Ago
587
Posted By zxmaus
yes you are correct - that is why I asked...
yes you are correct - that is why I asked yesterday what you meant with open - for both disks you get output - so the disks are open - so correctly zoned and readable/writable.

As stated before,...
307
Posted By kbrazil
Fun with terminal plotting JSON data at the command line
One of the great thing about unix is the ability to pipe multiple programs together to manipulate data. Plain, unstructured text is the most common type of data that is passed between programs, but...
282
Posted By MadeInGermany
The -H is specific to GNU ps (Linux). It does...
The -H is specific to GNU ps (Linux).
It does an indentation (two spaces per hierarchy level) without any ASCII art. This is easy to post-process i.e. filter for the releavant parts.
289
Posted By RudiC
[^[:blank:]#;] # ONE char non-blank,...
[^[:blank:]#;] # ONE char non-blank, non-#, non-;
282
Posted By stomp
I'd like to mention --forest option of ps which I...
I'd like to mention --forest option of ps which I use regularly under linux.

It lacks the here mentioned feature to show only the tree concerning a special pid.

ps ax --forest...
2406 ? ...
289
Posted By RudiC
Don't worry, your overcomplicated regex doesn't...
Don't worry, your overcomplicated regex doesn't match anything reasonable in your file, if that is what you're after (not clear from your spec). Even uncommented lines with # removed (which I added...
282
Posted By nezabudka
Hi As I understand it a linux "pstree" My...
Hi
As I understand it a linux "pstree"
My five cents.
It comes with a built-in pager
systemd-cgls
Another option
ps xawf -eo pid,user,cgroup,args
Forum: AIX 1 Week Ago
587
Posted By zxmaus
if you do this on ASM disks or gpfs disks you are...
if you do this on ASM disks or gpfs disks you are wiping the header. The device will stay up til your next reboot and be beautiful and clean after the reboot so this is a terrible idea.

You do get...
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 10:34 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy