10-24-2008
If you put that command in .profile it will affect everyone using that initialization file (the same username). If you put that in .kshrc or whatever file you use for your interactive sessions, it will affect all interactive sessions that use that rc file.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
ATFTP(1) General Commands Manual ATFTP(1)
NAME
atftp - TFTP client (RFC1350).
SYNOPSIS
atftp [options] [host [port]]
DESCRIPTION
atftp can be used interactively or in batch mode to retrieve files from TFTP servers. When used interactively, a summary of the commands
can be printed by typing 'help'. This TFTP client support all basic feature from RFC1350, RFC2347, RFC2348 and RFC2349. It also support
multicast implementation of RFC2090 and mtftp as defined in the PXE specification.
OPTIONS
This program supports both the usual GNU command line syntax, with long options starting with two dashes (`-') as well as short options.
Some options are usable in batch mode only, they have no meaning when atftp is use interactively. A description of the options is included
below.
-g, --get
Non interactive invocation only. Instruct atftp to get file.
--mget Non interactive invocation only. Used to get file from a mtftp capable server.
-p, --put
Non interactive invocation only. Instruct atftp to put file.
-l, --local-file
Non interactive invocation only. The client side file name to read or write. Must be used in conjunction with --get or --put.
-r, --remote-file
Non interactive invocation only. The server side file name to get or put. Must be used in conjunction with --get or --put.
--tftp-timeout <value>
Number of seconds for timeout, client side. Default is 5 seconds.
--option <"name value">
Set option "name" to "value". This command support exactly the same arguments as the interactive one. For example, use: --option
blksize 1428 to configure block size.
--mtftp <"name value">
Set mtftp possible options. Accept the same options as the interactive mtftp command. For example, use: --mtftp client-port 76 to
configure client side port to use.
--no-source-port-checking
See atftpd's man page.
--verbose
Instruct atftp to be verbose. It will print more information about what's going on.
--trace
This is useful for debugging purpose to display all packet going to and from the network.
-V, --version
Print version.
-h, --help
Print a summary of command line arguments.
AUTHOR
This manual page was written by Remi Lefebvre <remi@debian.org> and Jean-Pierre Lefebvre <helix@step.polymtl.ca>.
December 27, 2000 ATFTP(1)