Skip To Content

CyberSecurity Blog

CyberSecurity is a key for a safer world, It is EveryWhere

  • Home
  • Pentest
  • Linux
  1. Home
  2. Posts tagged "scripting"

Tag: scripting

Bash repetitive tasks ( for , while , until )

Posted By: adminPosted On: June 10, 2020
Bash repetitive tasks ( for , while , until )
Bash repetitive tasks ( for , while , until )

To run a specific task or list of commands repetitively on bash script , you need to use on of this three constructions : for , while , until . Each one fits different situation as we will know now.

Categories: Linux,scriptingTags: bash,Bash repetitive tasks ( for,break,conditions,continue,for,Linux,loop,repeat,script,scripting,shell,until,while

Bash conditional if and case statements

Posted By: adminPosted On: June 10, 2020
Bash conditional if and case statements

At times you need to specify different courses of action to be taken in a shell script, depending on the success or failure of a command. The if construction allows you to specify such conditions.

Categories: Linux,scriptingTags: bash,case,conditional,elif,else,esac,if,Linux,script,scripting,statement,then

How to use awk

Posted By: adminPosted On: June 10, 2020
How to use awk

AWK is another popular stream editor, just similar to SED. The basic function of awk is to search files for lines or other text units containing one or more patterns. When a line matches one of the patterns, special actions are performed on that line.

Categories: Linux,scriptingTags: arrange,awk,editor,extract,how to use awk,Linux,script,scripting,stream,text,unix

Bash Variables

Posted By: adminPosted On: June 10, 2020

Variable is a temporary store for a simple piece of information, making it easier to use and manage in scripts. Tow actions that we do with variables is setting a value for the variable, or reading its value .

Categories: Linux,scriptingTags: argument,bash,echo,Linux,script,scripting,shell,variables

Recent

  • Vulnhub Hackme Walkthrough
  • Vulnhub JOY Writeup
  • CyberTalents Shadower Machine Walkthrough
  • Vulnhub NullByte Writeup
  • Vulnhub Toppo Writeup

Tags

7 access bash bit break centos chmod continue echo expression file ftp group hacking hat how to share files on linux http header jobs Linux linux bash scripting tutorial linux file server linux firewall loop oscp owasp password penetration pentest pentest reporting permission red regular schedule script scripting secure server shell sticky tasks ubuntu user vsftp Web Application Penetration Testing what is HTTP Protocol

Recent Posts

  • Vulnhub Hackme Walkthrough
  • Vulnhub JOY Writeup
  • CyberTalents Shadower Machine Walkthrough

Recent Comments

  • Nikita on How to install Kali Linux tools on Ubuntu based OS
  • love spell on CentOS 7 PXE Server
  • m.ilchi on Linux Time Synchronization with chrony
HoruSec©Copyright 2020. | Proudly powered by WordPress