09-12-2013
As long as we do not have input data and desired output data, its difficult to shorten them.
7 More Discussions You Might Find Interesting
1. Programming
Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies
2. UNIX for Dummies Questions & Answers
I have the following command prompt perl one liner:
perl -e 's/\(\)\\,\"]//g; s/^\s//g; s/;/\n/g' -pi result1
I tried to move this one liner into a perl script I am practicing with (just started learning perl right now).
I tried the following (I only know how to open a file and output to a... (1 Reply)
Discussion started by: EDALBNUG
1 Replies
3. Red Hat
I am running a script that runs a loop and executes a command on ${i} until the end of the for loop.
From time to time the command generates an error ( which is good) for example ERROR0005:
How can I trap the error and send an email echoing the ${i} variable in the loop and the error ?
... (2 Replies)
Discussion started by: pcpinkerton
2 Replies
4. Shell Programming and Scripting
Guys,
I have a requirement like this.
A file has >5K records always. Separated by "|", it has 30 fields for each line. In some lines, I am getting an odd field. say, the 15th field is supposed to be 2 characters but comes in as >2. In this case, for resolving this I need to copy the value of... (6 Replies)
Discussion started by: PikK45
6 Replies
5. Shell Programming and Scripting
Is it possible to set a nice value for an executable in a script so that every time the executable runs it has this nice value?
I'm trying to set aerender (After Effects terminal renderer) to run at +18 by replacing the original aerender script with a bash script with something like this in it: ... (3 Replies)
Discussion started by: scribling
3 Replies
6. What is on Your Mind?
I wanted to say LOL and punch my face when I saw post#11 (where Don_Cragun even reduced the string manipulation with a simple regex) in the thread https://www.unix.com/shell-programming-scripting/220553-add-0-start-filename-2.html
I mean, when things can be done with just a one liner, sometimes I... (6 Replies)
Discussion started by: ahamed101
6 Replies
7. AIX
How can I quickly see disk usage for my entire system? - IBM: AIX FAQ - Tek-Tips
I tried it on aix7.1with
./script -dand give me
VG PV size used free location Description
rootvg 128 397 149
rootvg 128 212 334 ... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
makekey(1) General Commands Manual makekey(1)
NAME
makekey - generate encryption key
SYNOPSIS
DESCRIPTION
improves the usefulness of encryption schemes depending on a key by increasing the amount of time required to search the key space. It
reads 10 bytes from its standard input and writes 13 bytes on its standard output. The output depends on the input in a way intended to be
difficult to compute (i.e., to require a substantial fraction of a second).
The first eight input bytes (the input key) can be arbitrary ASCII characters. The last two (the salt) are best chosen from the set of
digits, and uppercase and lowercase letters. The salt characters are repeated as the first two characters of the output. The remaining 11
output characters are chosen from the same set as the salt and constitute the output key.
The transformation performed is essentially the following: the salt is used to select one of 4,096 cryptographic machines all based on the
National Bureau of Standards DES algorithm, but broken in 4,096 different ways. Using the input key as key, a constant string is fed into
the machine and recirculated a number of times. The 64 bits that come out are distributed into the 66 output key bits in the result.
is intended for programs that perform encryption (e.g., ed(1) and crypt(1)). Usually, its input and output will be pipes.
SEE ALSO
crypt(1), ed(1), passwd(4).
makekey(1)