02-23-2015
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi..
When i refered the script /etc/rc.sysinit...
i found the "action commands" like
But this is not working in my shells..
the following error is coming...
Please anybody help
Thanks in advance
esham (5 Replies)
Discussion started by: esham
5 Replies
2. Shell Programming and Scripting
Does anyone know of a way to mimic the up arrow/down arrow type bash behavior within a shell script?
Say I have a scripted menu, and would like to be able to up arrow to bring up the last X number of lines of user input?
Thanks to anybody with a suggestion. :) (0 Replies)
Discussion started by: sysera
0 Replies
3. UNIX for Dummies Questions & Answers
Bit of a weird one i suppose, i want to use an echo inside an echo... For example...
i have a script that i want to use to take users input and create another script. Inside this script it creates it also needs to use echos...
echo "echo "hello"" >$file
echo "echo "goodbye"" >$file
... (3 Replies)
Discussion started by: mokachoka
3 Replies
4. Shell Programming and Scripting
in /etc/init.d/networking of an ubuntu computer, I found this code:
if ifdown -a --exclude=lo; then
log_action_end_msg $?
else
log_action_end_msg $?
fi
Shouldn't it be replace by
ifdown -a --exclude=lo
... (0 Replies)
Discussion started by: raphinou
0 Replies
5. Shell Programming and Scripting
I am writing a shell script that takes at least 2 arguments. The first is an octal representation of file permissions, the second is a command that is executed on all the files found with that permission.
#!/bin/sh
find . -perm $1 -exec $2 $3 $4 {} \;
invoked: ./script.sh 543 ls -la
what... (3 Replies)
Discussion started by: computethis
3 Replies
6. Shell Programming and Scripting
lets explain it easy by showing the initial file and desired file:
I've a file such this that contains:
initial_file:
31/12/2011 23:46:08 38.6762 43.689 14.16 Ml 3.1
... (1 Reply)
Discussion started by: oreka18
1 Replies
7. IP Networking
Hello, I'm new here and although I have used Linux environments here and there for many years (mainly at college) I'm far from being a "pro". I spent hours searching this question, so I hope I won't repeat threads (chances are low though).
The question is: how can I mimic or replicate the... (0 Replies)
Discussion started by: AirieFenix
0 Replies
LEARN ABOUT SUSE
gv-update-userconfig
GV(1) User Commands GV(1)
NAME
gv-update-userconfig - update ~/.gv config file
SYNOPSIS
gv-update-userconfig [filename]
DESCRIPTION
gv-update-userconfig is a simple script to update an .gv config file to the current version of gv(1).
You can specify a file which is used instead of .gv by using the optional filename argument. This is usefull if the environment variable
XUSERSEARCHPATH is used.
This is done by removing all entries known to cause problems with the current version of GNU gv (i.e. the one the version of this program
belongs to) and updating the version information in that file. This resets all problematic items back to the default values.
-h, --help, --usage
displays a short help message
-r removes all resources from ~/.gv that equal the default resources being shipped with GNU gv (ignoring whitespaces).
-n switches to alternative navigation by adding resp. updating navigation resources to ~/.gv, i. e. after each page switch (except if
selected by the page number) the page is scrolled to top (if switching forward) resp. to the bottom (if switching backward).
-N switches to standard navigation by adding resp. updating navigation resources to ~/.gv.
-s removes navigation resources from ~/.gv and therefore enables standard navigation.
BACKGROUND
The $(HOME)/.gv file is written by GNU gv when activating the Save button in one of the configuration dialogs.
The values in there are used, if there is no display-specific resource value (loaded from $(HOME)/.Xresources at login time or manually
xrdb(1)).
Sometimes older values miss things needed by the new GNU gv to work properly. This GNU gv will noticy by an old (or missing) version
information in this file and refuse to start until fixed.
SEE ALSO
gv(1), xrdb(1).
COPYRIGHT
This manpage is Copyright (C) 2008 Bernhard R. Link and can be used, copied, distributed and/or modified without restrictions.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
gv 2008-07-31 GV(1)