05-19-2006
The switches are specific to each program - that's why we need online manual pages. Some are long "ls --color=tty", some are short "ls -l" and some are even shorter "dd if=/dev/zero". But doesn't mean the same thing to different programs, unless the author of the program has specifically done so.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone. I'm trying to install Frontpage extensions capacity on my web server and getting this error:
./fp_install.sh: line 59: 6763 Segmentation fault /usr/local/frontpage/version${VERSION}/bin/fpsrvadm.exe -o install -p $port $web $config -u $admin $server $chown -m ""
ERROR: /... (6 Replies)
Discussion started by: alwayslearningunix
6 Replies
2. Shell Programming and Scripting
Hello people, I was wondering if anyone could help me?
I want to produce a shell script that changes the filename extension on all matching file.
E.G. change all files called ‘something.rtf' to ‘something.doc' by giving the command:
Changex rtf doc
*where ‘Changex' is the name of... (2 Replies)
Discussion started by: thurrock
2 Replies
3. UNIX for Dummies Questions & Answers
What do I use to open a file with a .gz extension? I'm guessing I need some kind of "unzipping" tool. (1 Reply)
Discussion started by: flopper
1 Replies
4. UNIX for Dummies Questions & Answers
Hiya all,
(Ops sorry - wrong area in 1st post!)
I'm getting the error:
Cannot find Apache apxs at /usr/sbin/apxs
ERROR: Unable to install mod_frontpage dso
(Full error below)
(I've tried downloading from both www.rtr.com and www.microsoft... - same error)
Please advise!
... (0 Replies)
Discussion started by: marty 600
0 Replies
5. Shell Programming and Scripting
Friends
I want to automat sending a letter to different persons whose directories are named as 001, 002, 003, 004.
To push the same letter to all these directories, I need to name the letter as letter.001, letter.002 like that.
Is there any method whereby I get the extension of this letter... (2 Replies)
Discussion started by: chssastry
2 Replies
6. Shell Programming and Scripting
Dear Friends,
I want to move all the files to temp folder except files having following extensions which are case sensitive.
.ttM
.Hmt
.dMt
Request you to guide me to do the same
Thank you in advance
Anushree (3 Replies)
Discussion started by: anushree.a
3 Replies
7. Shell Programming and Scripting
hi guys
i have this script
Doc_=/home/$USER/Documentos/*.odt || .doc
but in the code above, only .odt files are selected, all .doc none.
What is the error in the code?
thanks (13 Replies)
Discussion started by: felito
13 Replies
8. Shell Programming and Scripting
I am trying to store file with certain file extensions to list but having some problems.
Here is a part of the code
set fryLst = ""
set fxtLst = ""
foreach f ($AfullNameLst)
set fname = $f:r
set fext = $f:e
if ("$fext" == ".ry") set fryLst = "$fryLst $f"
if ("$fext" == ".xt")... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
Hello everyone. :) I need to write a script and I'm newbie in it.
Sorry for my English, I've been learning that amazing language for one year.
Task:
Write script called 'myls', "wrapper" program call ls in such a way that you could ask it the name of the file without extension, for example:... (1 Reply)
Discussion started by: Sweetheart
1 Replies
10. Shell Programming and Scripting
Hello all!
I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex
I am on tcsh
% mv foo.* bar_!#:1
is not working.
Thank you for your help
marek (11 Replies)
Discussion started by: marek
11 Replies
LEARN ABOUT DEBIAN
displays
DISPLAYS(5) File Formats Manual DISPLAYS(5)
NAME
displays - Display Configuration File
DESCRIPTION
The interactive graphics programs Caesar, Magic, and Gremlin use two separate terminals: a text terminal from which commands are issued,
and a color graphics terminal on which graphical output is displayed. These programs use a displays file to associate their text terminal
with its corresponding display device.
The displays file is an ASCII text file with one line for each text terminal/graphics terminal pair. Each line contains 4 items separated
by spaces: the name of the port attached to a text terminal, the name of the port attached to the associated graphics terminal, the phos-
phor type of the graphics terminal's monitor, and the type of graphics terminal.
An applications program may use the phosphor type to select a color map tuned to the monitor's characteristics. Only the std phosphor type
is supported at UC Berkeley.
The graphics terminal type specifies the device driver a program should use when communicating with its graphics terminal. Magic supports
types UCB512, AED1024, and SUN120. Other programs may recognize different display types. See the manual entry for your specific applica-
tion for more information.
A sample displays file is:
/dev/ttyi1 /dev/ttyi0 std UCB512
/dev/ttyj0 /dev/ttyj1 std UCB512
/dev/ttyjf /dev/ttyhf std UCB512
/dev/ttyhb /dev/ttyhc std UCB512
/dev/ttyhc /dev/ttyhb std UCB512 (R)
In this example, /dev/ttyi1 connects to a text terminal. An associated UCB512 graphics terminal with standard phosphor is connected to
/dev/ttyi0.
FILES
Magic uses the displays file ~cad/lib/displays. Gremlin looks in /usr/local/displays.
SEE ALSO
magic(1)
3rd Berkeley Distribution 2/19/85 DISPLAYS(5)