09-30-2010
You might want to try printenv PATH instead of printenv $PATH.
'PATH' and 'path' are different variables, yes. You should only be using PATH to define the PATH.
What do you mean by 'read-only'? If you alter it in the shell itself with export PATH="${PATH}:stuff" does "echo $PATH" show the changes? The changes naturally won't persist next time you login, being defined by your login scripts and not what you type in the shell.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
What the problem is that we have a client that has now decided to use SSH protocol 2 only for their internal security audit. This is not a problem except now our SCO system will not connect.
I can connect with putty from a windows box fine until the SCO system tries to access which then... (0 Replies)
Discussion started by: Bilb
0 Replies
3. UNIX for Dummies Questions & Answers
Hi Floks!
This is Sravan!
I am new to linux and I am trying to write bash shell script in which I want to change the user but the statements which are after the "su " command are not working that I mean I want to execute some statements as the changed user
here is the code
... (2 Replies)
Discussion started by: sravanp
2 Replies
4. AIX
I thought I had seen all errors in SSH but the following is new to me:
buffer_get: trying to get more bytes 129 than in buffer 6
Anyone seen this before please? Google search returns nothing of use that I can see.
I am running an lpar on a 52A and the O/S is AIX 5.3 TL 4CSP. (2 Replies)
Discussion started by: johnf
2 Replies
5. UNIX for Advanced & Expert Users
hi all!
i'm trying to make ssh connection between COMP1 to any computer on my network and i get this error:
"Host key verification failed."
any computer can access COMP1 in ssh...
i have already deleted the "known_hosts" and "authorized_keys" files and created them again...
any1 have an... (1 Reply)
Discussion started by: eliraza6
1 Replies
6. Shell Programming and Scripting
Hi
Please help me with the following problem with my script.
The following block of code is not repeating in the while loop and exiting after searching for first message.
input_file
==========
host001-01
host001-02
2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies
7. Shell Programming and Scripting
Hi ,
I have this piece of code.
for xyz in `grep "$envir $envtype" ~/user/Move/config/ProdEnvList|cut -d "|" -f11`
do
username=`cat ~/user/Move/config/ProdEnvList|grep $xyz|cut -d "|" -f7`
hostname=`cat ~/user/Move/config/ProdEnvList|grep $xyz|cut -d "|" -f6`
ssh $username@$hostname -n 'cd... (2 Replies)
Discussion started by: debu182
2 Replies
8. UNIX for Dummies Questions & Answers
Hi whenever i try to do any ssh related activity like.
ssh <servername>, scp some files to a server i get =true I have checked modt message but nothing is there.
I can able to get the ssh session but for scp, =true prompt get displayed but nothing happens.
For example:
# scp file1.txt... (5 Replies)
Discussion started by: pinga123
5 Replies
9. Solaris
Hi Guys,
when I try to login to one of my sun server (sparc) from within an open putty session on another server I get this message:
bash-3.2$ ssh 10.0.0.10
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @... (1 Reply)
Discussion started by: cjashu
1 Replies
10. Shell Programming and Scripting
I am able to login to server x from y in shell script. But after that command is get executed on server y. I need the command to be executed on server x.
Ex.
ssh -n 0.0.0.X
ls -ltr
Above script I am executing from 0.0.0.Y
I got result but it executed on server Y server. But when I use ssh... (4 Replies)
Discussion started by: babapatil14
4 Replies
LEARN ABOUT CENTOS
gresource
GRESOURCE(1) User Commands GRESOURCE(1)
NAME
gresource - GResource tool
SYNOPSIS
gresource [--section SECTION] list FILE [PATH]
gresource [--section SECTION] details FILE [PATH]
gresource [--section SECTION] extract FILE PATH
gresource sections FILE
gresource help [COMMAND]
DESCRIPTION
gresource offers a simple commandline interface to GResource. It lets you list and extract resources that have been compiled into a
resource file or included in an elf file (a binary or a shared library).
The file to operate on is specified by the FILE argument.
If an elf file includes multiple sections with resources, it is possible to select which one to operate on with the --section option. Use
the sections command to find available sections.
COMMANDS
list
Lists resources. If SECTION is given, only list resourcs in this section. If PATH is given, only list matching resources.
details
Lists resources with details. If SECTION is given, only list resources in this section. If PATH is given, only list matching resources.
Details include the section, size and compression of each resource.
extract
Extracts the resource named by PATH to stdout. Note that resources may contain binary data.
sections
Lists sections containing resources. This is only interesting if FILE is an elf file.
help
Prints help and exits.
GIO
GRESOURCE(1)