Search Results

Search: Posts Made By: garfish
1,134
Posted By garfish
thanks alot. very helpful awk '{ print $1 }' ...
thanks alot. very helpful awk '{ print $1 }'
solved my case. grep did almost the same thing with the first solution.
1,134
Posted By garfish
Extract parts of the line
I have a long list of lines in a txt file which i'm only interested to extract the list of domains like the colored ones.


domain.com domain.com/page codes $.09
domain.org ...
2,924
Posted By garfish
thanks for the fast reply. didn't work. what's...
thanks for the fast reply. didn't work. what's temp by the way?
2,924
Posted By garfish
cut delimiter and save
i have list of names in a text file and I wanted to delete the commas en every line.

for example: inside the text is a list of names in it with commas after each line. I wanted to delete these...
2,173
Posted By garfish
let say i have a text file with the long list of...
let say i have a text file with the long list of names with thier phone numbers. a script that will delete the name and the phone number if a script looked and identify. but maybe i can create a gui...
2,173
Posted By garfish
looking for a script that will delete lines in a text file
it will grep for a line and then delete these line. how do i begin to write this script if theres no available one?
22,597
Posted By garfish
you're lucky to have bash scripting in your...
you're lucky to have bash scripting in your school.
we don't have in my country.. i just learn thru asking here.

our school don't even encourage learning unix. crap!

i won't bother learning...
Forum: Slackware 10-28-2010
6,783
Posted By garfish
How should I cut this line using cut and grep?
not sure how to do it. wan't to delete it using cut and grep ince i would use it in the shell.

but how must the command be?

grep "64.233.181.103 wwwGoogle (http://www.google.com).com"...
3,869
Posted By garfish
lolz :D i'm really learning alot now. thanks to...
lolz :D
i'm really learning alot now. thanks to you both
3,869
Posted By garfish
Why am i receiving too many argument error with this?
#!/bin/bash
while [ `ps -ef | grep firefox-bin` ]
do
codes
done

it says line 2: [: too many arguments
why?
1,092
Posted By garfish
Which script runseverytime firefox is turned on?
which script runseverytime firefox is turned on?
is it a bash script?
1,828
Posted By garfish
thanks all. thanks mike. it now works :D
thanks all. thanks mike. it now works :D
1,828
Posted By garfish
seems not working. i'm stuck to an empty shell...
seems not working. i'm stuck to an empty shell without a prompt.

lets say i have this whole script.



the script must create a script named resultofsample.sh
which supossedly have these...
1,828
Posted By garfish
Script that also create a script, how can i save it?
say i have a script that says

cat > resultofsample.sh
#!/bin/bash
codes

but how can i exit it from here and save it?
1,240
Posted By garfish
how about to test ifits not running? i seems...
how about to test ifits not running?
i seems can't see it in the man page.
1,240
Posted By garfish
How should this code be developed?
i'm trying to test whether wget is working still or not.

while [ wget is still running ] <----- how should this look please.
do
codes
done
3,049
Posted By garfish
what does sleep 60 mean? i'd also like...
what does sleep 60 mean?



i'd also like to extract file such as 7z and zip.

say, if zip, rar and 7z exist, then eztract to mkdir %d or something..can you help me with this please.
3,049
Posted By garfish
script that will automatically extract
how do i write a script that will automatically extract rar files after the download in a particular folder?

can you give me an idea please? :D or is there an existing script for this?
Showing results 1 to 18 of 18

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