LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2013, 10:21 AM   #1
bcramer
LQ Newbie
 
Registered: Apr 2007
Location: Brazil
Distribution: OpenSUSE
Posts: 16

Rep: Reputation: 0
Post MOLPRO Script for sysid


To get a trial license I have to run a small script getinfo.sh. When I run the script on the PC SuseLinux v 12.1 32b I get the information.
When I try it on a PC with SuseLinux 12.1 64b I get the massage bellow:

$-> ./getinfo.sh
lo Link encapLocal Loopback

What is happening and what has to be done to run the script successfully?

Thank you
Regards
Bruno

script
-----------------------------------------
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
export PATH
LANG=en_US
export LANG
MATCH=HWaddr
CPUINFOprocessor='processor'
nproc=`cat /proc/cpuinfo|egrep -i "^${CPUINFOprocessor}"| wc -l`
ifconfig | sed -e "1{s/^.*${MATCH} */${nproc}m/;s/://g;y/ABCDEF/abcdef/;q;}" -e 'd'
------------------------------------------
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script/Perl Script to remove the string until it finds special character '_' pooppp Programming 10 07-17-2012 10:36 AM
Shell script/Perl Script to remove the string until it finds special character '_' pooppp Programming 1 07-13-2012 02:03 AM
[SOLVED] bash and xterm: how make apps started by and for a script persist when script terminates porphyry5 Linux - General 4 06-15-2011 02:27 PM
[SOLVED] Script question: create a shell script in kde to log in on a server with ssh c4719929 Linux - Newbie 1 01-31-2011 04:05 AM
How to get full path to script file inside script itself? And in case of sym links? maggus Linux - Newbie 3 05-28-2009 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration