- Style Guide
- Greg's wiki for shell scripting
- Greg's Wiki: Bash Guide
- Greg's Wiki: Bash BashFAQ
- Greg's Wiki: Bash Pitfalls
- Learn Enough Command Line to Be Dangerous
- Bash Guide
find . -size 0
ls -lSr
echo -n 'whatever you want'
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
Curl Syntax :
curl [options] [URL...]
-I
or--head
- To make head request for url.
Fetch the HTTP-header only! HTTP-servers feature the command HEAD which this uses to get nothing but the header of a document. When used on a FTP or FILE file, curl displays the file size and last modification time only
-
-L
or--location
- To follow redirect. -
-I
or--silent
- To avoid lots of output, this displays just the critical output.