10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks -
I was wondering if you could help convert batch code in Linux? For instance, I use the following piece of code in DOS to find a file/executable, and then the FULL path as a variable.
::-- If startMaxl.exe exists, set full path --::
for %%D in (c d e f g h i j k l m n o p q r s t... (4 Replies)
Discussion started by: SIMMS7400
2. Shell Programming and Scripting
Can anyone suggest a workaround
/home/bingo/XXX_script.sh: line 180: zone_5.org=/qaz/qwe/path/tns.osn: no parent
The path does not exist on the local machine, the allocation used to work till the server was upgraded.
Red Hat Enterprise Linux... (2 Replies)
Discussion started by: squrcles
3. Shell Programming and Scripting
I am looking to parse a text file output and set variables based on what is cropped from the parsing.
Below is my script I am looking to add this feature too.
All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the... (4 Replies)
Discussion started by: es760
4. Shell Programming and Scripting
Hope you can understand my problem from the below code.
$ cat ~/.profile
$ echo $PATH
$ echo $SHELL
... (6 Replies)
Discussion started by: sathyaonnuix
5. Shell Programming and Scripting
I have a variable called PATH that contains a path
I need a sed command to set a variable called USER to the last directory name in that path
and from that PATH i need USER to = test
I know sed... (4 Replies)
Discussion started by: tret
6. UNIX for Dummies Questions & Answers
I've noted that in order to use commands like ifconfig, I have to prefix the commands with the directory.
/etc/profile shows that the paths should be part of the PATH environment variable; any idea where the bug is?
# System wide environment and startup... (1 Reply)
Discussion started by: jon80
For some reason something has changing in my AIX environment where when I type:
3002-104 acledit: EDITOR environment variable must be full pathname
I know I need to reset the EDITOR variables path to /usr/bin/vi but I can't remember the syntax anyone? (2 Replies)
Discussion started by: heprox
8. UNIX for Dummies Questions & Answers
i know that this topic discussed for many times but although i had researched them i couldnt succeed in my problem.
i am following a step-by-step instruction guide and must do the following:
To ensure access, set the path PATH $ORACLE_HOME/perl/bin:$PATH and set the Perl... (2 Replies)
Discussion started by: merope
9. Shell Programming and Scripting
i have joined new to the group.
i have set an variable in my bashrc file.
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
10. UNIX for Advanced & Expert Users
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270