09-18-2018
Thanks a TON Neo for implementing this. It looks great. I am grateful that I could give this GREAT FIRM a nice thought too.
Thanks,
R. Singh
9 More Discussions You Might Find Interesting
1. Linux
Hi,
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies
2. UNIX for Dummies Questions & Answers
Good afternoon,
I wonder how i could use unix commands to ease the reading of long command result output ?
like the "php -i" or any other command that returns a long answer.
I could not find the right terms to Google it or search the forum. Therefore I bother you with this question.
... (3 Replies)
Discussion started by: Mat_k
3 Replies
3. Web Development
Hi
Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally.
Any ideas?
Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies
4. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
5. Shell Programming and Scripting
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Discussion started by: antman
9 Replies
6. Shell Programming and Scripting
Hi,
The below awk script that i did is working fine. It gives me the results that i want. But, the script is not smart and very long as i have 8 conditions to meet. The sample script below only show 2 conditions.
awk 'BEGIN{FS=OFS=" ~ |\t"}
{if (($7>$9) && ($6>$8)){
Ql= $7-$6;
Sl=... (6 Replies)
Discussion started by: redse171
6 Replies
7. Shell Programming and Scripting
Hi All,
I have a file like below
Topic:price PartitionCount:5 ReplicationFactor:3 Configs:
Topic: price Partition: 0 Leader: 13 Replicas: 13,15,11 Isr: 11,13
Topic: price Partition: 1 Leader: 14 Replicas: 14,11,12 Isr: 11,12,14
... (4 Replies)
Discussion started by: manas_ranjan
4 Replies
8. What is on Your Mind?
Hi,
I changed the logout code to just simply log out and go back to the page you were viewing:
Was (ending code):
eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options, $vbulletin->session->vars), '', false));
Now:
$goto = "Location:... (0 Replies)
Discussion started by: Neo
0 Replies
9. UNIX for Beginners Questions & Answers
Hi Folks -
I have the following peice of code that I believe is uncecesarily long and I modified it to shorten it up. I was hoping one could comment and confirm my approach was acceptable?
Original:
if
then
pushd "${_INTRAPATH}"
#Search for lines in... (1 Reply)
Discussion started by: SIMMS7400
1 Replies
nice(3) Library Functions Manual nice(3)
Name
nice - set program priority
Syntax
int nice(incr)
int incr;
Description
The scheduling priority of the process is augmented by incr. Positive priorities get less service than normal. Priority 10 is recommended
to users who wish to execute long-running programs without flack from the administration.
Negative increments are ignored except on behalf of the super-user. The priority is limited to the range -20 (most urgent) to 20 (least).
The priority of a process is passed to a child process by For a privileged process to return to normal priority from an unknown state,
should be called successively with arguments -40 (goes to priority -20 because of truncation), 20 (to get to 0), then 0 (to maintain com-
patibility with previous versions of this call).
Environment
In any mode, nice returns -1 and sets on an error. On success, the return value depends on the mode in which your program was compiled.
In POSIX or System V mode, it is the new priority; otherwise, it is zero. Note that, in POSIX and System V mode, -1 can indicate either
success or failure; must be used to determine which.
See Also
nice(1), fork(2), setpriority(2), renice(8)
nice(3)