4
bashrc error, while shourcingview story

http://www.linuxquestions.org – Hi, I created a bashrc file, based on cshrc file. When I try to source it, I am getting 2 kinds of errors (each on different servers) On one I see, line 14: [: ==: unary operator expected And on other I see, if: Expression Syntax. What could be wrong with my code below ? Please help. Code: #!/bin/bash (HowTos)

3
cd inside if than statement, after fi back to old dirview story

http://www.linuxquestions.org – the script below prints the pwd of where I want to be. after the fi it puts me back at the original dir. just writing these scripts to understand what's going on. #! /bin/bash if [ -d mydir ] then cd mydir/ && pwd fi (HowTos)

3
Bash Conditions: "(" versus "["view story

http://www.linuxquestions.org – Greetings! I have a question about conditions in Bash scripts. I would like to know the difference between the use of parentheses and square brackets. (HowTos)

5
Grep error in Bashscriptview story

http://www.linuxquestions.org – While running bashscript i.e. checkdump I am getting error. Quote: #cat checkdump #!/bin/bash cd /dump_restore/outputs/dump/daily/ dt=date | awk '{print $2}' echo "########Checktime#######" ls -ltr | tail -1 | awk '{print "cat " $9}' | sh | grep $dt Output (HowTos)

4
Bash Script -- I'm stumpedview story

http://www.linuxquestions.org – echo $overwriteWorkspaceEnv if [ $overwriteWorkspaceEnv="yes" ]; then echo new workspace else echo old workspace fi This is what prints out: no new workspace (HowTos)

3
Cropping Multiple Images in the Same Wayview story

http://lpilinux.com – ‘Getting the right cropping values using GIMP (HowTos)

5
If Condition in Bash Scriptview story

http://lpilinux.com – ‘If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if … then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and use. (HowTos)

3
5 most interesting linux commandsview story

http://reviewglitz.com – The soul of Linux operating system lies in the command line . Linux is usually considered as an operating system meant for geeks, due to the enormous number of commands available, which could be accessed using the terminal. There are a lot of tutorials available for linux bash programming, out there. Here I point out a few, interesting commands which could be handy in the long run. (General)

3
BASHing Visual Basic Out of the Pictureview story

http://linuxo.com – Tildehash: "That's when it hit me, BASH! No, nothing bashed me in the head, I am referring to GNU BASH." (General)

6
Linux SysAdmin: Use w and ps commands to find out what other users are doingview story

http://linuxers.org – There are several utilities to find out what other logged in users are doing on a system, who is currently active, remote host one has used to login, what processes are they runnning and similar such info. In this howto, I will show you how to use 'w' and 'ps' commands to get such information. Such info comes in handy to a sysadmin. Lets begin with the 'w' command. (General)