Sponsored Content
Full Discussion: ksh to bash mode
Top Forums Shell Programming and Scripting ksh to bash mode Post 302250937 by radoulov on Friday 24th of October 2008 03:28:33 PM
Old 10-24-2008
Quote:
... will affect everyone using that initialization file (the same username).
Sorry,
anyone having the same home directory or some custom way to pass an initialization file to the shell.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ksh vs Bash

Hi Buddy, Can any one help me to overcome from the below problem? #/usr/bin/ksh typeset -Z dd dd=1 echo $dd =========== out put for the above is 01 same script I'm migrating to bash but typeset -Z option is not found in bash, Pls get me the equivalent option in BASH Thanks in... (1 Reply)
Discussion started by: krishna
1 Replies

2. Shell Programming and Scripting

python vs bash - verbose mode

hey all! i'm looking how to render verbose python scripts. what i'm looking for would be an equivalent to a "bash -xf" in bash script headers.. Any help? (2 Replies)
Discussion started by: penguin-friend
2 Replies

3. UNIX for Dummies Questions & Answers

ksh in vi mode, choose from output

is there a way to choose the complement from the output from the sequense in "ksh -o vi" root# ls testa testb root# cat tes 1) testa 2) testb root# cat tes <-- what to do now? this output looks like a select function, otherwise the numbers wouldn't make sense, is there a chance to use... (2 Replies)
Discussion started by: pressy
2 Replies

4. Shell Programming and Scripting

bash and ksh: variable lost in loop in bash?

Hi, I use AIX (ksh) and Linux (bash) servers. I'm trying to do scripts to will run in both ksh and bash, and most of the time it works. But this time I don't get it in bash (I'm more familar in ksh). The goal of my script if to read a "config file" (like "ini" file), and make various report.... (2 Replies)
Discussion started by: estienne
2 Replies

5. UNIX for Dummies Questions & Answers

bash preferred or ksh with bash features

I'm a user on a fairly locked down sys V server. By default, I have ksh set as my default shell. I added to my .profile: bash -o vi so when I login, it goes into bash so I can take advantage of tab completion and use the up key to bring up previous commands. However, whenever I want to exit, I... (2 Replies)
Discussion started by: mrwatkin
2 Replies

6. Shell Programming and Scripting

BASH to KSH

I have a script in KSH and now need to incorporate this into another script which is in BASH. OUr script contains code like below in good number of places. Eg: echo “A B C” | read VAR1 VAR2 VAR3 This works only in ksh and not in BASH. Please let me know 1. Which is the equivalent... (3 Replies)
Discussion started by: cvsanthosh
3 Replies

7. Shell Programming and Scripting

set ksh script in restricted mode

Hi, I came across a post wherein you can use "set -r"(on bash) to activate restricted mode ( wherein you cant run some commands such as cd etc). Can anyone guide if we have anything similar in ksh ? Thanks (2 Replies)
Discussion started by: Shivdatta
2 Replies

8. Shell Programming and Scripting

tftp batch mode within bash script

Hi, I put the necessary tftp commands into a batch file and I can run tftp by $ tftp < tftpbatchscript in bash command line and then successfully exit. Now, I want to put a line which does the same thing above. However, when I put this line into a bash script, the lines below this line... (1 Reply)
Discussion started by: yildiz.a
1 Replies

9. UNIX for Dummies Questions & Answers

New user in bash mode

when I created user and use su - username then its prompt come in bash mode # su - uusr -bash-4.1$ What is this bash mode . this also show -bash-4.1$ touch filename touch: cannot touch `filename': Permission denied Please use CODE tags (not ICODE tags) when displaying... (2 Replies)
Discussion started by: kaushik02018
2 Replies

10. Fedora

Bash in Emergency Mode

I'm sure this is a really dumb question, but if I use a command in Fedora 23 emergency mode, and that command doesn't exist, I don't come back to the command prompt, but enter what appears to be a text mode. How do I get back to the command line? (2 Replies)
Discussion started by: bangorme
2 Replies
OCTAVE(1)                                                     General Commands Manual                                                    OCTAVE(1)

NAME
octave - A high-level interactive language for numerical computations. SYNOPSIS
octave [options]... [file] DESCRIPTION
Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solv- ing linear and nonlinear problems numerically. OPTIONS
The complete set of command-line options for octave is available by running the following command from the shell. octave --help DOCUMENTATION
The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used to produce on-line and printed versions of the manual. You can read the on-line copy of the Octave documentation by issuing the following command from within octave. octave:1> doc The Info files may also be read with a stand-alone program such as info or xinfo. HTML, Postscript, or PDF versions of the documentation are installed on many systems as well. BUGS
The Octave project maintains a bug tracker at http://bugs.octave.org. Before submitting a new item please read the instructions at http://www.octave.org/bugs.html on how to submit a useful report. FILES
Upon startup Octave looks for four initialization files. Each file may contain any number of valid Octave commands. octave-home/share/octave/site/m/startup/octaverc Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as /usr/local. octave-home/share/octave/version/m/startup/octaverc Site-wide initialization file for Octave version version. ~/.octaverc User's personal initialization file. .octaverc Project-specific initialization file located in the current directory. AUTHOR
John W. Eaton <jwe@octave.org> GNU Octave 4 February 2011 OCTAVE(1)
All times are GMT -4. The time now is 02:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy