Search Results

Search: Posts Made By: sreedhargouda
1,350
Posted By sreedhargouda
hi thanks for your reply but this will work only...
hi thanks for your reply but this will work only one time, next time if we excute a = 1310601600 still same as old this because shell will read line by line one a=$c is last line so it will not update
1,350
Posted By sreedhargouda
Need help on addition in shell
i need shell script to add to numbers


#!/usr/bin/sh
a=1310601600 ------> epcho time of Thu, 14 Jul 2011 00:00:00 UTC
b=864000 -------> 10 days in sec
c=`expr $a+$b`
echo...
3,002
Posted By sreedhargouda
---------- Post updated at 05:17 PM ----------...
---------- Post updated at 05:17 PM ---------- Previous update was at 05:16 PM ----------

last -R command to get all details
Forum: Solaris 05-10-2011
2,043
Posted By sreedhargouda
as root please type "print_manifest" i will give...
as root please type "print_manifest" i will give all details
6,732
Posted By sreedhargouda
thank you very much it is woking fine, but one...
thank you very much it is woking fine, but one problem for Profile PM_AB only 4500 points only coming, actually it aroung 9000 point has to, is the any limitation in perl Arry
6,732
Posted By sreedhargouda
OUTput
No Profile Profile Name PM TP
No Profile AESV-T4733 HYD_SPT_A_A587/r01sr3sl06/port#07-#01-Au4P-4c-TMe-PMFETR15
No Profile AESV-T4733 HYD_SPT_A_A587/r01sr3sl06/port#07-#01-Au4P-4c-TMe-PMNETR15
No...
6,732
Posted By sreedhargouda
attached the input files
please have look
thanks...
6,732
Posted By sreedhargouda
thanks for quick support, but it is printing...
thanks for quick support,
but it is printing only no profile out put like below
No Profile,JND_PTN_A_A838/r01sr1sl37/port#001-MsTTP-PMNETR15
No...
6,732
Posted By sreedhargouda
Need Perl script to compare two CSV files
Need perl script to compare the two CSV files and and give out put in CSV format

File MsPMTP.csv
File ProfileNames.csv

MsPMTP.csv is having lines like below
...
11,289
Posted By sreedhargouda
how to put \r end of the line by using sed ...
how to put \r end of the line by using sed

eaxample is output is like password i need to put \r end of the line means password\r

how to dothis please help me
2,113
Posted By sreedhargouda
shell echo help needed
echo '#!/usr/local/bin/expect' > sree_expt
echo "spawn passwd $User" >> sree_expt
echo 'expect "New password:"' >> sree_expt
echo send "$Password\r" >> sree_expt
echo 'expect "Re-enter new...
11,289
Posted By sreedhargouda
how to print "sree\r" by echo command please...
how to print "sree\r" by echo command please help
11,289
Posted By sreedhargouda
#!/usr/bin/sh # sreedhar echo " welcome...
#!/usr/bin/sh
# sreedhar

echo " welcome Please wait all hosts are listing\n"
echo "-----------------------------------------\n"
echo "`/alcatel/Kernel/etc/HostDeclarer.pl -list`"
echo "...
11,289
Posted By sreedhargouda
thanks for your quick reply as u above...
thanks for your quick reply

as u above mentioned

how print each array input

means

if I have entered serve1 srver2 server 3

foreach(@hosts) {

print “$1” ---> output will...
3,405
Posted By sreedhargouda
need shell or Perl script to get the epoch time automatically
I need shell or Perl script to get the epoch time automatically


Example I need to execute mysql command to delete content less then given epoch time

If date is 01-07-2010 (dd-mm-yy) epoch...
11,289
Posted By sreedhargouda
need shell or Perl script to read multiple input
I need shell 0r Perl script to read multiple input and do something and come out

example:

echo “ enter the host names separated by space “

read servers
foreach @servers
{ do
do...
Forum: HP-UX 11-12-2009
4,633
Posted By sreedhargouda
yes it will correctes /home/directory regarding...
yes it will correctes /home/directory regarding /etc/passwd i have not checked
it will creats /hame/(user name) directory
Forum: HP-UX 11-12-2009
4,633
Posted By sreedhargouda
Thanks for you quick response, I am working as...
Thanks for you quick response, I am working as NMS support engineer, we can add different type of users with different profiles like Administrator, constrictor, viewer so on By NMS application,...
Forum: HP-UX 11-12-2009
4,633
Posted By sreedhargouda
Telnet permission for other then root users in HP-UNIX
Hi please tell me any one how to give telnet permission for other then root users in HP-UNIX :confused:
23,636
Posted By sreedhargouda
thank you all for quick reply
thank you all for quick reply
23,636
Posted By sreedhargouda
Need shell script to read two file at same time and print out in single file
Need shell script to read two file at same time and print output in single file


Example I have two files 1) file1.txt 2) file2.txt

File1.txt contains

Aaa
Bbb
Ccc
Ddd
Eee
Fff
...
Showing results 1 to 21 of 21

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