Sponsored Content
Full Discussion: Remote search on a peer
Top Forums UNIX for Advanced & Expert Users Remote search on a peer Post 302170344 by srivishnu_253 on Monday 25th of February 2008 10:03:33 AM
Old 02-25-2008
Remote search on a peer

Hello Guys,

Can I do a search on a different IP address remotely without sshing or using rsh.
Something in lines of : find DIFF_IPSmilieIRNAME -name "*.log" -print0

Thanks
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Peer to Peer

Hello all, Ok here is my deal. I have almost convinced the wife to let me remove WIN2k from our family machine and install some flavor of open source. I'm think Red Hat at this piont. The only things I need to keep her happy is some peer to peer file shareing program (like kazaa) and AIM or... (2 Replies)
Discussion started by: TAT2ME74
2 Replies

2. UNIX for Dummies Questions & Answers

Search files for a string in the remote machine

Hi all, I want to search the files in a remote machine for a particular string. The SSH command I wrote is giving an error even when the syntax is correct. ssh user@hostmachine find . -name "*.txt" -exec grep "ARIVU" '{}' \; The error it gives is find: missing argument to `-exec' When the... (2 Replies)
Discussion started by: a_rivu
2 Replies

3. UNIX for Advanced & Expert Users

Something like peer-to-peer

Hey all ! I have a nice question ( maybe simple one ). I coded a simple server , chat server. I want to implement send files options. But here I come to a nasty thing .. I cannot face out. Let's say that two clients are already connected to the server.( clients are just from another contry... (0 Replies)
Discussion started by: !_30
0 Replies

4. Solaris

peer-to-peer connection on solaris and windows

hi everyone. As a solaris/unix beginner, I am trying a peer-to-peer connection with my Sun and Windows. Here is my setup: -Windows XP -Sun System (Netra T1) which is connected to the console of the WinXP machine. -Windows XP has wireless connection which enables me to access internet ... (3 Replies)
Discussion started by: graboid888
3 Replies

5. Programming

when socket know the peer machin has already been down?

hi, I have developed a very simple echo client/server application. I expect whenever i shutdown the server machine, the client peer detects the shutdown.In reality this doesn't happen and client continues to send and receive data.To my surprise, it even recv() returns with value greater than... (4 Replies)
Discussion started by: Sedighzadeh
4 Replies

6. IP Networking

Firewall stopping Peer to Peer File sharing

I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Discussion started by: Paul K
0 Replies

7. Linux

Econnreset by peer

Hi I'm trying to upload my website via FTP FileZilla with 123-reg on a Linux package. I built my site using iWeb which tells me that it's ok to publish to FTP which I do and it downloads the directories ok. It connects then stops saying econnreset by peer. I've no idea what this means and I... (3 Replies)
Discussion started by: Emma heptonstal
3 Replies

8. IP Networking

Problem with Static route through peer to peer connection

Hi, I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1). I have... (9 Replies)
Discussion started by: ImranBD
9 Replies
DIRNAME(3)								 1								DIRNAME(3)

dirname - Returns parent directory's path

SYNOPSIS
string dirname (string $path) DESCRIPTION
Given a string containing the path of a file or directory, this function will return the parent directory's path. PARAMETERS
o $path - A path. On Windows, both slash ( /) and backslash ( ) are used as directory separator character. In other environments, it is the forward slash ( /). RETURN VALUES
Returns the path of the parent directory. If there are no slashes in $path, a dot (' .') is returned, indicating the current directory. Otherwise, the returned string is $path with any trailing /component removed. CHANGELOG
+--------+-------------------------------+ |Version | | | | | | | Description | | | | +--------+-------------------------------+ | 5.0.0 | | | | | | | dirname(3) is now binary safe | | | | +--------+-------------------------------+ EXAMPLES
Example #1 dirname(3) example <?php echo "1) " . dirname("/etc/passwd") . PHP_EOL; // 1) /etc echo "2) " . dirname("/etc/") . PHP_EOL; // 2) / (or on Windows) echo "3) " . dirname("."); // 3) . ?> NOTES
Note dirname(3) operates naively on the input string, and is not aware of the actual filesystem, or path components such as " ..". Note dirname(3) is locale aware, so for it to see the correct directory name with multibyte character paths, the matching locale must be set using the setlocale(3) function. Note Since PHP 4.3.0, you will often get a slash or a dot back from dirname(3) in situations where the older functionality would have given you the empty string. Check the following change example: <?php //before PHP 4.3.0 dirname('c:/'); // returned '.' //after PHP 4.3.0 dirname('c:/x'); // returns 'c:' dirname('c:/Temp/x'); // returns 'c:/Temp' dirname('/x'); // returns '' ?> SEE ALSO
basename(3), pathinfo(3), realpath(3). PHP Documentation Group DIRNAME(3)
All times are GMT -4. The time now is 08:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy