Search Results

Search: Posts Made By: einsteinBrain
Forum: HP-UX 05-26-2017
3,560
Posted By jim mcnamara
/usr/lbin/getprpw -l can be called from the...
/usr/lbin/getprpw -l can be called from the standard library system()
/.secure/etc/passwd
exists on trusted systems. You can test existence with access()
You did not
mention your OS version -...
Forum: IP Networking 01-18-2012
9,999
Posted By frank_rizzo
Do you have lsof installed? If so run lsof -i or...
Do you have lsof installed? If so run lsof -i or lsof -p <pid>
Forum: IP Networking 01-18-2012
9,999
Posted By jim mcnamara
Are you trying to determine the remote OS (if...
Are you trying to determine the remote OS (if any) for a given socket? I'm confused.

the netstat command will do this for you. But it just gives you the dns name (or possibly the IP) address,...
2,383
Posted By Scrutinizer
@svajhala
Don't forget to set the variable $script_path first..

---------- Post updated at 22:02 ---------- Previous update was at 21:51 ----------


Sure, with the substitution operator s you can use...
2,383
Posted By anurag.singh
OK, so here you have only one requirement. In my...
OK, so here you have only one requirement. In my previous post, I was talking about many more processing on crontab files mentioned in post #1.
if -i switch is supported:
sed -i...
2,383
Posted By Scrutinizer
sed "s|.*${script_path}.*|#&|" cronfile.txt >...
sed "s|.*${script_path}.*|#&|" cronfile.txt > cronfile.new
47,524
Posted By Scott
$# represents the number of arguments: $...
$# represents the number of arguments:


$ set -- a
$ echo $#
1

$ set -- a b c
$ echo $#
3
47,524
Posted By ctsgnb
Check this...
Check this (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03)
Showing results 1 to 8 of 8

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