02-22-2004
.....
Last edited by druuna; 05-21-2009 at 10:17 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all;
I am new to UNIX scripting and I want to download remote server's dir listing every hour, to check whether it is updating. How can I do this.
can I use ftp command to down load this dir listing.
Pls help me in this regards.
tks (1 Reply)
Discussion started by: HMS.Chandrasiri
1 Replies
2. Shell Programming and Scripting
Hi ALL,
I am making a script that search all then worldwriteable dir in documentroot.I have manage to find all the dir now i want to match each file extension in worldwriteable against a list of array which contain file like php html etc,if i find any file then print dirname. Dont see to get any... (8 Replies)
Discussion started by: aliahsan81
8 Replies
3. Shell Programming and Scripting
Hello,
fjalkdsjfkldsajflkajdskl (3 Replies)
Discussion started by: pmeesara
3 Replies
4. Shell Programming and Scripting
Hi
I am looking for the correct syntax to find all files in the current directory without listing sub-directoris. I was using the following command, but it still returns subdirectoris and files inside them:
$ ls -laR | grep -v ^./
Any idea? Thanks
PS I am in ksh88 (4 Replies)
Discussion started by: aoussenko
4 Replies
5. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
6. Shell Programming and Scripting
I want to print all list of file in the home dir of the user in $i with full bath an owner and group and permissions (1 Reply)
Discussion started by: testman84
1 Replies
7. Shell Programming and Scripting
I am trying following ...
ls -ltrh | grep 'Dec 2'
but it is displaying files for last year also ..as this dir is full of files from last 3-5 yrs
I only want to files for today.
e.g .
ls -ltrh | grep 'Dec 2'
-rw-r----- 1 ajay ajay 0 Dec 2 2010 text23.txt
-rw-r----- ... (19 Replies)
Discussion started by: ajaypatil_am
19 Replies
8. Shell Programming and Scripting
Hi all,
I'd very grateful for some help with the following:
I have a directory with several subdirectories with files in them. All files are named different, even between different subdirectories. I also have a list with some of those file names in a txt file (without the path, just the file... (5 Replies)
Discussion started by: foracoffee
5 Replies
9. Shell Programming and Scripting
Hi
i am trying to list all the file starting with CSA.CHENAISCP* i am using below command to do that
ls -lrt | grep CSA.CHENAISCP*however i am getting below error.
0403-027 The parameter list is too long.please suggest me some alternative way.
scriptor (3 Replies)
Discussion started by: scriptor
3 Replies
10. Shell Programming and Scripting
bash or c-shell On Solaris 10
I need a command that will list the files of a directory, and grep each of those filenames out of a static text file, and then only echo field 2 of the static text file.
Something like this:
#> ls -1 /home/dir/ | each filename grep $filename static.txt |awk... (4 Replies)
Discussion started by: ajp7701
4 Replies
LEARN ABOUT DEBIAN
runsvchdir
runsvchdir(8) System Manager's Manual runsvchdir(8)
NAME
runsvchdir - change services directory of runsvdir(8)
SYNOPSIS
runsvchdir dir
DESCRIPTION
dir is a services directory for the use with runsvdir(8). If dir does not start with a slash, it is searched in /etc/runit/runsvdir/. dir
must not start with a dot.
runsvchdir switches to the directory /etc/runit/runsvdir/, copies current to previous, and replaces current with a symlink pointing to dir.
Normally /etc/service is a symlink to current, and runsvdir(8) is running /etc/service/.
EXIT CODES
runsvchdir prints an error message and exits 111 on error. runsvchdir exits 0 on success.
FILES
/etc/runit/runsvdir/previous
/etc/runit/runsvdir/current
/etc/runit/runsvdir/current.new
SEE ALSO
runsvdir(8), runit(8), runit-init(8), sv(8), runsv(8)
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
runsvchdir(8)