i use this sed-line to achieve this:
now my problem is when the url contains a dash it messes up.
test input file:
the last url with the - dash in it messes up. it appends "APPENDTHIS" after the dash instead there where the domain-name ends.
what do i do wrong?
i tried to unescaped dash and double escaped also.
Hi
Please dont consider this as duplicated post..
I am using below pattern to find delete files to bringdown disc size.. however how i can make sure ist going to correct folder and searching for files... while print "echo rm " LastFile correctly print files names for deletion, but when i... (7 Replies)
I have crontab set to be triggered daily @ 8 am and 8:20 am server time.
00 08 * * * /web/scripts/check.sh
20 08 * * * /web/scripts/check.shuname -a
Linux mymac 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 04:56:07 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
ls -ltr /web/scripts/check.sh... (9 Replies)
Hi,
I need to schedule a cronjob to kick start @ 8:30 PM server time and run every 5 mins there upon till I force stop it.
Can you please let me know how can it be achieved ? (5 Replies)
Hi All Rhel Admin
Need a Small Help please Give me a Preinstallation Script and postinstallation script for Kickstart
Preinstallation script
Just Need to Partition 1 TB HDD using LVM
Except Boot
/boot = 500
swap = 16 GB
/ = 850 Gb
8e
And need to format it in ext4
... (1 Reply)
Hi All,
I want to create kick start bootable ISO file. I have Centos 5.4 ISO and customized ks.cfg file. Now I need to recreate ISO with ks.cfg and content of existing ISO.
During installation, it automatically should pick the kick start file and need to proceed with the installation.
... (0 Replies)
hi,
i have a perl script that runs as a cron job... Once in a while, the perl
script fails with:
Can't locate <module>.pm in @INC (@INC contains: .............)
because one of the perl modules specified in the "use" statements is
unavailable due to an NFS glitch.
Is there some... (1 Reply)
Hello !
I am new at this and could use som help with at script i want to do. I have a ubuntu server and want a script that check how long time a user has been login. If a user in the network has been login more the 10min i want the user get the messege " You have been login to long". An after... (1 Reply)
I have a laptop running Ubuntu Gusty. I have recently used applications such as AWN, Emerald, etc... to create a Mac OS X Leopard like environment. It works almost perfectly except for one little glitch. When I open most of my apps/windows, they all open with the top bar(with includes close,... (5 Replies)
I need to kick off an application on windows from my sun workstation. The workstation needs to know when windows application completes the job.
What are the possible ways of doing it.
Any ideas on how to go about doing it will be very helpful.
Thxs in advance. (9 Replies)