06-30-2017
Seems like they missed one - libhistory.so belongs to the "readline" library, make sure you have it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all!
I have two consoles.I know the PID of these two.Now I want to execute a command in console#1 but from console#2. How can I achieve this?
Anyone can do something for my query?
Click here if you can't understand my query or to know the need for this query. (3 Replies)
Discussion started by: rakabarp
3 Replies
2. UNIX for Advanced & Expert Users
# ps -ef | grep rc
root 13903 1 0 08:56 ? 00:00:00 /usr/sbin/automount --timeout=60 /archive file /etc/auto_archive
root 10706 1 0 08:55 ? 00:00:00 /bin/bash /etc/rc.d/rc 3
root 2933 20071 0 19:38 pts/1 00:00:00 grep rc
Is there any way to debug the... (1 Reply)
Discussion started by: marcpascual
1 Replies
3. Shell Programming and Scripting
I have wasted one working day writing this scripts.
It compares two folders and make a good tabbed report about their differences.
#!/bin/bash
function DRAW_DEPTH () {
ROUND=$1
while
do
printf %s " "
ROUND=`expr $ROUND - 1`
done
printf %s "|- "
}
function MAIN () {... (9 Replies)
Discussion started by: trutoman
9 Replies
4. Shell Programming and Scripting
While I am by habit comfortable with bash as a shell, from time to time, I find tiny reasons to believe it's a little dense. One of the things that proves it is: to date, I have not been able to get it to identify what WM it's running inside of or alongside of in an X11 kind of environment... (1 Reply)
Discussion started by: SilversleevesX
1 Replies
5. Shell Programming and Scripting
I am trying to assign a command to a variable and use it. I have tried every possible quoting variation except the correct one. :confused: Here is an example:
CMD="grep description $i | grep "::""
$CMD | nawk ...Thanks in advance for you help. (1 Reply)
Discussion started by: aschera
1 Replies
6. UNIX for Dummies Questions & Answers
Hey guys, so I wrote a small script that pretty much just takes in two numbers and counts from the first to the second, e.g.
unknown-hacker|544> count.sh 1 3
1
2
3
My problem is I want to make it so that if you input invalid parameters, such as non-numerical characters, more than 2... (2 Replies)
Discussion started by: Duo11
2 Replies
7. Shell Programming and Scripting
execute the attached script as,
bash -x INFA_MAP_GEN_XML.sh "/export/home/e120945/INFORMATICA_MAPPING_GENERATOR/SOURCE" "INFA_TEMPLATE.csv" "/export/home/e120945/INFORMATICA_MAPPING_GENERATOR/TARGET" "UNIX" "/export/home/e120945/INFORMATICA_MAPPING_GENERATOR/SETUP"... (5 Replies)
Discussion started by: 120945
5 Replies
8. Open Source
The perl command is not executing? I am trying to run the .pl in my cygwin home directory (C:\cygwin\home\cmccabe) using ${id}.txt.hg19_multianno.txt (located in the annovar directory) as the input file to be formatted and $FILENAME is the output file to be saved. The .pl is attached as... (8 Replies)
Discussion started by: cmccabe
8 Replies
9. Shell Programming and Scripting
Hello UNIX & Linux Forums community! Long time Linux daily user hobbyist, new to shell scripting....
I'm working on a script that does all the "work" in one script, and makes calls to a second script to display info to the user via mostly expanding variables in heredocs.
I'm contemplating... (6 Replies)
Discussion started by: Cody Learner
6 Replies
10. UNIX for Beginners Questions & Answers
So I've written my first bash script.I wanted to run it from the command line, but I got an error:
$ myscript.sh
myscript.sh: command not found
So instead I try this and it works:
$ ./myscript.sh
Is this how I will always need to execute it? How can I run myscript.sh without having to... (2 Replies)
Discussion started by: P.K
2 Replies
LEARN ABOUT DEBIAN
fvwmconsole
FvwmConsole(1) Fvwm Modules FvwmConsole(1)
NAME
FvwmConsole - an fvwm command input interface
SYNOPSIS
Module FvwmConsole [options]
FvwmConsole can only be invoked by fvwm. Command line invocation of the FvwmConsole module will not work.
DESCRIPTION
FvwmConsole allows the user to type fvwm configuration commands interactively, and have them executed immediately. This tool is particu-
larly useful for testing new configuration ideas, or for implementing temporary changes to your environment.
INVOCATION
FvwmConsole must be spawned as a module by fvwm. FvwmConsole takes all xterm(1) options.
FvwmConsole can be invoked by inserting the line 'Module FvwmConsole' in the .fvwm2rc file. This can be placed on a line by itself, if
FvwmConsole is to be spawned during fvwm's initialization, or can be bound to a menu or mouse button or keystroke to invoke it later.
CONFIGURATION OPTIONS
FvwmConsole uses xterm(1). All resources set for xterm are inherited unless overridden by command line options.
Module FvwmConsole -g 40x10 -fg black -bg green3
A different terminal emulator can be specified with the -terminal option. However, only terminal programs that understand the options
-name, -title and -e can be used.
Module FvwmConsole -terminal rxvt
Previous versions of FvwmConsole supported a -e option to choose a different front-end. Although this option is still provided for back-
wards compatibility its use is discouraged unless you know exactly what you are doing.
Module FvwmConsole -e FvwmConsoleC.pl
(see FvwmConsoleC.pl(1)).
Also X resources can be set in your ~/.Xdefaults file:
FvwmConsole*VT100*geometry: 40x4
FvwmConsole*font: 7x14
COMMAND EDITING
There are a few options. If the GNU readline library is available, it can be used.
If Perl5 is installed, FvwmConsoleC.pl can be used as a command editor. This can be accomplished by either copying FvwmConsoleC.pl to
fvwmlib directory as FvwmConsoleC or invoking FvwmConsole with -e option. For example:
Module FvwmConsole -e FvwmConsoleC.pl
If neither one is installed, a simple input reading function which doesn't have editing capabilities is used.
GNU readline and FvwmConsoleC.pl have some frequent used commands in common as default. These commands are similar to emacs. For more
details, refer GNU readline man and info pages, and FvwmConsoleC.pl man page.
Ctrl-A - beginning of line
Ctrl-B - previous char
Ctrl-D - delete char
Ctrl-E - end of line
Ctrl-F - next char
Ctrl-H - backspace
Ctrl-K - erase to the end of line
Ctrl-N - next line
Ctrl-P - previous line
Ctrl-R - search reverse
Ctrl-U - delete line
Meta-B - previous word
Meta-F - next word
Esc < - beginning of history
Esc > - end of history
EXITING
FvwmConsole can be stopped by entering the EOF character (usually CTRL-D).
Note! Do not use the "quit" command, as this is an fvwm builtin: typing "quit" at the FvwmConsole command line will cause fvwm to exit.
SEE ALSO
xterm(1), FvwmConsoleC.pl(1), GNU Readline library
AUTHOR
FvwmConsole is the original work of Toshi Isogai.
3rd Berkeley Distribution 09 May 2010 (2.5.30) FvwmConsole(1)