DEV Community

Discussion on: How to crawl website using #bash script?

Collapse
 
vlasales profile image
Vlastimil Pospichal
  • use quotation marks around the variable name: wget "$url".
  • what does the line $url do?
  • case wget in or case $wget in or case "$wget" in? There are significant differences.
  • case wget in is always string "wget".
Collapse
 
powerexploit profile image
powerexploit

-> Wget $url will help me to download page and The whole script working very well.

-> double will make it string