06-21-2013
Thank-you all. Its working for me now. !!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, to do a su - user, we need to know what are the users...
so in unix
1) which file to see the list of users, passwords? (2 Replies)
Discussion started by: yls177
2 Replies
2. UNIX for Dummies Questions & Answers
Hey, got a few questions here for anyone who can help......
Command line to - display users using the system, but count them only once.
Command line to - use the lastcomm command to display how many times ive used grep in october.
Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used
who -T
but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix. (2 Replies)
Discussion started by: salman4u
2 Replies
4. Shell Programming and Scripting
Dear All,
Please help in this subject..
my requirement is list the files in directory and out of that list make the different set and each should set contains 10 files and assign to variable and start zipping in background. pick the second set files and same to be repeat the commands parallel.
i... (3 Replies)
Discussion started by: nmadhuhb
3 Replies
5. Shell Programming and Scripting
I will be very grateful if someone can help me with bash shell script that does the following:
I have a list of filenames:
A01_155716
A05_155780
A07_155812
A09_155844
A11_155876
that are kept in different sub directories within my current directory. I want to find these files and copy... (3 Replies)
Discussion started by: manishabh
3 Replies
6. Shell Programming and Scripting
All,
I am trying to find a set of files, it could be one file OR set of file ,
all with extension .DAT
I need to do some acticity, only if the files exist in a partificular folder
like
if ; then
CntV=`ls $Landing/*.DAT |wc -l`
echo "Lst Value " $Cnt... (3 Replies)
Discussion started by: Shanks
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know... (5 Replies)
Discussion started by: samnyc
5 Replies
8. UNIX for Dummies Questions & Answers
Hi, I am new to Unix. I need a script to check some 74 files are present in a particular location or not . (4 Replies)
Discussion started by: nid21
4 Replies
9. UNIX for Advanced & Expert Users
Hi All,
im hav one requirement, let me explain my requirement.
my script will run every one hour and it wil pull files from remote server to my local server.but the d files hwich are pulled my not be in required format wht im expecting in my server.
but in my sever in particular dierectory i... (7 Replies)
Discussion started by: Seshendranath
7 Replies
10. Shell Programming and Scripting
I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation.
When I tried like below,
-bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation
-bash-4.1$ find ./ -name % Retail by State
find: paths must precede expression: Retail
Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
LEARN ABOUT MOJAVE
findrule
FINDRULE(1) User Contributed Perl Documentation FINDRULE(1)
NAME
findrule - command line wrapper to File::Find::Rule
USAGE
findrule [path...] [expression]
DESCRIPTION
"findrule" mostly borrows the interface from GNU find(1) to provide a command-line interface onto the File::Find::Rule heirarchy of
modules.
The syntax for expressions is the rule name, preceded by a dash, followed by an optional argument. If the argument is an opening
parenthesis it is taken as a list of arguments, terminated by a closing parenthesis.
Some examples:
find -file -name ( foo bar )
files named "foo" or "bar", below the current directory.
find -file -name foo -bar
files named "foo", that have pubs (for this is what our ficticious "bar" clause specifies), below the current directory.
find -file -name ( -bar )
files named "-bar", below the current directory. In this case if we'd have omitted the parenthesis it would have parsed as a call to name
with no arguments, followed by a call to -bar.
Supported switches
I'm very slack. Please consult the File::Find::Rule manpage for now, and prepend - to the commands that you want.
Extra bonus switches
findrule automatically loads all of your installed File::Find::Rule::* extension modules, so check the documentation to see what those
would be.
AUTHOR
Richard Clamp <richardc@unixbeard.net> from a suggestion by Tatsuhiko Miyagawa
COPYRIGHT
Copyright (C) 2002 Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
File::Find::Rule
perl v5.18.2 2011-09-19 FINDRULE(1)