01-27-2008
Thanks, but...
thanks so much guys!
Last edited by ccox85; 01-27-2008 at 05:31 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Since this site solved my problems before, I am back for more (solutions)
I down load via a script every day a file that has the same name as the file of the day before. I want to move that file to its own directory like:
/archive/jul30
How do I capture the systems date in a script an... (2 Replies)
Discussion started by: flowrats
2 Replies
2. Shell Programming and Scripting
Hi All
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Discussion started by: kewong007
2 Replies
3. UNIX for Dummies Questions & Answers
Hi, I have a question, is there any way I can, when i create a directory, put the current date on it so that the directory name will be "name-current date"? just curious (3 Replies)
Discussion started by: aric87
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there a way to zip the content (recursively) of a folder other then the current directory, and keep the directory structure intact?
Example:
/var/tmp/myfolder
----------------- file1
----------------- file2
----------------- folder1
------------------------ file3
Now I want... (3 Replies)
Discussion started by: jimih
3 Replies
5. Shell Programming and Scripting
I am preparing a shell script to backup a few config files on a daily basis, with a retention of 30 days. Need some help with syntax/examples:
The shell script (running as cron) would require the following:
1. create a sub-directory within a specified (backup) directory, in the format... (3 Replies)
Discussion started by: FeNiCrC_Neil
3 Replies
6. UNIX for Advanced & Expert Users
Hello,
I want to use the string with the current directory in my awk command.
I tried: 'pwd=system("pwd")'
but it doesn't work. can please help somebody? (2 Replies)
Discussion started by: daWonderer
2 Replies
7. Shell Programming and Scripting
Hello All,
I have to write a shell script and use it in informatica. The script has to perform below actions:
The script gets executed from edw user.
Through the script, a DT folder has to be created under edw_sca user.
Is this scenario possible through a SHELL script or not.
... (2 Replies)
Discussion started by: bghosh
2 Replies
8. Shell Programming and Scripting
The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output.
If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
9. Shell Programming and Scripting
In the below I am trying to create a parent directory using the R_2019 line from f1 if what above it is not empty.
I then create sub-directories under each parent if there is a match between $2 of f1 and $2. Inside each sub-folder the matching paths in $3 and $4 in f2are printed. If there is no... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. Shell Programming and Scripting
In the below bash I am trying to ensure that all folders (represented by $folders) in a given directory are created. In the file f1 the trimmed folder will be there somewhere (will be multiple trimmed folders).
When that trimmed folder is found (represented by $S5) the the contents of $2 printed... (19 Replies)
Discussion started by: cmccabe
19 Replies
PARTY(1) General Commands Manual PARTY(1)
NAME
party - set OS responses mode
SYNOPSIS
party ON|OFF|WHEREIS [ - ] dnv
DESCRIPTION
Operating systems being what they are, the admin people can easily grow tired of command responses that resemble dyslexic eugene-
speak filtered through Kernighan and Ritchie's collective back-brains. To alleviate this, we have included a slightly more
`casual' mode, in which the responses to all commands are first filtered through a customising routine (DUDE) , which makes them
sound a little more friendly while retaining their full information content (usually). The rooted(c) system prompt is changed to
`What now, dude?' and output from each command is terminated by `No problem, dude.'
OPTIONS
-v Verbose mode (ALL commands have a `verbose' mode). When this option is present, all filtered responses are preceeded by a
message: `This response has been parsed by the DUDE filter and is not intended to be some sort of sleazy come-on.'
-d Don't restart all processes after recompiling the /uselss/libs/eugene file (see below). This alows any important tasks to
complete beforehand.
-n Notify all users that they are about to be force-logged out and force-logged in again.
ON Activates the DUDE filter.
OFF De-activates the DUDE filter.
WHEREIS
Doesn't do anything, but we couldn't resist it.
EXAMPLES
%-) party on
What now, dude?
To compare the differing responses, here is output provided by the ispi -s command, with party OFF and party ON:
party OFF
line who why how long
==========================================================
000 rooted that's you, dweeb! epoch
----------------------------------------------------------
00F wp she's supposed to be 0:44:12
typing up the end of
financial year report,
but she's been doing her
resume when she thinks
no-one is watching
----------------------------------------------------------
014 maint playing games, as usual 0:51:16
party ON
Well, let's see who's on, eh? There's you, of course, on line 000 (Imagine that! Hahaha!) Oh look, on serIOus line 00F, it's that
cute little secretary - looks like she's lost her keyboard template again, she's been hitting the escape key for the past five minutes!
AND OF COURSE, the guys down in maintenance are playing `cosmic ballcrushers'. As usual. Well, who else, um, no-one really
interesting like, ya know, oh hang on, DTR is toggling on serIOus line 03D.. oh, no problem, it's that stuffed modem again. You want
maybe I should send some AMail to maintenance and get 'em to look at it? No problem, dude.
What now, dude?
FILES
/uselss/libs/bill&ted/DUDE
This is the pipe process, usually
started at system shoe, which lies
idle until party ON is issued.
/uselss/libs/eugene
Contains all of the ordinary, ho-hum
confusing computer - jargonese
responses which commands ordinarily
issue. Text file.
/uselss/libs/eugene.spoo
compiled version of the eugene file.
/ephemeral/eugene.chex
Checksum for the compiled eugene file.
SEE ALSO
crp(1), stuffio(2), doobrie(9), gouge(3), ftang(65534), wi(-1), edmond(29), jumpstart(2), vo_mit(992)
BUGS
The -n option can be slow.
If the n option is issued, some users in a wi editing session may not receive the `warning, restart imminent' message until after the
restart.
There is no way selectively to follow symbolic links.
Sunburne Computer, Inc. 9 October 1991
Aug 18, 1997 PARTY(1)