Posts tagged as:

bash shell

Shell scripting is fun. It is useful to create nice (perhaps ugly) things (read as solutions) in shell scripting. Now Windows got Powershell. But how does PowerShell measure up to traditional shells like Bash?

{ 1 comment }

In this article ComputerWorld chat to Chet Ramey about his experience maintaining Bash.

{ 0 comments }

I use Google Calendar exclusively. However to access this product you need to use a web browser. There is nice program called gcalcli (Google Calendar Command Line Interface) which allows to access Google Calendar from bash shell. Now I can see an agenda using a specified start/end time and date from a shell prompt [...]

{ 0 comments }

You can use “type” or “whereis” command to find out which command shell executes and to print binary (command) file location for specified command.
whereis command example
Display ls command location along with man page path:
whereis ls
Output:
ls: /bin/ls /usr/share/man/man1p/ls.1p.gz /usr/share/man/man1/ls.1.gz
type command example
Find out which command the shell executes:
type -a ls
Output:
ls is aliased to `ls [...]

{ 3 comments }

Recently updated/posted Linux and UNIX FAQ (mostly useful to Linux/UNIX new administrators or users) :

Update Fedora 7 Linux
OpenBSD install BASH shell package
Star / Stop FTP server on FreeBSD / OpenBSD
How to install Linux / UNIX *.tar.gz tarball files
Install Language support in CentOS 5 or Red Hat Enterprise Linux
Display or view the perl cgi errors [...]

{ 0 comments }

Raju asks:
How can I Debug a shell scripts?
This is most common question asked by new admins or UNIX user.
Shell scripting debugging can be boring job (read as not easy). There are various ways to debug a shell script.
-x option to debug a shell script
Run a shell script with -x option.
$ bash -x script-name
$ bash -x [...]

{ 6 comments }

Couple of quick question answered by me:
=> Host a domain without CPanel or Plesk Control Panel
=> Bash shell display only hidden (dot) files
=> Monitor Linux user activity in real time
=> Apache name based VirtualHost example
=> How do I find out my mail server blacklisted?
=> Solaris find out a package which a file [...]

{ 0 comments }