Search Results

Search: Posts Made By: lozicd3
Forum: Linux 07-19-2013
3,705
Posted By lozicd3
I understand it completely. Thank you! :)
I understand it completely. Thank you! :)
Forum: Linux 07-19-2013
3,705
Posted By lozicd3
Shell ${1:-/etc/hosts} meaning
Hello. In some script, I saw:

filename=${1:-/etc/hosts}
if [ -r “$filename” ] && [ -s “$filename” ]; then
md5sum $filename
else
echo “$filename can not be processed”
fi
# Show the file if...
1,672
Posted By lozicd3
Thank you, figured that out but I want it inside...
Thank you, figured that out but I want it inside a script.

Why Dropbox and not DynamicDNS? Because I like to live dangerously! XD :)

No, I wanted to learn something new. :)

Thank you.
1,672
Posted By lozicd3
Writing my public IP to Dropbox, Cronjob
Hello. I want to achieve this:

1.) Finding my public IP. I have this and it works perfectly:

wget http://ipecho.net/plain -O - -q ; echo2.) I need to write this in a dropbox folder (let's say...
Showing results 1 to 4 of 4

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