I am accessing a UNIX server via FTP. I want to retieve a file in a directory. What is the UNIX command that I need to view and retrieve files from a directory? (1 Reply)
I am writing a shell script to search for previous versions of an application...the application is called TAU and basically i want to search the users home directory and /Applications for any instances of a "TAU" folder.. If found i want to give the user the option to remove the old folders and if... (3 Replies)
Hi guys,
can any one tell me how to create directories using regular expression?
Let's say that I need to create directories test01, test02, test03.... test10.
Can it be done using any regular expression?
thanks. (13 Replies)
I have directories like V00R01,V00R02,V01R01,V01R02 in a directory
where V is version and R is a release. basically I need to set base directory and current directory. Under a version there can be any number of releases and there can be number of versions also.
V00R01...V00R50..so on
also,... (2 Replies)
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Hi,
I want to find the files available in a directory /var/user/*/*/data/.
I tried using the command "find /var/user/ -path '*/*/data/ -name '*' -type f" it says find: 0652-017 -path is not a valid option and then i tried using "find /var/user/ -name '*/*/data/*' -type f" but its not... (3 Replies)
Alright so I've tried a couple different things that at first glance, looked like they worked.
find . -maxdepth 5 -type d -daystart -mtime 1 | xargs du -h Which seems to ignore the previous commands such as depth and modified time.
find .. -maxdepth 2 -type d -daystart -ctime 1 | xargs... (8 Replies)
I have multiply directories scattered throughout my system that end in 2011.
Example:
one_2011
two_2011
three_2011
etc....
I'm trying to find all of these directories but coming up short.
I tried
find / -type d -name *2011 > example
Any suggestions? I already searched in the... (13 Replies)
I have a large file of plain text, created using some OCR software. Some words have inevitably been got wrong. I've been trying to create grep or sed, etc., regular expressions to find them - but haven't quite managed to get it right. Here's what I'm trying to achieve:
Output all lines which... (2 Replies)
Hello Everyone,
I have a file sam1 with the below content
SYSYSID;MANDT;/SIE/AD_Z0M_INDX;/SIE/AD_Z0M_KEY1
echo $Regex
\bSYSYSID\b|\bMANDT\b|\b/SIE/AD_Z0M_INDX\b|\b/SIE/AD_Z0M_KEY1\b
cat sam1 | grep -Eo $Regex
I expect the result as
SYSYSID
MANDT
/SIE/AD_Z0M_INDX
/SIE/AD_Z0M_KEY1... (4 Replies)
Discussion started by: sam99
4 Replies
LEARN ABOUT HPUX
define_cached_server
define cached server(1m) define cached server(1m)NAME
define cached server - Creates knowledge of a server in the local clerk's cache
SYNOPSIS
cdscp define cached server name tower value
ARGUMENTS
A simple name for the cached server. The protocol sequence and network address of the server node. The format is protocol-sequence:net-
work-address. A protocol-sequence is a character string identifying the network protocols used to establish a relationship between a
client and server. There are two choices of protocol sequence, depending on the network address that is supplied in the binding:
ncacn_ip_tcp or ncadg_ip_udp. For the network-address, specify an Internet address using the common Internet address notation. For more
information about this format, see the RPC introduction in the DCE Application Development Reference.
DESCRIPTION
The define cached server command creates knowledge of a server in the local clerk's cache. This command is typically used to manually pro-
vide configuration information to a clerk that cannot automatically configure itself. This is required, for instance, to give the clerk
addressing information about a server across a WAN. Once the clerk knows about one server, it can find other servers through referrals.
Privilege Required
You must have write permission to the clerk.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLES
The following command creates knowledge of the server nrl in the local clerk's cache: cdscp> define cached server nrl tower
ncacn_ip_tcp:16.20.15.25
RELATED INFORMATION
Commands: clear cached server(1m), dump clerk cache(1m), show cached server(1m)
Books: OSF DCE Application Development Reference
define cached server(1m)