Blogs about: Bash Script

Featured Blog

Linux shell/bash compare decimal numbers

Sandeep wrote 3 days ago:   Comparing decimal numbers with bash/shell script is bit tricky operation I use following scri … more →

Tags: Linux, ubuntu, Debian, CentOS

Bing Desktop for XFCE

duhorama wrote 1 week ago: Blasphemy! What’s this now, microsoft things for Linux? Heresy I say! So yeah, I wrote a littl … more →

Tags: Linux, bing desktop for linux, ubuntu, xfce, xubuntu, bing wallpaper, Linux, Bing Desktop, XFCE4

Simple Script To Start Teamviewer Through Terminal.

anishunix wrote 1 month ago: Hi All, Today i came with some different script and very simple script To start the team viewer remo … more →

Tags: Teamviewer

Linux bash script color text

Sandeep wrote 1 month ago:   Recently in a script I am trying to coloured text in one of the script. I have been tried cou … more →

Tags: Linux, ubuntu, Debian, CentOS

Bash sort file content and remove duplicate line1 comment

giovannifranchitto wrote 2 months ago: Bash Linux command line   cat it_IT | sort | awk ‘!x[$0]++’ > it_IT.new … more →

gitcheck: check all your git repositories for changes2 comments

AstroFloyd wrote 3 months ago: One of the cool things about distributed version-control systems (VCSs) or source-control managers ( … more →

Tags: All, Software 2., bzr, Git, Software, Source Control, source control manager

Get response time with curl

Sandeep wrote 4 months ago:   To get response time of website/url with curl use following command: $ curl -o /dev/null -s - … more →

Tags: ubuntu, Debian, CentOS

Kill multiple process single command - Linux

Sandeep wrote 4 months ago: Its a bit tedious task to kill if there are multiple process with same name. In general we will kill … more →

Tags: Linux, ubuntu, Debian, CentOS, Linux Commands

Learn Shell Scripting: Hello World

Rasesh Mori wrote 5 months ago: This is an introductory post to Shell Scripting which will be followed by many other each highlighti … more →

Tags: shell script, Shell Scripting, Scripting

Disk Space Shortage

Alan German wrote 5 months ago: My recent encounter with system log files eating up disk space (see Low disk space warning) has me s … more →

Tags: applications, commands

Linux bash use arguments of previous command1 comment

Sandeep wrote 5 months ago: In previous post we seen about reusing command line history. Now I will explain about how to reuse p … more →

Tags: Linux, ubuntu, Debian, CentOS

find mv/rename with xargs example

Sandeep wrote 5 months ago:   Moving or renaming files with xargs is a bit tricky operation. mv require both input and outp … more →

Tags: Linux, ubuntu, Debian, CentOS, Find command, xargs

Count number of lines in a file - Linux1 comment

Sandeep wrote 6 months ago:   There are different ways to count number of lines in a file. I will show the some of commands … more →

Tags: ubuntu, Shell Scripting, sed, awk, Debian, CentOS

Git Email Notifications on Push

Daniel wrote 6 months ago: So I’m doing a private collab and hosting a git repo off my server. Got annoying pretty quick … more →

Tags: Git, git, eMail, hooks

Linux shell/bash check if string is empty or not

Sandeep wrote 6 months ago: To check if a string is empty/null or not use -n string or -z string with if condition. -n string wi … more →

Tags: Shell Scripting

If / Else Statements (Shell/bash Scripting)

Sandeep wrote 6 months ago: Shell scripts use fairly standard syntax for if statements. The conditional statement is executed us … more →

Tags: Shell Scripting

Debugging shell/bash scripts

Sandeep wrote 6 months ago:   Debugging is a important part while writing a scripts. To debug particular block of code in s … more →

Tags: Shell Scripting

Linux Read/Get random line from a file

Sandeep wrote 6 months ago:   To easiest way to read a random line form a file use shuf command.  Example: To generate a si … more →

Tags: Linux, ubuntu, Shell Scripting, Debian

Shell/Bash Script exit from loop

Sandeep wrote 7 months ago:   Use break command to exit from a loop after your functional requirement is done. Example: Fol … more →

Tags: Linux, ubuntu, Shell Scripting, Debian, CentOS


Related Tags
All →

Follow this tag via RSS