Search Results

Search: Posts Made By: harsha85
3,778
Posted By harsha85
Launch a URL,validate username and password using wget or curl
Hi All,

I want to launch "ex: http://gmail.com" from the cmd window and validate the credentials with username and password, is it possible?
I have found something like this

"wget ...
1,706
Posted By harsha85
[QUOTE=methyl;302600157]Wasn't this answered on...
[QUOTE=methyl;302600157]Wasn't this answered on your other post?



Hi Methyl,

Thank you the solution worked, I agree it was answered before, i was getting into basic scripting and wanted to...
5,427
Posted By harsha85
Hi Jim, Thank you, It works fine now.
Hi Jim,
Thank you, It works fine now.
1,706
Posted By harsha85
Passing arguments--Error
Hi,
i have a file.txt with data
Bangalore
Chennai
Hyd

filename of the script is: new.sh
result=`cat file.txt | grep $1`
if [ $result -eq $1 ]
then
echo pass
else
echo fail
fi

i am...
5,427
Posted By harsha85
Error:--test: argument expected--Even though i give an argument.
Hi All,

I am running the script


VBoxManage list vms |sed 's/"//g' | cut -d " " -f1 > har1out.mytxt

result=`cat har1out.mytxt | grep $1'
echo $result
echo $1

{

if [ $result -eq $1 ]...
Showing results 1 to 5 of 5

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