Sponsored Content
Top Forums UNIX for Advanced & Expert Users What's your most useful shell? Post 302214412 by psiva_arul on Monday 14th of July 2008 02:10:41 AM
Old 07-14-2008
Hi,


i use KSH for everything...Smilie

Regards,
MPSSmilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run unix commands in a new shell inside a shell script?

Hi , I am having one situation in which I need to run some simple unix commands after doing "chroot" command in a shell script. Which in turn creates a new shell. So scenario is that - I need to have one shell script which is ran as a part of crontab - in this shell script I need to do a... (2 Replies)
Discussion started by: hkapil
2 Replies

2. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies

3. Linux

How to Start a Shell as Login shell instead of ordinary shell

Hi I tried with bash --login option. but the output is siva:~$ bash --login siva:~$ is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su ) Thx in advance Siva (3 Replies)
Discussion started by: Sivaswami
3 Replies

4. Shell Programming and Scripting

Help need to make a shell script run for ffmpeg vhook watermaking in shell

i have a small problem getting a batxh shell script to run in shell this is the code the problem seems to be centered around the ffmpeg command, something maybe to do with the ' ' wrapping around the vhook part command this is a strange problem , if i take the ffmpeg command and... (1 Reply)
Discussion started by: wingchun22
1 Replies

5. Shell Programming and Scripting

How to run cmds after changing to a new env (shell) in a shell script

Hi, I am using HP-UNIX. I have a requirement as below I have to change env twice like: cadenv <env> cadenv <env> ccm start -d /dbpath ccm tar -xvf *.tar ccm rcv .... mv *.tar BACKUP but after I do the first cadenv <env> , I am unable to execute any of the later commands . ... (6 Replies)
Discussion started by: charlei
6 Replies

6. Shell Programming and Scripting

simple shell - how to get a parameter typed in a shell script

Hi, I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies

7. Shell Programming and Scripting

calling 'n' number of shell scripts based on dependency in one shell script.

Hello gurus, I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script. i m looking for something like this call 3.1; If 3.1 = "complete" then call 3.2; if 3.2 = ''COMPlete" then call 3.3; else exit The... (1 Reply)
Discussion started by: shashi369
1 Replies

8. Shell Programming and Scripting

Any shell or hack that makes the shell command line take vi commands?

basically i'm tired of hitting the left arrow a few dozen times when correcting a mistake or modifying a history command i'd like to use vim style key shortcuts while on the command line so that a 55 moves the cursor 55 places to the left... and i want all the other vi goodies, search of... (3 Replies)
Discussion started by: marqul
3 Replies

9. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

10. Shell Programming and Scripting

Pass C shell array to another C shell script(csh) and shell(sh)

Dear Friends, Please help me on this my script name is send.csh In this i have written the statement like this set args = ( city state country price ) I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell or how to pass to... (2 Replies)
Discussion started by: SA_Palani
2 Replies
mpcd(8) 						       Maintenance Commands							   mpcd(8)

NAME
mpcd - ATM MPOA (Multi-Protocol Over ATM) client daemon SYNOPSIS
mpcd [ -s Control ATM address ] [ -l Data ATM address ] [ -c MPS control ATM address ] [ -i Interface number ] [ -m MPS MAC address ] [ -L LEC address [ -n ELAN name ] [ -C LECS Address ]] DESCRIPTION
MPOA client (MPC) is responsible for creating and receiving internetwork layer shortcuts. Using these shortcuts MPCs forward unicast inter- network layer packets effectively over ATM without need for routing protocols. MPC has two roles; ingress and egress. In ingress role MPC detects flows destined outside it's own subnet and tries to establish shortcuts to those destinations. In egress role MPC accepts shortcuts and packets arriving on those shortcuts. Maintaining shortcuts is done with the help of MPOA server (MPS). Just as the Linux LAN Emulation client, MPOA client is also divided in two parts. The parts are kernel component and a daemon process. The daemon opens and receives data shortcuts and control connections with the kernel component. The kernel component tallies packets flowing out from the LANE device and makes the decision if a packet should be forwarded using LANE or MPOA shortcuts. If the daemon is killed with SIGHUP it will close all the open connections, purge ingress and egress cache entries, query LECS if applica- ble and then restart itself. Linux MPOA client only supports non-LLC-muxed shortcuts. The number of supported MPOA clients is unlimited. OPTIONS
-s Control ATM address Local ATM address this MPC uses for MPOA control connections. -l Data ATM address Local ATM address from and to which MPOA shortcuts are established. -c MPS control ATM address ATM address of MPS. Only needed if MPS can not advertise it by itself. -i Interface number The interface number of LEC this MPC serves. E.g. 2 for "lec2". -m MPS MAC address MAC address of default router where MPS recides. Only useful if the MPOA server fails to advertise itself. -L LEC address Listen address of the LANE client zeppelin. mpcd uses this address as its own ATM address when it queries LECS for MPC configuration parameters. If this option is not present then mpcd will not use LECS to query for configuration parameters. This option is normally the same as zeppelin's -l option. -n ELAN name Name of the ELAN for which mpcd asks for parameters when it connects to LECS. If this option is not given, LECS should respond with parameters belonging to the default ELAN if one exists. This option is normally the same as zeppelin's -n option. -C LECS address ATM address of LECS mpcd asks for parameters. If this option is left empty and -L is given, mpcd uses ATM Forum assigned Well-Known LECS address. This option is normally the same as zeppelin's -c option. EXAMPLES
This script snippet shows how to run LANE and MPOA. After UNI signalling and ILMI have been started LANE (zeppelin) and MPOA (mpcd) are started. The commented out line shows how to start mpcd so that it queries LECS for MPC parameters. Arguments jaarli[1-3] are local ATM addresses listed in file /etc/hosts.atm. ATM=/usr/src/atm case "$1" in start) cd $ATM if [ -x sigd/atmsigd ] ; then sigd/atmsigd -b fi if [ -x ilmid/ilmid ] ; then ilmid/ilmid -b -x fi if [ -x led/zeppelin ] ; then led/zeppelin -2 -n sampo -i2 -l jaarli3 & ifconfig lec2 10.10.10.208 netmask 255.255.255.192 broadcast 10.10.10.255 ifconfig lec2 up route add default gw 10.10.10.193 fi if [ -x mpoad/mpcd ] ; then mpoad/mpcd -i2 -s jaarli1 -l jaarli2 & #mpoad/mpcd -i2 -s jaarli1 -l jaarli2 -L jaarli3 -n sampo & fi ;; esac exit 0 BUGS
Supports only Ethernet type of ELANs. Probably others too. AUTHORS
Heikki Vatiainen <hessu@cs.tut.fi>, Sampo Saaristo <s156953@cs.tut.fi> SEE ALSO
zeppelin(8), atmsigd(8) Linux Nov 17, 1998 mpcd(8)
All times are GMT -4. The time now is 01:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy