Sponsored Content
Full Discussion: fun scripts
The Lounge What is on Your Mind? fun scripts Post 302307950 by Ikon on Thursday 16th of April 2009 05:07:09 PM
Old 04-16-2009
This is an old one.

At a job interview this was a script I had to explain.

Code:
:(){ :|:& };:

 

7 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Fun with FreeBSD

Fun With Automounting on FreeBSD Link: Nice tips for FreeBSD Unix. http://ezine.daemonnews.org/200202/automounting.html (2 Replies)
Discussion started by: killerserv
2 Replies

2. UNIX for Dummies Questions & Answers

fun with tar

ok, i've figured out my problem with distributed, in Solaris GUI if you click on a tar file it will untar it for you, using paramiters I don't know. now, I've got a tar file in / called dnetc-solaris26-x86.tar i want to install it to the "/Veitch" directory how exactly do I use the tar... (17 Replies)
Discussion started by: veitcha
17 Replies

3. UNIX for Advanced & Expert Users

like to have fun in terminal

Hai Friends I have installed FreeBSD in my system... I have installed it to work in text mode don't have the GUI. The default text color is Black background with White Foreground. I want it to be with Black background with Green Foreground. How could i do that. Thanks in advance Collins (4 Replies)
Discussion started by: collins
4 Replies

4. Shell Programming and Scripting

Fun with awk

uggc://ra.jvxvcrqvn.bet/jvxv/EBG13 #!/usr/bin/awk -f BEGIN { for (n=0;n<26;n++) { x=sprintf("%c",n+65); y=sprintf("%c",(n+13)%26+65) r=y; r=tolower(y) } } { b = "" for (n=1; x=substr($0,n,1); n++) b = b ((y=r)?y:x) print b } ... (0 Replies)
Discussion started by: colemar
0 Replies

5. Shell Programming and Scripting

More fun with awk

#!/usr/bin/ksh ls -l $@ | awk ' /^-/ { l = 5*log($5) h = sprintf("%7d %-72s",$5,$8) print "\x1B ls command with histogram of file sizes. The histogram scale is logaritmic, to avoid very short bars for smaller files or very long bars for bigger files. Screenshot: (4 Replies)
Discussion started by: colemar
4 Replies

6. What is on Your Mind?

Fun things to put in comments in scripts?

Approaching the end of my portion of some STIG/DOD compliance automation and I was challenged by a co-worker to include a story in my code. There are blocks of code that need to be kept the way they are for GIT/Gerrit and then compliance, but otherwise I changed out all the comments into a... (2 Replies)
Discussion started by: Vryali
2 Replies

7. War Stories

Following Cables for Fun!

Hi Folks, I came accross this picture taken a number of years ago now, I just thought I'd share it with you guys. We were in the process of removing equipment from the Data Centre and had followed the cable through to this area, where one of the old patch areas had been. When we lifted the... (2 Replies)
Discussion started by: gull04
2 Replies
GRAM 
Signals(3) globus gram protocol GRAM Signals(3) NAME
GRAM Signals - Enumerations enum globus_gram_protocol_job_signal_t { GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_CANCEL = 1, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_SUSPEND = 2, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_RESUME = 3, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_PRIORITY = 4, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST = 5, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_EXTEND = 6, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_UPDATE = 7, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_SIZE = 8, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STOP_MANAGER = 9, GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_END = 10 } Detailed Description Enumeration Type Documentation enum globus_gram_protocol_job_signal_t GRAM Signals. Enumerator: GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_CANCEL Cancel a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_SUSPEND Suspend a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_RESUME Resume a previously suspended job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_PRIORITY Change the priority of a job. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST Signal the job manager to commence with a job submission if the job request was accompanied by the (two_state=yes) RSL attribute. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_EXTEND Signal the job manager to wait an additional number of seconds (specified by an integer value string as the signal's argument) before timing out a two-phase job commit. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_UPDATE Signal the job manager to change the way it is currently handling standard output and/or standard error. The argument for this signal is an RSL containing new stdout, stderr, stdout_position, stderr_position, or remote_io_url relations. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_SIZE Signal the job manager to verify that streamed I/O has been completely received. The argument to this signal contains the number of bytes of stdout and stderr received, separated by a space. The reply to this signal will be a SUCCESS message if these matched the amount sent by the job manager. Otherwise, an error reply indicating GLOBUS_GRAM_PROTOCOL_ERROR_STDIO_SIZE is returned. If standard output and standard error are merged, only one number should be sent as an argument to this signal. An argument of -1 for either stream size indicates that the client is not interested in the size of that stream. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STOP_MANAGER Signal the job manager to stop managing the current job and terminate. The job continues to run as normal. The job manager will send a state change callback with the job status being FAILED and the error GLOBUS_GRAM_PROTOCOL_ERROR_JM_STOPPED. GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_END Signal the job manager to clean up after the completion of the job if the job RSL contained the (two-phase = yes) relation. Author Generated automatically by Doxygen for globus gram protocol from the source code. Version 11.3 Mon Apr 30 2012 GRAM Signals(3)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy