10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
How can I invoke the bash shell (via command line) to execute another command by setting an exported environmental variable on the fly (as this env var would be used by the command -another script, the bash would execute).
This needs to be done in one single line as the same would... (4 Replies)
Discussion started by: Praveen_218
4 Replies
2. Shell Programming and Scripting
Hi All,
I have few bash shell scripts which depends on one Ksh shell script. When i run bash shell scripts, it shows error as bad interpretor : ksh no such bad file or directory.
When i tried to install ksh shell, it is not downloading too.
If I remove !/bin/ksh command in starting line of the... (14 Replies)
Discussion started by: Karthik03
14 Replies
3. Shell Programming and Scripting
Hello,
I am trying to create alias in ksh.
alias m=main.ksh
It's working just fine but when I log out from my session and relogin the alias is gone.
How can i create a permanent alias?
Thanks... (1 Reply)
Discussion started by: LiorAmitai
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I want to create my own set of alias, possibly place them on a script that I can run manually as a script. I've placed the sequence of alias commands in a file then I logoff and login and run the script manually. That does not seem to work, can anyone please advise how to get this work... (2 Replies)
Discussion started by: newbie_01
2 Replies
5. Shell Programming and Scripting
Hi Friends,
I am presently migrating shell scripts writter in KSH to SH.I am stuck at this place and i am not able to find a work around:-
Let the script name is x.sh
Below are some of the codes in it...
export abc=hello
export abc=hi
export abc=how
When i am trying to compile the script ... (6 Replies)
Discussion started by: amit.behera
6 Replies
6. UNIX for Dummies Questions & Answers
Is it possible to create an alias wherein it will use a keystroke.
Like to clear the screen in bash i have to use CTRL + l.
I want to make an alias 'c' out of this.
Thanks. (6 Replies)
Discussion started by: or_knob
6 Replies
7. UNIX for Dummies Questions & Answers
Currently my default shell is bash.How can i change itto ksh... (2 Replies)
Discussion started by: dr46014
2 Replies
8. Shell Programming and Scripting
Hello everybody!
Why I can export arrays in ksh?
I trie this for exemplo:
In parent script
array=a
array=b
array=c
export array
When I see the variable array in child script there are only first index.
For exemplo in child script
+echo ${array}
a (3 Replies)
Discussion started by: ricardo.ludwig
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
What is the difference between the following two usage of export?
export VARIABLE_NAME;VARIABLE_NAME=value
and
export VARIABLE_NAME=value
Cheers,
Vish (1 Reply)
Discussion started by: z_vishnu
1 Replies
10. UNIX for Dummies Questions & Answers
My UNIX SA requires that we start in CSH. I like to use KSH because most of my experience is in that shell. I added ksh to the end of my .login script which does take me into KSH but I would like to automatically execute my .profile to setup my aliases.
I cannot use a .shell file because I... (1 Reply)
Discussion started by: veeracer
1 Replies