04-27-2006
Thanks!
Thanks for all the replies. I'll look into those resources.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all,
I want to remove files older than 2 months in the /home/member directory. But except the configuration files (like .bash_profile .config/ .openoffice/ .local/ .kde/ etc..)
I have tried with the command
find . -mtime +60 -wholename './.*' -prune -o -print -exec mv {} \;
but it... (1 Reply)
Discussion started by: jamcalicut
1 Replies
2. HP-UX
Hi,
I had a directory and many subdirectories and files with in it.
Now i want to get the timestamp of files from the files and folders recursively. :(
Please help me to generate a script fort he above mentioned requirement!
Appreciate for ur qick response
Thanks in advance!
... (2 Replies)
Discussion started by: kishan
2 Replies
3. Shell Programming and Scripting
Hi All,
I am new to this unix stuff.I just have one doubt:suppose i have two tar files and sometimes it happens that when we just check these files from outside these two tar files look same
"Eg:
ls -lrt
drw-r--r-- 1 oasis logadmin 37067 Apr 3 05:48 file1.tar
drw-r--r-- 1 oasis ... (7 Replies)
Discussion started by: siri_14
7 Replies
4. UNIX and Linux Applications
Hi,
I want to differentiate between a MS Word and Excel file in Unix (not by extension). The condition which we are currently checking for is the pattern "\320\317\021\340" within first 40 bytes of the file. However this format is same in all MS Office files. Can somebody tell me any special... (4 Replies)
Discussion started by: phatak_rajan
4 Replies
5. Shell Programming and Scripting
Hi, all:
I've got two folders, say, "folder1" and "folder2".
Under each, there are thousands of files.
It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command.
However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies
6. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
7. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
8. Shell Programming and Scripting
Im using code below comparing and getting the diff of two files.
But what about multiple files? can you help me guys
diff -u file1 file2|sed -n '/^---/!{/^-/s/-//p}'
diff -ui file1 file2| sed -n '/^++/!{/^+/s/+//p}'
Example
File1:
aaa
bbb
ccc
ddd
File2:
bbb
eee (5 Replies)
Discussion started by: kenshinhimura
5 Replies
9. Shell Programming and Scripting
Hello All,
I have 2 Type of files.
1. MYTEST001_RKP_DORALDO_20150402120000.zip
2. CMP001_STD001_MOGANO_RPSL_20150409_C.zip
I can receive these Two type of file at one location.
If i receive second type of file
CMP001_STD001_MOGANO_RPSL_20150409_C.zip I have to process without... (9 Replies)
Discussion started by: yadavricky
9 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
ident2
ident2(8) System Manager's Manual ident2(8)
NAME
ident2 - An advanced ident daemon
SYNOPSIS
ident2 [options]
DESCRIPTION
ident2 is an advanced ident daemon, which can run as an inetd service or on it's own. It has various features such as user defined and ran-
dom replies, extensive logging, and full administrative control.
OPTIONS
The program follows the usual GNU syntax command-line unless it is unsupported on your system. GNU options begin with two dashes(`-') and
have much more descriptive names.
-h, --help
Show summary of options.
-u, --usage
Shows example command lines
-v, --version
Show version information
-l, --license
Show licensing information
-a, --force-inetd
Force inetd mode, if autodetection isn't working.
-d, --force-daemon
Force standalone daemon, if autodetection isn't working.
-i, --use-user-ident
Allow user defined ident replies. Just do a echo 'ident ar' > ~/.ident to change your ident reply.
-y, --user-reply-file
File ident2 should look for in user's homedir for replies. Default is ~/.ident
-n, --allow-noident-file
Disable replies for user if user has a ~/.noident file. This behavior is disabled by default.
-o, --client-timeout
Clients timeout after this many seconds
-s, --dont-change-uid
Ident2 will normally try to change it's uid to something less privileged if it finds it's uid to be 0. This option disables this
behavior altogether.
-r, --always-random
Always send a random reply, regardless of what kind of request the client made. This is useful for abusing the ident protocol as
well as assisting outgoing IP masqueraded connections.
-m, --daemon-maxclients
Daemon-only: Accept no more than this many connections at a time.
-p, --daemon-port
Daemon-only: Bind this port, instead of 'auth' aka 113
SEE ALSO
inetd(8), inetd.conf(5)
AUTHOR
This manual page was written by Alexander Reelsen <ar@rhwd.net>, for the Debian GNU/Linux system (but may be used by others).
GNU ident2(8)