bash: redirect stderr to file including name of file with the errorview story

http://www.linuxquestions.org – First, my script: Code: meow="Wonderful Gentlemen" for file in $(ls *jpg) do         query=$(exiv2 -g Iptc.Application2.FixtureId $file)         jobid=$(echo $query | cut -d" " -f4-)         echo -e "Read $file. Next!" (HowTos)

awk and sortingview story

http://www.linuxquestions.org – Hi! I have in bash script the following line: Code: TMP1=`echo $TMPO | awk '{FS=", "} {for (i = 1; i <= NF; i++) print $i}' | sort -z` which sorts words within string, echo $TMP1 shows that everything is OK, but when i try to : (HowTos)

Kerberos: C entOS openLDAP Clients + Windows KDCview story

http://www.linuxquestions.org – Hello all, I have been grappling with the following issue and there doesn't seem to be any light at the end of the tunnel. Background: Attempting to implement a single sign on functionality between Linux (CENTOS) client servers and Windows Active Directory via the use of the Windows KDC (Kerberos Key Distribution Center) (HowTos)

Installed Program Won't Run Because It Can't Find .dat in Share (Is There)view story

http://www.linuxquestions.org – I am going through a Unix tutorial. I am running iTerm under Mac OS 10.6.5 and Darwin 10.0. I installed the program Units 1.7.4 in order to perform an example problem. The difficulty is that when I go to the /bin folder to run the program it says it can't find the .dat file in the /share folder. This can't be true because the .dat file is there. (HowTos)

Shell script cannot run?view story

http://forums.opensuse.org – Hi All, I am new in using opensuse. I wrote a simple shell script and the following error. bash: /home/xi/bin/xxx.sh: /bin/sh^M: bad interpreter: No such file or directory do I need to change the setting in bashrc? or I still do something incorrect. thanks (Distributions)

Could NOT find Boostview story

http://www.linuxquestions.org – I am trying to compile and install the qt4-gui for Licq. The configure, or buildscript, don't end in an error. But on checking, it says Code: $ cmake -DCMAKE_INSTALL_PREFIX=/opt/licq/ .. -- Could NOT find Boost -- Found Licq include dir: /home/wed/licq-1.3.9/include -- Configuring done -- Generating done (HowTos)

while read line + cd trouble?view story

http://www.linuxquestions.org – Okay, so I have two problems here: cd "$line" returns "No such file or directory" (e.g. ./brbooks: line 32: cd: Wetland Plants: No such file or directory, even though I know it is there and can see it..) The file $ls_file has Books ($ls_file) as the first line for some reason (HowTos)

Any way to have flow control in bash pipe?view story

http://www.linuxquestions.org – Two processes are communicating through a pipe: A | B. A is writing data faster than B is reading it in. Is there any way to have A limit its writing rate to match B's reading rate? AFAIK the pipe will get full, and will make A's writing block, waiting for B to read in more data. (HowTos)

A bit of bash help pleaseview story

http://www.linuxquestions.org – Hello my friends, I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx". The "xxxxx" can vary in lenght. (HowTos)

[SOLVED] strange login problems with user despite being rootview story

http://www.linuxquestions.org – Hello dear friends of linux I am neither a newbie nor an expert. I am administering a debian webserver (lenny) and run into a strange problem respectively new behaviour. (HowTos)