05-05-2011
read man page on script command. I guess you looking for that.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys;
I want to show what am I doing on a terminal into another. I did something close but its not working really good.
Example: cat /dev/pts/12 >/dev/pts/13
where 12 is my terminal and 13 its the other terminal.
This is usefull for me to share my small unix knowledge to other people... (4 Replies)
Discussion started by: piltrafa
4 Replies
2. Shell Programming and Scripting
Hi,
I have a normal txt file which contains say 5 lines. in that i need to change few of the the parameters dynamically.
for eg..
line 1..contains account
line 2 contains date
line 3 contains user
..
..
..
i will be taking the input using read command and store it in variables... (3 Replies)
Discussion started by: wip_vasikaran
3 Replies
3. Programming
i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the same time).
so i was wondering if there is away to run an instance of terminal hidden, read and... (15 Replies)
Discussion started by: JonhyM
15 Replies
4. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
5. Shell Programming and Scripting
i have applied the following command on a file named unix.txt that contains the string "linux from the text"
grep -n -i -w "linux from the text" unix.txt
and the result is
5:Today's Linux from the text systems are split into various branches, developed over time by AT&T as well as various... (5 Replies)
Discussion started by: arindamlive
5 Replies
6. Slackware
Hello everybody,
I'm testing some aspects of X Terminal implementation and it's going great. I can use remote applications on my local slow workstation at remote's processor speed by redirecting the remote DISPLAY variable to "my_local_ip:0.0"; but i'm having troubles to get remote audio and... (2 Replies)
Discussion started by: semash!
2 Replies
7. Shell Programming and Scripting
I have to redirect STDERR messages both to screen and also capture the same in a file but STDOUT only to the same file.
I have searched in this formum for a solution, but something like
srcipt 3>&1 >&2 2>&3 3>&- | tee errs
doesn't work for me...
Has anyone an idea??? (18 Replies)
Discussion started by: thuranga
18 Replies
8. Shell Programming and Scripting
When ever i started my terminal,Every time I have to change the directory like "cd user/documents/ravi/folder2/folder3" Without typing this entire command every time ,I placed "alias c='cd user/documents/ravi/folder2/folder3'" in .bash_profile file. so that i can able to execute command 'c'... (6 Replies)
Discussion started by: Raviteja saddal
6 Replies
9. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
10. Shell Programming and Scripting
when i do something like this:
bona=$(echo hi2 > /dev/pts/1 ; printf '%s\n' "" | sed '/^$/d')
i get:
hi2
and the $bona variable is empty, when I run:
echo ${bona}
i get the result "hi2" outside of the variable. I want it stored in the bona variable with nothing outputted to the... (6 Replies)
Discussion started by: SkySmart
6 Replies
LEARN ABOUT LINUX
dh_installman
DH_INSTALLMAN(1) Debhelper DH_INSTALLMAN(1)
NAME
dh_installman - install man pages into package build directories
SYNOPSIS
dh_installman [debhelperoptions] [manpage...]
DESCRIPTION
dh_installman is a debhelper program that handles installing man pages into the correct locations in package build directories. You tell it
what man pages go in your packages, and it figures out where to install them based on the section field in their .TH line. If you have a
properly formatted .TH line, your man page will be installed into the right directory, with the right name (this includes proper handling
of pages with a subsection, like 3perl, which are placed in man3, and given an extension of .3perl). If your .TH line is incorrect or
missing, the program may guess wrong based on the file extension.
It also supports translated man pages, by looking for extensions like .ll.8 and .ll_LL.8, or by use of the --language switch.
If dh_installman seems to install a man page into the wrong section or with the wrong extension, this is because the man page has the wrong
section listed in its .TH line. Edit the man page and correct the section, and dh_installman will follow suit. See man(7) for details about
the .TH section. If dh_installman seems to install a man page into a directory like /usr/share/man/pl/man1/, that is because your program
has a name like foo.pl, and dh_installman assumes that means it is translated into Polish. Use --language=C to avoid this.
After the man page installation step, dh_installman will check to see if any of the man pages in the temporary directories of any of the
packages it is acting on contain .so links. If so, it changes them to symlinks.
Also, dh_installman will use man to guess the character encoding of each manual page and convert it to UTF-8. If the guesswork fails for
some reason, you can override it using an encoding declaration. See manconv(1) for details.
FILES
debian/package.manpages
Lists man pages to be installed.
OPTIONS
-A, --all
Install all files specified by command line parameters in ALL packages acted on.
--language=ll
Use this to specify that the man pages being acted on are written in the specified language.
manpage ...
Install these man pages into the first package acted on. (Or in all packages if -A is specified).
NOTES
An older version of this program, dh_installmanpages(1), is still used by some packages, and so is still included in debhelper. It is,
however, deprecated, due to its counterintuitive and inconsistent interface. Use this program instead.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_INSTALLMAN(1)