Sponsored Content
Top Forums Shell Programming and Scripting Script call : head: command not found Post 302465593 by KenJackson on Friday 22nd of October 2010 08:33:31 PM
Old 10-22-2010
Wow! That's kind of a mess. Those curly brace characters {} don't belong there.

But I do see /usr/bin, and the type command found the executables, after all.

Oh wait! Rereading your original post I see you are opening an SSH connection to another host and the problem happens over there. Right? So the path problem is probably over there.

Do you have your own account on that host?
Cluster? I haven't used a cluster since the VAX/VMS days, but maybe that that means you have one account that works on any host in the cluster.

In any case, hopefully you can SSH directly to it and investigate:
ssh OTHERHOST
This User Gave Thanks to KenJackson For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can call perl script as command?

Hello say i have written some perl scripts , now i like to call them in my unix shell as unix command like "more" , "ls" , "grep" so that my say perl script called "foo.pl" will be called from every where as "foo" or "foo arg1 arg2"? Thanks (1 Reply)
Discussion started by: umen
1 Replies

2. Shell Programming and Scripting

command << EOF(dont want to call other script)

Dear Freinds, Help needed in input redirection . My problem is as follows.. I have a shell script as follows which calls another gnuplot script . datagen.sh #!/bin/ksh gnuplot plot_I.plt In the above file I am calling another file called plot_I.plt which reside in the same... (4 Replies)
Discussion started by: user_prady
4 Replies

3. Shell Programming and Scripting

Imitate head and tail command script

Hi, I have been given assignment of 30 scripts out of which I was able to solve many, I need help with few out of which one asks to imitate head and tail command of unix without using the head and tail commands. Problem is stated below: Write an interactive shell script to imitate the head... (5 Replies)
Discussion started by: nutalk
5 Replies

4. Shell Programming and Scripting

shell script similar to the command HEAD

hello please if anyone can help me make a shell script similar to the command HEAD and TAIL THANKS (3 Replies)
Discussion started by: BELLA86
3 Replies

5. Shell Programming and Scripting

How to call the System command twice in the same perl script...

Hello experts, I have a perl script which looks for the ARGV and then loads the data as per it. Example. #Checking the server to connect if ($ARGV eq 'QA') { $ENV{"ORACLE_HOME"} = "/oracle/product/11.2.0"; $ENV{"PATH"} = "$ENV{'PATH'}:/oracle/product/11.2.0/bin"; ... (1 Reply)
Discussion started by: msrahman
1 Replies

6. Shell Programming and Scripting

help a beginner, expect script, command not found

hi, i have a problem with my expect script, here is MyScript: #!/usr/bin/expect set pass set c set command spawn sudo $command expect "assword" send "$pass\r" expect eof My problem is that when i execute MyScript with the command : "./MyScript mypassword apt-get_install_git"i get... (6 Replies)
Discussion started by: gongotar
6 Replies

7. Shell Programming and Scripting

How to call a bash command from within a perl script?

In a bash script, one can call a perl command in the following manner, where "myperlcommand" is a perl command. perl -e 'myperlcommand(arguments)' perl -e 'print("UUUU"x4)' Now, how can one call a bash command from within a perl script? (Suppose that mybashcommand is a bash... (1 Reply)
Discussion started by: LessNux
1 Replies

8. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

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

9. Shell Programming and Scripting

Check file if not found send mail if exit call second script

I need to check my script and change to working mode. currently it was not sending the mail and exit without calling the second script. I need to check the file is present ="/home/Rvtools/test.csv" if this file not found after the time retry send mail file not found If the file exit run the... (2 Replies)
Discussion started by: ranjancom2000
2 Replies
CRM_UUID(8)							  [FIXME: manual]						       CRM_UUID(8)

NAME
crm_uuid - get a node's UUID SYNOPSIS
crm_uuid [-w|-r] DESCRIPTION
UUIDs are used to identify cluster nodes to ensure that they can always be uniquely identified. The crm_uuid command displays and modifies the UUID of the node on which it is run. When Heartbeat is first started on a node, it creates a UUID (in binary form) in /var/lib/heartbeat/hb_uuid. This file can be read and written by means of crm_uuid. Note There are very rare circumstances when crm_uuid should be used to modify the UUID file. The most common is when it is necessary to set a node's UUID to a known value when creating a new cluster. OPTIONS
--write, -w Write a UUID value to the /var/lib/heartbeat/hb_uuid file. Warning Use the -w option with care, because it creates a new UUID value for the node on which it is run. Various scripts across the cluster might still use the old value, causing the cluster to fail because the node is no longer associated with the old UUID value. Do not change the UUID unless you changed all references to it as well. --read, -r Read the UUID value and print it to stdout. SEE ALSO
/var/lib/heartbeat/hb_uuid AUTHOR
crm_uuid was written by Andrew Beekhof. [FIXME: source] 07/05/2010 CRM_UUID(8)
All times are GMT -4. The time now is 03:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy