10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
In my server, the hostname and IP addresses are added to the known_hosts which then be hashed by ssh-keygen -H -f. Is it possible to check if an IP address has already been added to the hashed known_hosts to avoid duplications (I think there will be problems if there are duplicated IP... (3 Replies)
Discussion started by: hce
3 Replies
2. Shell Programming and Scripting
Hello,
I would like to control and check the right parameters
$1 must have 4 alphabetics digits among eora qora pora fora
$2 must have 2 numerics digits 00 to 11
$3 must have 2 numerics digits 00 to 59
$4 must have 10 characters alpha numerics as 2013-02-26
For example :
In case 5) if i... (15 Replies)
Discussion started by: amazigh42
15 Replies
3. Shell Programming and Scripting
Hello,
I would like to control and check the right parameters
$1 must have 4 alphabetics digits among eora qora pora fora
$2 must have 2 numerics digits 00 to 11
$3 must have 2 numerics digits 00 to 59
$4 must have 10 characters alpha numerics as 2013-02-26
For example :
In case 5) if i... (1 Reply)
Discussion started by: amazigh42
1 Replies
4. Shell Programming and Scripting
Hi everyone,
I am working on fetchmail + procmail to filter mails and I am having problem with parsing a long line in the body of the email.
Could anyone help me construct a reg exp for this string below. It needs to match exactly as this string.
GetRyt... (4 Replies)
Discussion started by: cwiggler
4 Replies
5. Shell Programming and Scripting
Hi,
I am using ksh, is there any command which can check whether the XML file is well formed or not?
Regards,
Sreejit (1 Reply)
Discussion started by: sreejitnair123
1 Replies
6. Shell Programming and Scripting
Hey guys,
I have this file generated by me... i want to create some HTML output from it.
The problem is that i am really confused about how do I go about reading the file.
The file is in the following format:
TID1 Name1 ATime=xx AResult=yyy AExpected=yyy BTime=xx BResult=yyy... (8 Replies)
Discussion started by: umar.shaikh
8 Replies
7. UNIX for Dummies Questions & Answers
hi
How to check theip address on Redhat Linux 9 ?
I have installed a SUN VMWARE and created VM on Vista.
I am on bash and is not able to check the ip of the system.
can someone plz with command ( wit options if any )
Regards,
Subhotech (1 Reply)
Discussion started by: subhotech
1 Replies
8. Shell Programming and Scripting
hi
i am new to Shell scripting
i have a string "hostName=lpdma520_dev_ipc_us_aexp_com"
now i need to parse the string as "var1=lpdma520"
please help (7 Replies)
Discussion started by: satish@123
7 Replies
9. Programming
how can i remove the special characters
hi iam print the string variable .
suppse:
while(str!=NULL)
printf("******* %s ********** %d ",str,strlen(str));
output as:
****srinu ******** 5
****
phani******** 63
****srinu ******** 5
****
phani******** 63
so my problem is how can i... (3 Replies)
Discussion started by: phani_sree
3 Replies
10. Shell Programming and Scripting
Hi all,
Can you please suggest a few lines of if statement to check if a variable is an ip address purely in bash/sh?
Thanks,
Marc (3 Replies)
Discussion started by: marcpascual
3 Replies