Blogs about: BASH

Get the total number of lines

Sreenadh wrote 1 hour ago: If you want to know the total number of lines of files in a directory, execute the following line of … more →

Tags: count, echo, Find, For, lines, Total, WC, WordPress

Get the count of files of a specific file type

Sreenadh wrote 2 hours ago: To know the count of files of a particular type in a directory find . -name “*.png” | wc … more →

Tags: Find, WC

Tweet using bash!

zubin mehta wrote 12 hours ago: #!/bin/bash # Store this file with whatever the name in /usr/local/bin/ # SYNTAX: twit Your_message … more →

Tags: Linux, twitter, Curl, shell, Tweet

Day 40 of the Prosperity Game

joyseeker1960 wrote 14 hours ago: Wow!! 40 days of playing the game now. So far I have managed to spend $780,000…after today I will … more →

Tags: Abraham-Hicks, Game, Alaska, Birthday, cruise, Prosperity Game, suite, Suites

Alyssa Milano at the Palm Pre Gift Lounge at the Ryan Howard All Star Bash in St Louis, Jul 13

iprime wrote 22 hours ago: … more →

Tags: Alyssa Milano, lounge, Palm, pre, Star, Ryan Howard, All, St. Louis

Retrieve default gnome-panel

harikris2000 wrote 1 day ago: To retrieve gnome-panel to default if deleted (in etch) or from a customized one (in lenny atleast o … more →

Tags: remove, Debian, GNOME-Panel, gconftool, Gnome, panel, Etch, Lenny

Using bash variables in awk

Ali MEZGANI wrote 2 days ago: First you need to assign the variables with the -v option: The option -v followed by var=value is an … more →

Tags: using bash variables in awk

A n00b

orgelv wrote 2 days ago: That’s right, I said it, I am a n00b.  A Linux n00b that is.  And this is my life.  The Life…of orge … more →

Tags: Books, Bash Shell Scripting, oreilly, Programming, Scripting, shell

Bazaar and OSX

Alexander Mendez wrote 2 days ago: There was some code hiding on the launchpad.net site, and they use Bazaar, so I thought I would chec … more →

Tags: Bazaar, bzr, OSX

On my First Script

putnam120 wrote 3 days ago: Well as promised it is time to explain parts of my script. Well I shall start at the beginning.  The … more →

Tags: echo, grep, ls, CD, And...

Migrate SVN repository

Sreenadh wrote 4 days ago: Steps to migrate SVN repository. svnadmin dump <location_of_old_repo> > dump_filename svnad … more →

Tags: dump, migrate, svn

Dozy's Little Vim Helpers

dozykraut wrote 4 days ago: Today: A filter for URI encoding / decoding The script introduced in this post will read input fro … more →

Tags: Linux, VIM

Use Aleratec Roboracer CD/DVD duplicator under Linux

ricoch3n wrote 4 days ago: This is the bash script that I wrote a while ago to control the Aleratec Roboracer CD/DVD Duplicator … more →

Tags: Programming

Rebuild deb package from installed files

Sreenadh wrote 4 days ago: To rebuild Debian package (.deb) from an installation apt-get install dpkg-repack dpkg-repack <pa … more →

Tags: Debian, dpkg, dpkg-repack, deb

Remove a service from all runlevels

Sreenadh wrote 4 days ago: To remove a service (daemon) from all runlevels. update-rc.d -f remove <service_name> Eg: upda … more →

Tags: update-rc.d, Debian

Remove all lines containing a string

Sreenadh wrote 4 days ago: To remove all lines containing a string sed ‘/<Text_to_search>/d’ <filename> … more →

Tags: remove, sed

Invert selection using grep

Sreenadh wrote 4 days ago: To display the lines of a file which does not contain a particular string. grep -v <string_to_sea … more →

Tags: grep

Replace first occurance of a string with sed

Sreenadh wrote 4 days ago: To replace first occurance of a string with sed sed ’s/<string_to_search>/</string_to … more →

Tags: echo, replace, sed

Hide user input

Sreenadh wrote 4 days ago: To hide user input such as passwords stty -echo to turn ON stty echo … more →


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS

Find other items tagged with “BASH”:
Technorati Del.icio.us IceRocket