Search Results

Search: Posts Made By: Neo
Forum: Shell Programming and Scripting 13 Hours Ago
91
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...
Forum: What is on Your Mind? 17 Hours Ago
152
Posted By wisecracker
Hi sea... Good to see your name back again... ...
Hi sea...
Good to see your name back again...
We were all beginners even computer scientists were beginners at one time but are now fully fledged 'big guns'.
Yup it was me and I kept the very...
Forum: What is on Your Mind? 18 Hours Ago
152
Posted By sea
I'll second - well 'tri' - this! But......
I'll second - well 'tri' - this!

But... wisecracker, didnt you do that audio script?
I wouldnt call that a beginners works :p

Compared to that, my TUI is a baby project in comparision.
At...
Forum: What is on Your Mind? 18 Hours Ago
152
Posted By wisecracker
Hi Neo... I am not. I love POSIX compliance...
Hi Neo...
I am not.
I love POSIX compliance it because it is the worst case and it has restrictions on things that bash, ksh et al take for granted.
Boy have I learnt a lot from our big guns and...
173
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: What is on Your Mind? 20 Hours Ago
152
Posted By wisecracker
Big guns...
Hi fellas and fella-esses...
(Apologies for any typos, etc...)

Never consider my phrase 'big guns' as a derogatory term as I have used it throughout my life for people who know far more than I do...
Forum: OS X (Apple) 1 Day Ago
233
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) 3 Days Ago
233
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...
212
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...
312
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...
312
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,...
189
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)...
232
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...
232
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 5 Days Ago
395
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,...
228
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...
209
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.
214
Posted By RudiC
[^[:blank:]#;] # ONE char non-blank,...
[^[:blank:]#;] # ONE char non-blank, non-#, non-;
209
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 ? ...
214
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...
209
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 6 Days Ago
395
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...
209
Posted By MadeInGermany
[Tip] ptree for Linux
Unix (and Linux) uses a process tree that gives a natural security, by simple inheritance of attributes.

The following ptree script shows it. It runs on all Linux flavors.
Mostly useful for...
Forum: AIX 1 Week Ago
395
Posted By zxmaus
please try these two commands - if you get an...
please try these two commands - if you get an error the disk is closed, if you get any content, the disk is open / readable
readvgda /dev/hdiskX
and
lqueryvg -At -p hdisk0
292
Posted By RavinderSingh13
Thank you :) For your questions, why a[$1]...
Thank you :)

For your questions, why a[$1] didn't throw errors because if any variable is NOT initialized in awk and we are using it in any condition or etc then its value will be considered as...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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