Search Results

Search: Posts Made By: vadharah
3,835
Posted By vadharah
Thank you i think i will go with slpitting becase...
Thank you i think i will go with slpitting becase i think this was going to end Saturday Morning...
3,835
Posted By vadharah
crontab execution
is it possible to soecify time overnight in 5 days for example:

0 18-7 * * 1-5 /mycode

is this okay to use 18-7 because im not getting the results correctly?
15,076
Posted By vadharah
bash time format
hi guys.

in bash is there any other way of limiting the time displayed to HH:MM

appart from

(date +"%H:%M") and (date +"%R")?

i want to input time into a database in the form HH:MM
...
8,425
Posted By vadharah
Thanks did some reading but.... i have the...
Thanks did some reading but....

i have the word as "my" but failing to specify and check if its at the begining of line and to select just the first character


my name is james and would like...
8,425
Posted By vadharah
Convert character in word to CAPS??
Hi Gurus!!

Is it possible to change a letter in a word to CAPS??
When correcting a paragraph i need to covert the word if it appears at the start of a line to caps.......

if i had a phrase...
3,035
Posted By vadharah
Matt.d and Yogesh thaonks a span its very helpful!
Matt.d and Yogesh thaonks a span its very helpful!
17,173
Posted By vadharah
thats what i tried initially but somehow there...
thats what i tried initially but somehow there seems to a problem with the ':'
3,035
Posted By vadharah
basic crontab
Hi,

Very silly to ask but will get there!

how do i write a simple crontab to display output from a function every hour??
17,173
Posted By vadharah
will try that tho dont have quite an idea of how
will try that tho dont have quite an idea of how
17,173
Posted By vadharah
Franklin52 thanks for that was very helpful..... ...
Franklin52 thanks for that was very helpful.....

would you know how to limit time to only hour and minute?
17,173
Posted By vadharah
i have tried that but same error though
i have tried that but same error though
17,173
Posted By vadharah
Help Inserting data in mysql table
Cant understand the error

#!/bin/bash

temp=""
A=""

D=$(date +"%Y-%m-%d")
H=$(date +"%R")

temp=$(wget -q -O - website | grep -o "Temperature:[[:space:]]*[0-9][0-9]*" | grep \-E -o...
7,813
Posted By vadharah
works!!!!! Thanks a lot!
works!!!!!

Thanks a lot!
7,813
Posted By vadharah
Help with wget
Hi,

i need temperature hourly from a web page
Im using wget to get the web page. I would like to save the page downloaded in a file called page. I check the file everytime i run the wget function...
1,860
Posted By vadharah
Downloading info from website to database
Hi guys!

I created a database using mysql in bash now i would like to download weather info from the data.(temp, date and time)...and just store this in the database to display after every 3 hours...
1,677
Posted By vadharah
using sed stream ediditor
Thanx!!! that seems to do the trick...is there any way i can improve it to say for example notify me that there is a similar word but it is part of another word?
1,677
Posted By vadharah
i have tried this but words like football r being...
i have tried this but words like football r being affected i need football to remain unchanged only change foot where the word is not part of another word
1,677
Posted By vadharah
using sed stream ediditor
Really do appreciate your help guys am now starting to get a grip on bash but not quite......

suppose i have a statement

fileA....
Foot is a word we can use in all aspects of our life and has...
18,979
Posted By vadharah
Reading input from user
how do we read input from a user

e.g i want to ask a user to enter 6 sets of numbers

how do i control information from the user?

i have this.......

#!/bin/bash

echo "Please enter six...
3,339
Posted By vadharah
Help with the 2 for loops
#!/bin/bash

IFS=$'\n'

A= a c b t g j i e d
B= t y u i o p
counter=0
found=""

for i in $(cat $A)
do
for j in $(cat $B)
do
if [ $A=$B ]
then
...
3,520
Posted By vadharah
SPOT ON mate!! thanx it did work!
SPOT ON mate!! thanx it did work!
3,520
Posted By vadharah
how do i do it? can you help me i have...
how do i do it?
can you help me

i have tried
for i in $(cat $file)
do
echo $i
done

its output is word by word by wanted to read the whole line
3,520
Posted By vadharah
how can i read a line using the 'for'
im trying to read from a file line by line using a 'for' loop is it possible in bash?
10,623
Posted By vadharah
thanx mate i have been using the diff , cmp, comm...
thanx mate i have been using the diff , cmp, comm and patch but with the files i was doing include an md5sum but still the outcome isnt true thus trying to do it manually with the while loop......if...
10,623
Posted By vadharah
thanx a lot ghostdog that was straight forward...
thanx a lot ghostdog that was straight forward really appreciate it!

if i have 2 files to compare the lines how do i do it with the While loop
say file 1 has
my name is john
file2
my name is...
Showing results 1 to 25 of 27

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