Set command ending with a "." (dot)view story

http://www.unix.com – Hi I have a "set" command which ends with a "." (dot), for example: set `grep "\<${pnum}\>" /tstmp/data.txt |sed 's/#//'` . Can somebody help me to understand the purpose of this "set" and "." combination? The problem is that this command does not produce the same result when run on AIX vs SunOS. May be somebody knows the work around? (HowTos)

Move command within scriptview story

http://www.unix.com – Anyone have an idea to why the statement below does not work within a script but works when issued from the command line? mv /dir_files/submit.log* /bintemp (HowTos)

executing commandsview story

http://www.unix.com – I need to execute a command to run my script several times with varying parameters Code: perl ex.pl -b 130198 -e 130884 -c plot  plot.txt 1_plot.txt perl ex.pl -b 1345 -e 1308 -c plot  plot.txt 2_plot.txt perl ex.pl -b 1345567 -e 130898 -c plot  plot.txt 3_plot.txt . . . 100's of excutions The varying parameters are -b -e and the output file (1_plot.txt, 2_plot.txt..) I have th (HowTos)

Help with "cut" command in Unixview story

http://www.unix.com – Hi! Just a basic question: I want to use the "cut" command to get some columns from a file, like this: cat myfile | cut -f 5,3,2,1 The problem is that the output contains the columns I want, but in increasing order: 1,2,3,5, and not in the order I set before. I know I could also use awk, but for my shell script I do prefer to use "cut". (HowTos)

Unexpected results when triggered from cronview story

http://www.unix.com – Following script gives different results when triggered from Cron compared to when triggered from command line. It is not able to assign values to some variables when triggered from cron. Can any one help? Its a very simple script Script - Code: #! (HowTos)

Split a big file into two others filesview story

http://www.unix.com – Hello, i have a very big file that has more then 80 MBytes (100MBytes). So with my CVS Application I cannot commit this file (too Big) because it must have < 80 MBytes. How can I split this file into two others files, i think the AIX Unix command : split -b can do that, buit how is the right syntax Could you please help me for that point Thanks very much, bye (HowTos)

Configuring the primary prompt to contain the history number and exit codeview story

http://www.linuxquestions.org – Hi, I'm just trying to configure the primary prompt to contain the last history number and exit code of the previously executed command, seperated by a ':'(with no spaces). I tried assigining variable to PS1, but I only got it to display the exit code of the previously executed command but having problem with the history number. (HowTos)

Links 22/9/2010: Dell Announces Another Linux-powered Tablet, Facebook Adds to MySQLview story

http://techrights.org – Contents GNU/Linux Distributions Devices/Embedded Free Software/Open Source Leftovers Clip of the Day GNU/Linux Desktop Are Your Desktop Effects Slowing You Down? Whenever I perform a 3D benchmark in Linux one of the first questions I get asked about the results is: Where your desktop effects turned off? For those who are not aware, desktop effects are the “flash” that is en (General)

Subversion load errorview story

http://www.linuxquestions.org – I am using subversion 1.6.6.I want to move all my repo data to one server to another server. i used the dump command to create one dump file. dump file size is 27 GB. (HowTos)

What are pseudo-tty devices?view story

http://www.linuxquestions.org – What are pseudo-tty devices? (HowTos)