Hello,
I would assume the expression ^$ should match a null string. Yet when I run:
echo -n | sed 's/^$/nullstring/'
I get no output.
Can anyone tell me why? (6 Replies)
I'm using the URL Regex feature of Squid for allowing sites via a list of regex strings to match allowed domains. The regex was actually copied from our previous proxy solution and it seemed to "just work". But, we've recently discovered that some domains (likely due to virtual hosts or host... (2 Replies)
Hi ,
I am very new to unix as well as shell scripting. I have to write a script for the following requirement.
In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order.
Please help me in this regard and many... (4 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi,
I need to find the list of matching direcories in current folder only and no subfolders on AIX.I tried -maxdepth option but its not working.
Also, tried ls -d option to list the matching directories but getting argument list too long...
So, any help would be appreciated. (6 Replies)
I have a variable strLst containing a list of strings. I want to create a function that takes the list and an error message. If the number of strings is 0 or greater than 1, I print the error message. (1 Reply)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
I am trying to eliminate an error message from a script. This is the error message:
find: stat() error /usr/openv/netbackup/db/images/KUMAX: No such file or directory
if ];
then
runthiscommand=`su nxadm -c "ssh -t $new3 exec /bin/sh -s">/tmp/filew3 2>/tmp/error.txt<<EOF
... (1 Reply)
It is for HP-Unix B.11.31.
Requirement:
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Hi All,
I am new to shell scripting. I have a requirement as part of my job to find out null/empty values in column 2 and column 3 from a CSV file and exit the further execution of script by displaying a simple error message.
I have developed a script to do this by reading various articles... (7 Replies)
Discussion started by: tpk
7 Replies
LEARN ABOUT OSF1
directories
Directories(4) Kernel Interfaces Manual Directories(4)NAME
Directories - Contains queued requests for file transfers and command executions on remote systems
SYNOPSIS
/usr/spool/uucp/SystemName
DESCRIPTION
The /usr/spool/uucp/SystemName directories are the uucp program spooling directories on the local system. The uucp program creates a Sys-
temName directory for each system listed in the /usr/adm/uucp/Systems file, including the local system.
Each SystemName directory contains queued requests issued by local users for file transfers to remote systems and for command executions on
remote systems.
The uucp program uses several types of administrative files to transfer data between systems. These files are stored in the SystemName
directories. They are: Contain directions for the uucico daemon concerning file transfers. Contain data to be sent to remote systems by
the uucico daemon. Contain instructions for running commands on remote systems. Contain data files after their transfer to the remote
system until the uucp program can deliver them to their final destinations (usually the /usr/spool/uucppublic directory).
RELATED INFORMATION
Daemons: uucico(8), uusched(8), uuxqt
Commands: uucp(1), uux(1) delim off
Directories(4)