Search Results

Search: Posts Made By: csaha
Forum: Linux 12-13-2006
6,926
Posted By csaha
Here are the information
ixca-cm-build11:~ # uname -a
Linux ixca-cm-build11 2.4.21-144-smp4G #1 SMP Fri Nov 14 00:07:01 UTC 2003 i686 i686 i386 GNU/Linux


E:\ >ping ixca-cm-build11

Pinging ixca-cm-build11.ixiacom.com...
Forum: Linux 12-13-2006
6,926
Posted By csaha
Can't SSH / ping Linux box !!!
I have a linux box build11 which can be pinged from build18 (Windows) box. And we can only login to the box (using SSH) from build18 box. Plz help to characterize the problem, network, DNS, DHCP, etc...
13,717
Posted By csaha
Error while running rsh commands !!!
Hi All

I am trying to run an RSH command remotely to a machine, but I am gettinf the following errors, can anyone help me to resolve the errors

user@server10:~> rsh user@server24 'uname -n'...
2,985
Posted By csaha
Want to execute rest of the script after the file is ready ...
Hi All

I have a requirement like, where a file gets generated in a particular dir and once the file is ready and available then I want to execute rest of the script, because untill and unless the...
5,275
Posted By csaha
Need to send email on HIGH Disk usage
Hi Guys

I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full.

By the way my OS is Win XP.

If anybody have already has written...
1,832
Posted By csaha
Still need some more clarification
Actually, I want to put the code (to run script_B.sh in Server B) in script_A.sh (in server A).

Also can someone tell me how to setup SSH Public Key in both the boxes

Thanks
Chirantan
1,832
Posted By csaha
Need to shell run script remotey
I need to run script_B.sh (in Server B) just after running script_A.sh (in Server A) and this whole operation has to done without any manual intervension as script_A.sh will be run by crob job.
...
2,916
Posted By csaha
Extracting data from each line
Hi All

I have one file aa.txt like this



Change 172453 on 2006/04/26 10:45:45 by cm@cm-ixca-cm-build23 'cmbuild: ixweb-3.10.28.110 '
Change 172362 on 2006/04/26 08:58:47 by...
5,125
Posted By csaha
Still not sure after reading the positings, if I...
Still not sure after reading the positings, if I need to append a line after a particular line, then how to do it?

For example -

My out-put is like this

$ p4 group -o lpth-everyone

#...
4,587
Posted By csaha
Looks like this kind of work hasn't been done...
Looks like this kind of work hasn't been done yet. Can someone atleast suggest some way around ???

Thanks for support
C Saha
4,587
Posted By csaha
Code conversion from JSP to PYTHON
Guys

I need to convert a code from JSP (Java Tags are also there inside JSP) to PYTHON.

I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP.

Any idea how to...
18
6,392
Posted By csaha
If you do , .bash_profile will be like this ... ...
If you do , .bash_profile will be like this ...

$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific...
6,102
Posted By csaha
Yes exactly. Both of your suggession worked. Its...
Yes exactly. Both of your suggession worked. Its fine now.
18
6,392
Posted By csaha
Let him paste " ls -ltra " o/p
Let him paste " ls -ltra " o/p
18
6,392
Posted By csaha
I think you're posting to the wrong thread ...
I think you're posting to the wrong thread

No .. just wanted to show you some basic stuffs ... which could have helped u ... any way ...
18
6,392
Posted By csaha
go to ur home dir and run this " ls -ltra " and...
go to ur home dir and run this " ls -ltra " and paste the o/p here
10
3,951
Posted By csaha
So this is your cron job 33 05 * * *...
So this is your cron job


33 05 * * * /bin/csh /home/teradm/vr_peek.csh
06 08 * * * /bin/csh /home/teradm/test.csh
01 08 * * * /opt/terascan/bin/lspass >> /home/teradm/pas


Try this and...
10
3,951
Posted By csaha
paste your "crontab -l" o/p here
paste your "crontab -l" o/p here
10
3,951
Posted By csaha
check whether you script is in executable mode or...
check whether you script is in executable mode or not

else run this

chmod +x <file-name>
2,943
Posted By csaha
UUOC means ?
UUOC means ?
3,035
Posted By csaha
$A is a number / any other string? How to determine ?
I have a variable (say $A) and while passing it gets either a number or some other string. Now how can test (with if else) whether the variable is just a ne or something else ?

Thanks a lot to all...
2,943
Posted By csaha
Thanks for the code dude Only this was...
Thanks for the code dude

Only this was enough


$ cat file_A | sed -n -e '/Affected files/,$p'
Affected files ...

... //depot/users/csaha/chirantan/R&D1.doc#1 edit
......
2,943
Posted By csaha
Greping certain lines
One of my outout is like this as shown below. How can I grep only the lines after the line "Affected files ...". No of lines after the line "Affected files ..." may vary.

$ cat file_A

Change...
6,102
Posted By csaha
SORRY for the typo error in my previous post. ...
SORRY for the typo error in my previous post.

Yes I saw aa.log, its coming blank when its running by cronjob

This is cron settings

When running the script in cron-job...
6,102
Posted By csaha
actually the file and the o/p is like this $...
actually the file and the o/p is like this

$ cat crt-offline-chkpnt.sh

P4_COUNTER=`p4 -u cm -P cmpswd counters | grep journal | awk '{print $3}'`
echo "$P4_COUNTER" >aa.log

$...
Showing results 1 to 25 of 81

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