Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Monitoring specific files and folders Post 302277676 by ynilesh on Saturday 17th of January 2009 12:53:12 PM
Old 01-17-2009
Use tripwire.

- nilesh
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

decompressed files to specific folders

Hi all, I have a script below which meant to decompress *.tr.gz to allocated folder. e.g. hello.tar.gz should be decompress to a subdirectory called hello and all the files should be in hello subdirectory. How do i do it? Am i missing anything? Condition: there are existing tar.gz in teh... (3 Replies)
Discussion started by: c00kie88
3 Replies

2. Shell Programming and Scripting

Copying specific files from remote m/c to specific folders

Hi All, I am trying to rsync some of the latest files from remote m/c to my local linux box. Folder structure in my remote m/c looks like this /pub/Nightly/Package/ROLL/WIN /pub/Nightly/Package/SOLL/sol /pub/Nightly/Package/SOLL/linux Each of the folder contains gzip files which on daily... (0 Replies)
Discussion started by: jhoomsharabi
0 Replies

3. Shell Programming and Scripting

Monitoring specific string or keyword in rotating log files.

Hi there, I like to ask how i shall monitor specific string or keyword in rotating log files. e.g. I have at 10 rotating logfiles. I use the command below to grep the string, but eventually become non functional because the logfile rotates and new logfile is active. tail -f <logfile1> |grep... (1 Reply)
Discussion started by: shtobias
1 Replies

4. Shell Programming and Scripting

Monitoring for specific date stamped files before and after midnight

Hi Guys, I am having a brain freeze.... I want to monitor a directory for a time stamped file on a sol 10 system in bash or ksh, the files will come in looking like this.. randomfile.DDMMYY.rpt The problem i am having is the file can come in before or after midnight, the file will... (5 Replies)
Discussion started by: twinion
5 Replies

5. Shell Programming and Scripting

Bash to download specific files and save in two folders

I am trying to download all files from a user authentication, password protected https site, with a particular extension (.bam). The files are ~20GB each and I am not sure if the below is the best way to do it. I am also not sure how to direct the downloaded files to a folder as well as external... (7 Replies)
Discussion started by: cmccabe
7 Replies

6. Shell Programming and Scripting

How to delete all the files and folders inside all the directories except some specific directory?

hi, i have a requirement to delete all the files from all the directories except some specific directories like archive and log. for example: there are following directories such as A B C D Archive E Log F which contains some sub directories and files. The requirement is to delete all the... (7 Replies)
Discussion started by: Little
7 Replies

7. Shell Programming and Scripting

Bash to move specific files from folders in find file

I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
Discussion started by: cmccabe
7 Replies

8. Shell Programming and Scripting

How to copy files/folders and show the files/folders?

Hi, So i know we use cp -r as a basic to copy folders/files. I would like this BUT i would like to show the output of the files being copied. With the amazing knowledge i have i have gone as far as this: 1) find source/* -exec cp -r {} target/ \; 2) for ObjectToBeCopied in `find... (6 Replies)
Discussion started by: Imre
6 Replies

9. UNIX for Advanced & Expert Users

Find files in specific folders

Hi Team, I am new to the linux commands and I really need help . I would be really thankful if I can get some inputs. I have below folders in the path "/home/temp" 20170428 20170427 20170429 changes tempI need to get the files generated in the last 15 mins in all the above folders... (4 Replies)
Discussion started by: JackJinu
4 Replies

10. Shell Programming and Scripting

Copying specific file types to specific folders

I am trying to write a script that cycles through a folder containing many folders and when inside each one it's supposed to copy all the .fna.gz files to a folder elsewhere if the file and the respective folder have the same name. for fldr in /home/playground/genomes/* ; do find .... (8 Replies)
Discussion started by: Mr_Keystrokes
8 Replies
REMCTL(1)							      remctl								 REMCTL(1)

NAME
remctl - Remote execution tool SYNOPSIS
remctl [-dhv] [-b source-ip] [-p port] [-s service] host command [subcommand [parameters ...]] DESCRIPTION
remctl is a program that allows a user to execute commands remotely on a server that is running the remctld daemon. remctl does not interpret the commands given to it. It passes them to the server and displays the return message. The commands must be defined on the server-side before a remctl client can execute them, and the user running remctl must be authorized to execute the particular command on the server. Access to remote commands is authenticated via Kerberos v5 GSS-API, so a user must have a ticket granting ticket to use remctl. All transmissions to and from the remctld server are encrypted using GSS-API's security layer. host is the hostname of the target server. command and subcommand together specify the command to run and correspond to the command names in the configuration file on the server. parameters are any additional command-line parameters to pass to the remote command. OPTIONS
-b source-ip When connecting to the remote remctl server, use source-ip as the source IP address. This can be useful on multihomed systems where the remctl connections need to be made over a particular network. source-ip must be an IP address, not a hostname, and can be either an IPv4 or IPv6 address (assuming IPv6 is supported). -d Turn on extra debugging output of the client-server interaction. -h Show a brief usage message and then exit. -p port Connect to the server on port. If this option isn't given, the client first tries the registered remctl port (4373) and then falls back on the legacy port (4444) if that fails. -s service Authenticate to the server with a service ticket for service rather than the default server identity of host/hostname. This may be necessary with, for instance, a server where remctld is not running as root. -v Print the version of remctl and exit. EXIT STATUS
remctl will exit with the exit status returned by the remote command. If some network or authentication error occurred and remctl was unable to run the remote command or retrieve its exit status, or if remctl was called with invalid arguments, remctl will exit with status 1. EXAMPLES
Release an AFS volume called ls.tripwire: remctl lsdb afs release ls.tripwire CAVEATS
If no principal is specified with -s, remctl canonicalizes the server host name using DNS before connecting. This ensures that the network connection and the GSS-API authentication use the same server name even if some common DNS-based load-balancing schemes are in use. To disable this canonicalization, specify the server principal using -s. The default behavior, when the port is not specified, of trying 4373 and falling back to 4444 will be removed in a future version of remctl in favor of using the "remctl" service in /etc/services if set and then falling back on only 4373. 4444 was the poorly-chosen original remctl port and should be phased out. When using Heimdal with triple-DES keys and talking to old servers that only speak version one of the remctl protocol, remctl may have problems with MIC verification. This doesn't affect new clients and servers since the version two protocol doesn't use MICs. If you are using Heimdal and run into MIC verification problems, see the COMPATIBILITY section of gssapi(3). NOTES
The remctl port number, 4373, was derived by tracing the diagonals of a QWERTY keyboard up from the letters "remc" to the number row. SEE ALSO
kinit(1), remctld(8) The current version of this program is available from its web page at <http://www.eyrie.org/~eagle/software/remctl/>. AUTHOR
Anton Ushakov <antonu@stanford.edu> is the original author. Updates and current maintenance are done by Russ Allbery <rra@stanford.edu>. COPYRIGHT AND LICENSE
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The Board of Trustees of the Leland Stanford Junior University Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. 3.2 2012-06-19 REMCTL(1)
All times are GMT -4. The time now is 07:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy