bash

bash – change theme for gtk in gnome and take screenshot from script.

2010/03/24

I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time …

unbound variable – bash completion not working and having issues with other stuff like command not found.

2010/03/23

I generally use vi/vim for all my practical purposes of working with text files. And I have all the vi/vim plugins required to work with the files. This causes the following to be in the skeleton for …

Useless Linux Terminal Commands

2010/03/21

Useless Linux Terminal Commands Not long ago, I have listed here some useful Linux terminal commands and those that I described as deadly. This time, I decided to gather some commands that I think …

What is my ip?

2010/03/14

$ alias whatismyip="wget -q -O - <a href="http://whatismyip.com/automation/n09230945.asp"">http://whatismyip.com/automation/n09230945.asp" The preferred way for scripts …

Some bashrc shorcuts for faster and profiecient directory browsing.

2010/03/10

Here are some of the funtions that I have in my bashrc to make my life simple. They are not written by me but mostly taken from other places, but modified by me to some extent to suit my needs. If you …

Bash script to view log and config file in different server and paths.

2010/03/09

I was working on a project, where I need to open file from different servers and different paths. I do it with the command: […] vim ftp://username@server/path/filename […] This is okay …

Bash histoy – common history in different terminals

2010/03/04

I have been looking to do this for sometime. The bash history is per session basis and the last session to quit overwrites the bash_history file and thus all other terminals started between the time …

Bash Sub Shells

2010/03/02

Taken from <a href="http://www.linuxjournal.com/content/bash-sub-shells" target="_blank">here. […] <span class=\"c\">#!/bin/bash</span> <span …

bash script with sql to get the number of records from multiple tables.

2010/02/10

Here is the bash script: […] #!/bin/sh names[1]=errorlog names[2]=amit1log names[3]=amit2log names[4]=amit3log names[5]=amit4log j=1 echo $1 for i in $( sqlplus amit/passwd@tns @get_count.sql …

Splitting strings with IFS

2010/02/04

Today I want to discuss splitting strings into tokens or “words”. I previously discussed how to do this with the <a …

Color output from ls – based on file type

2010/02/04

Threre are certain default variables which control the color of the output from the ls command, so we will talk about them today. The first one is to get the color output from the …

Bash styling(themeing), the stylist way.

2010/02/04

For last couple of days, I have been looking for solutions to make stlying my bash easier. So, first a screenshot of the effort: <img class="size-full wp-image-703" title="bash …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it