Tags » Shell Script

Shell Script to Get line by line input from file

It is the shell script:

while read line
echo $line
done <filename

Here filename is the name of file to be given as input to the script and “line” is a variable. 43 more words


$# and S* in shell script

From here:

$#    Stores the number of command-line arguments that 
      were passed to the shell program.
$?    Stores the exit value of the last command that was 
      executed. 112 more words

Fortigate SNMP Notes - Part 2

Scripting data collection

In part 1 I identified a number of SNMP values to obtain from the Fortigate Firewall, mine being an FG100D with version 5.0 firmware. 452 more words

Linux Admin

Shell - String replace

Previously we talked about how to submit a Google Form by the curl command.

In the url, we have to encode the special characters such as whitespace. 73 more words

Shell Script

Hello everyone!

Would you like to print out a fancy terminal log for your Node.js applications? Check it out…

In this post I am going to tell you how to do it. 508 more words


Submit Google Forms by curl command

Google Forms is a very common way to collect user data nowadays. After you have created the form, you could insert it to your web site and present it with your own style. 279 more words


“Kernel Engineer” for Full-Time position in San Jose, CA.

Job Title: “Kernel Engineer”

Job Location: San Jose, CA.

Job Duration: Permanent

Job Nature: Full-Time Hire (FTH), Full-Time Equivalent (FTE)

Required Years of Experience: 05+ 108 more words