Tags » Bash Script

Basics of Shell Scripting

A quick overview: What is shell scripting?

Essentially, a shell script is a series of Unix commands. The main benefit of a shell script is that, if you find yourself frequently executing the same commands repeatedly, you can write a shell script and run the commands that way. 2,026 more words

awk - print last field

NF is built in variable in awk which stores Number of fields.

To get last field with awk use following example:

$ echo a b c | awk '{print $NF}' 53 more words
Bash Script

Asset Migration in AEM (CQ5.6)

Migration is one of the basic need for any client if they are migrating from old system to AEM. we always need to have a proper plan in place before starting the migration. 647 more words

Technical

Automatic Nmap Script

This short post concentrates on presenting a Bash script that I’ve written few months ago as I thought it’d be quite useful to test feasibility or real time impact of various attacks. 317 more words

Automatic Scan