Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: nitin
1,898
Posted By nitin
I think I'll try the &. Good catch.
I think I'll try the &. Good catch.
1,898
Posted By nitin
Thanks to all, you guys are great. The cat...
Thanks to all, you guys are great. The cat command seem to have worked. I could not use cp, as I was pushing lots of output from other areas to the log. Here is the snippet of my telnet function....
1,898
Posted By nitin
I'll try the your suggestion. Thanks. :)
I'll try the your suggestion.
Thanks. :)
1,898
Posted By nitin
Do while loop in a do while
Hi,
I've a script that is using do while loop. It reads some some stuf using ps command then calls a function. The function has another do while loop in it.
My problem is that when the second...
2,512
Posted By nitin
Thanks for the quick replies. I was able to get...
Thanks for the quick replies. I was able to get the read to work.
But for some reason I was not getting inside the if condition loop. I kept getting this error:

./test_agent.sh: line 15 [:...
2,512
Posted By nitin
Array with do while and if loop
Hi All,
I am trying to run a do while for an array. And in the do while, I'm trying to get a user response. Depending on the the answer, I go ahead and do something or I move on to next element in...
1,214
Posted By nitin
Hi, I figured that my syntax was not entirely...
Hi,
I figured that my syntax was not entirely correct. Now I can display the entire link as text.
echo "http://mystie.cc/",$createFile->GetFileName(),"<br />\n";
The comma before and after the...
1,122
Posted By nitin
Try this: cat YourFile | awk -F/ '{print "name...
Try this:
cat YourFile | awk -F/ '{print "name " $1 " -f " $2}'

-F/ is for blank space delimiter; specify whatever your delimiter is.
1,214
Posted By nitin
PHP populate variable with function
Hi,
I've a php scirpt that calls in an external class. The external class, myClass, has several public and private functions.
There is one public function which derives a value that I want be able...
Forum: Linux 06-14-2010
2,845
Posted By nitin
Hi, I'm not a Java expert, but it looks like...
Hi,
I'm not a Java expert, but it looks like you need to check these errors:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:...
Forum: IP Networking 06-11-2010
5,630
Posted By nitin
I don't know much about SCO. But you can try...
I don't know much about SCO. But you can try this:

As always stop NIS:
# /usr/lib/netsvc/yp/ypstop


Remove the NIS config files in /etc:
# cd /etc
# cp nsswitch.files nsswitch.conf
# rm...
Forum: IP Networking 06-10-2010
3,268
Posted By nitin
That was it. [root@WAR47 ~]#rpcinfo -p ...
That was it.

[root@WAR47 ~]#rpcinfo -p
.... snip
100021 1 tcp 38862 nlockmgr
100021 3 tcp 38862 nlockmgr
100021 4 tcp 38862 nlockmgr


Thanks a lot. I...
Forum: IP Networking 06-10-2010
3,268
Posted By nitin
Nada. [root@WAR47 ~]#grep -F 38862...
Nada.

[root@WAR47 ~]#grep -F 38862 /etc/services
[root@WAR47 ~]#

---------- Post updated at 09:19 PM ---------- Previous update was at 09:18 PM ----------

Don't know if this helps:...
Forum: IP Networking 06-10-2010
3,268
Posted By nitin
I think so.:) [root@WAR47 ~]# date 10...
I think so.:)

[root@WAR47 ~]# date
10 12:08:47 EDT 2010
[root@WAR47 ~]#netstat -ap | grep 38862
tcp 0 0 *:38862 *:* LISTEN -
[root@WAR47...
Forum: IP Networking 06-10-2010
3,268
Posted By nitin
Yep, I'm on an Ubuntu system. I ran fuser, and...
Yep, I'm on an Ubuntu system.
I ran fuser, and got nothing :
[root@WAR47 ~]#fuser 38862/tcp
[root@WAR47 ~]#

Strangely, I ran top too, and it says 0 zombie processes. Hmm..

Thanks,
Nitin
Forum: IP Networking 06-10-2010
3,268
Posted By nitin
Unknown ports 38862
Hi All,
I want to know which process is opening these ports. So far I've ran these commands, and got nothing :confused::

tcp 0 0 *:38862 *:* ...
Forum: Linux 06-10-2010
13,229
Posted By nitin
You are right about I just tested added...
You are right about


I just tested added HISTTIMEFORMAT in .bashrc of a Redhat server. All my previous commands had time-stamp of the time I ran history after adding HISTTIMEFORMAT. But any...
Forum: Ubuntu 06-10-2010
1,535
Posted By nitin
The mydestination parameter specifies what...
The mydestination parameter specifies what domains your machine will deliver locally, instead of forwarding to another machine.

In my main.cf, I've defined my own domains:

mydestination =...
Forum: Linux 06-09-2010
13,229
Posted By nitin
The history and fc are bash builin commands, so...
The history and fc are bash builin commands, so when I did which history I got nothing.

root:~$ which history
root:~$ whereis history
history: /usr/share/man/man3/history.3readline.gz
root:~$...
Forum: Linux 06-09-2010
1
NIS
2,036
Posted By nitin
The yppasswdd daemon must run on both the client...
The yppasswdd daemon must run on both the client and server for password changes to work correctly. Check to see if yppasswdd is in fact running on the client.

HTH.
Nitin :b:
Forum: Linux 06-09-2010
13,229
Posted By nitin
I'm using bash. And the above output is from...
I'm using bash.
And the above output is from regular history command.

I also use screen though, don't know how the history merges commands between different terminals.

Thanks,
Nitin
Forum: Linux 06-09-2010
4,384
Posted By nitin
Tail your /var/log/messages and see what it says....
Tail your /var/log/messages and see what it says.
It can also be that 'named' is trying to write to the file /var/run/named.pid and user named is not allowed to write to that file.
:)

Nitin
Forum: Linux 06-09-2010
13,229
Posted By nitin
history timestamp is messed up
Hi,
Just wanted to know if anyone else has noted that the time-stamp in the history is all out of whack.:eek:
I've Ubuntu, all patched, and when I ran history, it showed me commands that I ran few...
2,679
Posted By nitin
MySQL backup : Look at my first script
MySQL backup : Look at my first script
Forum: BSD 08-01-2009
4,454
Posted By nitin
Try 'shutdown now' or '/sbin/init 0'
Try 'shutdown now' or '/sbin/init 0'
Showing results 1 to 25 of 111

 

Featured Tech Videos

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