10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
2. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
3. Shell Programming and Scripting
Hi , we got autosys for scheduling our jobs. Autosys user logs in to the Linux box and need to execute a shell script. problem here is user requires admin privileges on database to complete the task. Since scheduling is maintained by different team I don't want autosys user to have admin privileges... (1 Reply)
Discussion started by: rush143
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
We need to configure user in c shell with the following format when he tries to login to the system for SOLARIS 9 OS
username@hostname>
Let me know the steps for the confiuring the user login as per the requirement.. (2 Replies)
Discussion started by: hydoss1
2 Replies
5. Shell Programming and Scripting
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Discussion started by: ujjwal27
9 Replies
6. UNIX for Dummies Questions & Answers
for example, if we specify,#!/usr/bin/ksh then the script will be executed in korn shell.
If we don't specify that line, the script will be executed using the default shell.
So, how we can identify the default shell for the current user?
Will it be in .profile file ?
Thanks (13 Replies)
Discussion started by: pandeesh
13 Replies
7. Shell Programming and Scripting
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies
8. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
is it possible to chnage the user in a shell script?
i would like to create a script with should make some actions on the host which needs root permissions.
i want do give the user which should start the script the root permissions.
so is it possible to make a command in the script... (2 Replies)
Discussion started by: scottl
2 Replies
10. UNIX for Dummies Questions & Answers
I'm very new at this -- HELP!
I need to know how to terminate a users session when they exit a shell script menu?
Any ideas would be much appreciated!
Holli (2 Replies)
Discussion started by: HOlli
2 Replies
fizsh(1) fizsh fizsh(1)
NAME
fizsh - friendly interactive zshell.
SYNOPSIS
fizsh [OPTIONS]... [ARGUMENTS]...
DESCRIPTION
Fizsh is a front end to zsh. Fizsh provides zsh with interactive syntax-highlighting and a MATLAB-like history-search. Fizsh is intended to
look and feel similar to fish. A distinguishing feature is that fizsh can handle Bourne compatible syntax. This is because fizsh is a front
end to zsh. Fish uses its own syntax.
CONFIGURATION
$HOME/.fizsh is the directory where fizsh keeps its configuration files. The file $HOME/.fizsh/.fizshrc serves as the user's local startup
script. Local customizations, such as aliases and functions, can be added here. $HOME/.fizsh/.fizshrc allows the same syntax as
$HOME/.zshrc under zsh. $HOME/.fizsh/.fizsh_history is default name of fizsh's history file.
The other files in $HOME/.fizsh are installed by /usr/bin/fizsh. In order to reinstall these files use: /usr/bin/fizsh -r or /usr/bin/fizsh
--reinstall.
Compared to the default configuration of zsh, fizsh additionally sets the options "histignorealldups", "histignorespace",
"histreduceblanks", "incappendhistory", "interactivecomments", "promptsubst", "correct" and "nobeep".
For further configuration details consult zsh's man pages.
INVOCATION
Fizsh is meant to be invoked without options and without command-line arguments.
The only supported command-line options are "--version", "--help", "--login", "--reinstall", "-v", "-h", "-l" and "-r". "--version" or "-v"
yields fizsh's version number. "--help" or "-h" causes fizsh to print brief usage information. "--login" or "-l" cause fizsh to be a login
shell. "--reinstall" or "-r" will reinstall some of fizsh's configuration files (see above).
If invoked with other command-line options and/or arguments fizsh will silently revert to zsh.
BUGS
There are no known bugs at the moment. Bug reports, bug fixes and other comments are welcome.
NOTES
MATLAB is a registered trademark of The MathWorks, Inc.
AUTHOR
Written by Guido van Steen, based on work by the "zsh-syntax-highlighting contributors" and the contributors to "zsh-history-substring-
search".
SEE ALSO
zsh(1) fish(1)
Version 1.0.2 9 Aug 2011 fizsh(1)