Search Results

Search: Posts Made By: Bashar
2,484
Posted By Bashar
something like curl http://example.com and...
something like curl http://example.com and redirect the output to a file, then grep for pdf or PDF in the html output with some sed,awk,cut magic you will be able to get a URL only then wget that URL...
1,359
Posted By Bashar
if just returned to command prompt then maybe the...
if just returned to command prompt then maybe the script does nothing?
Forum: Linux 11-10-2013
10,246
Posted By Bashar
any idea why ThunderBird sucks?
any idea why ThunderBird sucks?
3,288
Posted By Bashar
and if you want to scp many files without...
and if you want to scp many files without entering the password everytime setup ssh keys for auto login and copy the file
2,484
Posted By Bashar
and after the curl or wget login you need to...
and after the curl or wget login you need to script IF there are any PDFs to be automatically fetched
1,359
Posted By Bashar
1) try sh -x or bash -x 2) automating use...
1) try sh -x or bash -x
2) automating use crontab (https://www.google.com.kw/search?q=crontab&oq=crontab&aqs=chrome..69i57j69i60l5.885j0j1&sourceid=chrome&ie=UTF-8)
3,288
Posted By Bashar
you want to send the file to this directly using...
you want to send the file to this directly using ftp, rcp or scp ?
Forum: What is on Your Mind? 01-23-2012
1,295
Posted By Bashar
Opensource licenses?
Someone was asking the below on our mailing list and i thought of sharing with you guys, what do you think?

P.S: if this is the wrong forum i couldn't find something related to 'opensource' as...
14,647
Posted By Bashar
sorry if i sounded offensive :) but forums are...
sorry if i sounded offensive :) but forums are places to share knowledge

good luck :)
14,647
Posted By Bashar
hehe not classroom check my IP i'm working at...
hehe not classroom check my IP i'm working at office :)

---------- Post updated 09-25-09 at 01:43 AM ---------- Previous update was 09-24-09 at 06:17 PM ----------

google answered me, i don't...
14,647
Posted By Bashar
Read random line from a text file
I have a text file with hundreds of lines, i wish to run a script and reads a random line to pass it to another command line such as:
for line in `cat file |grep random line`; do echo $line |mail...
4,076
Posted By Bashar
make sure your sql query is set the character set...
make sure your sql query is set the character set correctly either windows-1256 (cp1256) or utf-8. others might use latin1 as default for arabic

pass --default-character-set=XXXXXX to your mysql...
2,466
Posted By Bashar
find and replace three lines in files?
Hello,
i usually use this for one tag or line:
find . -type f -exec replace "whatever goes here" "" -- {} \;

but i want to replace three lines in a file for example this:
<script...
10,805
Posted By Bashar
thanks :) found this too very good info...
thanks :)

found this too very good info http://student.northpark.edu/pemente/awk/awk1line.txt
10,805
Posted By Bashar
printing last two characters of each line
Hello,
any trick to print line number and last two characters of each line ?
17,389
Posted By Bashar
Auto copy for files from folder to folder upon instant writing
Hello all,
I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written.

I thought of writing a shell script...
3,594
Posted By Bashar
hehe worked just fine, thanks :)
hehe worked just fine, thanks :)
3,594
Posted By Bashar
Done. Thanks Perderabo :)
Done.

Thanks Perderabo :)
3,594
Posted By Bashar
changing my username?
Hello Mods,

is it possible to change my username to different username and retain the posts and registration details of this account instead of registering a new account?


Best Regards,
9,051
Posted By Bashar
thanks a bunch dude :)
thanks a bunch dude :)
9,051
Posted By Bashar
passing two variables into a shell script?
Hello all,
i have a infile.txt text file which contains such variables:
aaa 123
asds 1323
asdsd 13434
lkjlkj 324324
23432 lkjlkj
24324 ljlkj
3j4lk 234kj3

and i want to pass them to my...
6,993
Posted By Bashar
never mind this did it awk '{gsub(/ - |,|-| \/...
never mind this did it awk '{gsub(/ - |,|-| \/ |\//, "\n"); print}' in > out :)

Thanks again
6,993
Posted By Bashar
i corrected itto awk '{gsub(/ - |-| \/ |\//,...
i corrected itto awk '{gsub(/ - |-| \/ |\//, "\n"); print}' but it didnt replace , with new lines any idea why? although it did work just fine for the dashes and slashes :)


Thanks
6,993
Posted By Bashar
replacing certain characters with new line?
i have a text file which domains something like this

123213213213/32434342
324324324/12312321321
12321321,435435435
12321312 / 12313213 / 12435435345
4353213 , 123213213213...
1,406
Posted By Bashar
would be nice to share the solution so others can...
would be nice to share the solution so others can benefit in future when they search for similar problem :)

most welcome jorrit.
Showing results 1 to 25 of 73

 
All times are GMT -4. The time now is 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy