08-22-2010
Did you do anything with $PATH variable in that script?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
2. Post Here to Contact Site Administrators and Moderators
When searching for new posts, I see that my voting in one of the polls counts as a 'new post'. However, while the '<blah> minutes ago' entry updates correctly, the 'by <username>' is the last user to actually post a comment in the poll instead.
Result:
Poll: vB Guest Book 39... (4 Replies)
Discussion started by: Smiling Dragon
4 Replies
3. Shell Programming and Scripting
I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time:
export PATH="$PATH:~/scripts"
I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies
4. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
5. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
6. Linux
Why is the result of this command off (or less) by one hour
date --date "1979-10-26 +54 hours" +%Y%m%d%H
The result is
1979102805
It actually should be
1979102806
It does it with adding minutes as well and only occurs on Oct. 26, from what I can tell. What's going on here? (9 Replies)
Discussion started by: hsemune
9 Replies
7. UNIX for Advanced & Expert Users
Hello everyone,
I have a small problem that I'm stuck for several days and I do not go out.
I tell you, I have a php script that I want to run crontab, it uses a compiled bcompiler file.
In my php file
if(file_exists("php/Alibrary.phb")){
include_once("php/Alibrary.phb");
What I do... (6 Replies)
Discussion started by: nicolas33770
6 Replies
8. UNIX for Beginners Questions & Answers
On my MAC - I get Command not found error for some command like mvn , java_home etc .
I CD to the actual directory to take path out of picture and even then i get the command not found error .
anyone else have the same problem ? (3 Replies)
Discussion started by: ambm01
3 Replies
9. UNIX for Advanced & Expert Users
Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error.
Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope.
#!/bin/bash
bash --version
uname -a
status=0
KEYBOARD()
{
read -r -p "Enter QUIT or EXIT to quit:- " kbinput
if ||... (11 Replies)
Discussion started by: wisecracker
11 Replies
CHECKERS(6) Games Manual CHECKERS(6)
NAME
checkers - game
SYNOPSIS
/usr/games/checkers
DESCRIPTION
Checkers uses standard notation for the board:
BLACK
+-----+------+------+------+------+------+------+------+
|//// | 1 | //// | 2 | //// | 3 | //// | 4 |
|//// | | //// | | //// | | //// | |
+-----+------+------+------+------+------+------+------+
| 5 | //// | 6 | //// | 7 | //// | 8 | //// |
| | //// | | //// | | //// | | //// |
+-----+------+------+------+------+------+------+------+
|//// | 9 | //// | 10 | //// | 11 | //// | 12 |
|//// | | //// | | //// | | //// | |
+-----+------+------+------+------+------+------+------+
| 13 | //// | 14 | //// | 15 | //// | 16 | //// |
| | //// | | //// | | //// | | //// |
+-----+------+------+------+------+------+------+------+
|//// | 17 | //// | 18 | //// | 19 | //// | 20 |
|//// | | //// | | //// | | //// | |
+-----+------+------+------+------+------+------+------+
| 21 | //// | 22 | //// | 23 | //// | 24 | //// |
| | //// | | //// | | //// | | //// |
+-----+------+------+------+------+------+------+------+
|//// | 25 | //// | 26 | //// | 27 | //// | 28 |
|//// | | //// | | //// | | //// | |
+-----+------+------+------+------+------+------+------+
| 29 | //// | 30 | //// | 31 | //// | 32 | //// |
| | //// | | //// | | //// | | //// |
+-----+------+------+------+------+------+------+------+
+-----+------+------+----WHITE----+------+------+------+
Black plays first. The program normally plays white. To specify a move, name the square moved from and the square moved to. For multiple
jumps name all the squares touched.
Certain commands may be given instead of moves:
reverse Reverse roles; the program takes over your pieces.
backup Undo the last move for each player.
list Print the record of the game.
move Let the program select a move for you.
print Print a map of the present position.
CHECKERS(6)