Sponsored Content
Full Discussion: using CD command in fmli
Top Forums Shell Programming and Scripting using CD command in fmli Post 11281 by Claude on Saturday 1st of December 2001 10:43:37 AM
Old 12-01-2001
using CD command in fmli

I was not able to use "cd" command in fmli....can anyone help ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fmli Signal/trap

Does anyone know how to program signals in fmli? My fmli script goes in loop when the telnet session is closed. When I start the script from the prompt the issue do not happen. But when it is started by the login process it hags. That's why I want to program the SIGHUP to exit/finish the script.... (0 Replies)
Discussion started by: Marcos Brito
0 Replies

2. Shell Programming and Scripting

using fmli to create menu's

I am currently having a problem creating a dynamic Menu that reads in from a file and appends this Menu list with an exit menu item. the syntax I am using to create the dynamic Menu is menu="$ARG1 Host names" `cat Hosts.data | regex '^(''.*)$0$' ' name="$m0" action=open... (2 Replies)
Discussion started by: craigmckeeman
2 Replies

3. Shell Programming and Scripting

fmli functions?

Hi all I am trying to create a Form that takes a user entered Directory name and if the Directory does not exist then I create it. I have managed to set the descriptor done=`mkdir "$F1";update` to make the directory but really require the form done to run a function that will have the steps; ... (0 Replies)
Discussion started by: craigmckeeman
0 Replies

4. UNIX for Advanced & Expert Users

using fmli to create menu's

I am currently having a problem creating a dynamic Menu that reads in from a file and appends this Menu list with an exit menu item. the syntax I am using to create the dynamic Menu is menu="$ARG1 Host names" `cat Hosts.data | regex '^(''.*)$0$' ' name="$m0" action=open Menu.Login.mnu... (0 Replies)
Discussion started by: craigmckeeman
0 Replies

5. Shell Programming and Scripting

fmli "Form" question

Suppose I have a Form with 5 fields. 2 of these fields have their imput limited by a rmenu choice. e.g. field1 and field2. The rmenu choices of field2 are also limited by the choice made for field1. name=filed1 rmenu=vary { a b c d } name=field2 rmenu=vary { `script $F1` } ... (2 Replies)
Discussion started by: sb008
2 Replies

6. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies

7. Programming

FMLI on Suse

Anyone knows a FMLI package for Suse? I have bunch of screens, menu and lists on FMLI and, as much as I know, There is no FMLI facility on Suse. Any better suggestion than converting all of them in Shell script? :confused: (2 Replies)
Discussion started by: Marcos Brito
2 Replies

8. Shell Programming and Scripting

Need help! command working ok when executed in command line, but fails when run inside a script!

Hi everyone, when executing this command in unix: echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error. here is content of my script: tdbsrvr$ vi hc.sh "hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies

9. UNIX for Dummies Questions & Answers

passing command output from one command to the next command in cshell

HI Guys, I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that 1) I need to enter these commands $ echo $DISPLAY $ setenv $DISPLAY output_of_echo_$display_command How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies

10. UNIX for Beginners Questions & Answers

Another one line command where I'd like to determine if Ubuntu or Red Hat when running command

Hello Forum, I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
pathconv(1F)							   FMLI Commands						      pathconv(1F)

NAME
pathconv - search FMLI criteria for filename SYNOPSIS
pathconv [-f] [-v alias] pathconv [-t] [-l] [-nnum] [-v string] DESCRIPTION
The pathconv function converts an alias to its pathname. By default, it takes the alias as a string from the standard input. OPTIONS
-f If -f is specified, the full path will be returned (this is the default). -t If -t is specified, pathconv will truncate a pathname specified in string in a format suitable for display as a frame title. This format is a shortened version of the full pathname, created by deleting components of the path from the middle of the string until it is under DISPLAYW -- 6 characters in length, and then inserting ellipses ( ... ) between the remaining pieces. Ellipses are also used to show truncation at the ends of the strings if necessary, unless the -l option is given. -l If -l is specified, < and > will be used instead of ellipses ( ... ) to indicate truncation at the ends of the string generated by the -t option. Using -l allows display of the longest possible string while still notifying users it has been truncated. -nnum If -n is specified, num is the maximum length of the string (in characters) generated by the -t option. The argument num can be any integer from 1 to 255. -valias |string If the -v option is used, then alias or string can be specified when pathconv is called. The argument alias must be an alias defined in the alias_file named when fmli was invoked. The argument string can only be used with the -t option and must be a pathname. EXAMPLES
Example 1 A sample that uses pathconv to construct the menu title. It searches for MYPATH in the alias_file named when fmli command. Here is a menu descriptor that uses pathconv to construct the menu title. It searches for MYPATH in the alias_file named when fmli was invoked: menu=`pathconv -v MYPATH/ls` . . . where there is a line in alias_file that defines MYPATH . For example, MYPATH=$HOME/bin:/usr/bin. Here is a menu descriptor that takes alias from the standard input. menu=`echo MYPATH/ls | pathconv` . . . ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fmli(1), attributes(5) SunOS 5.11 5 Jul 1990 pathconv(1F)
All times are GMT -4. The time now is 07:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy