Hi Everyone , have a nice day
given below is a simple linux script
but its first part is not working ( variable k assignment ) , while second loop is working fine
can anyone help me out with this
#!/bin/sh
echo "Enter Date"
read date1
for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14... (6 Replies)
HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Hello everybody!
This is my first time having to write a script so your help is most appreciated.Also i am a beginner when it comes to linux so please bare with me.Thanks in advance to all who will look into this for me.
I have to write a bash script that will show the free space on the hard... (4 Replies)
I need to write a script to which need to track errors in log and need to check last 100 lines in the log at every 5 minits. if error fund need to mail my self
error type
1. "STATE_ADMIN" if found need to print: <Jan 5, 2011 11:47:02 AM IST><ewaps2> <ADFAPPS2> < STATE_ADMIN
2."Java heap... (0 Replies)
#!/bin/sh
args=("$@")
echo "#================================="
echo "#Script Name:"
echo "#By:"
echo "#Purpose:"
echo "#:Command Line: picoc"
echo "#================================="
pico $@
this is my script. i think it is ok w/o error. but when i run it i got error. i'm using a VMBox... (1 Reply)
I have a text file like this:
25 raj
78 rohit
89 bhanu
58 mohit
29 mano
53 rohit
63 shiva
74 lapan
63 bhanu
what i need is a linux script to reorganize this file by adding
the relevant content(number) to the names and print only once.... please help me someone. ... (1 Reply)
Hi all,
I am trying to make a Nodemanager work in RHEL 5
I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation.
I keep getting the error, "line 82: syntax error: unexpected end of file".
I have checked every line to make sure all... (4 Replies)
Hello,
could you please help me with the following request?
I need a linux command script that does the following.
1. delete folders folder1 and folder2 located in install/users/web/folder1&2.
and also delete folder3 install/jboss/server/folder3. All these folders has many folder and files... (1 Reply)
can anyone help in this
i have a file like
2089,success
2089,failure
2087,failure
2089,success
2087,failure.
i want output like.
2089,success=2,failure=1
2087,success=1,failure=2
thanks (8 Replies)
I need to create a bash script to run through crontab, to do the below job:
1- find files that are over 12 months old in /var "files are like file_201201222.mtd file_201201333.mtd
2- Tar them in /backup like: file_201201.tar.bz2 "every month in one tar file"
3- remove them after that
4- Send... (8 Replies)
Discussion started by: Ahmad M. Kamel
8 Replies
LEARN ABOUT PHP
ps_add_pdflink
PS_ADD_PDFLINK(3) 1 PS_ADD_PDFLINK(3)ps_add_pdflink - Adds link to a page in a second pdf documentSYNOPSIS
bool ps_add_pdflink (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest)
DESCRIPTION
Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given
page. The first page in a document has number 1.
The hyperlink's source position is a rectangle with its lower left corner at ($llx, $lly) and its upper right corner at ($urx, $ury). The
rectangle has by default a thin blue border.
The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat
Distillertm or Ghostview.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $llx
- The x-coordinate of the lower left corner.
o $lly
- The y-coordinate of the lower left corner.
o $urx
- The x-coordinate of the upper right corner.
o $ury
- The y-coordinate of the upper right corner.
o $filename
- The name of the pdf document to be opened when clicking on this link.
o $page
- The page number of the destination pdf document
o $dest
- The parameter $dest determines how the document is being viewed. It can be fitpage, fitwidth, fitheight, or fitbbox.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO ps_add_launchlink(3), ps_add_locallink(3), ps_add_weblink(3).
PHP Documentation Group PS_ADD_PDFLINK(3)