04-07-2012
I have a problem that when the command is too long, it is written on the same line rather than continuing on the following line.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Discussion started by: super_duper_guy
2 Replies
2. Solaris
Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window.
I was looking for similar functionality for terminal windows.
Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies
3. Shell Programming and Scripting
Hi guys
I'm trying to move an empty directory to the $TRASH directory. Say the directory i have is ./hello/hello1/hello2 and i'm in hello2, and i want hello2 moved.
this code:
TRASH=$home/deleted
find "$TRASH/$1" -type d -exec rmdir { } \; 2>/dev/null
mv -f $1 $TRASH 2>/dev/null
works... (2 Replies)
Discussion started by: olimiles
2 Replies
4. Shell Programming and Scripting
Hi all,
This is probably a basic question. I had installed a stand-alone library called szip in my home directory, as I don't have the necessary root permission.
I tried to set an environment for both include and lib files in my .cshrc script as
setenv /home/szip/lib
setenv... (3 Replies)
Discussion started by: alamcheril
3 Replies
5. OS X (Apple)
I want to press "apple + T" to open a new terminal tab. This terminal tab must be in the same directory as the current one. Anyone knows how to do that?
Thanks a lot! (1 Reply)
Discussion started by: andrewust
1 Replies
6. Shell Programming and Scripting
I would like to have the directory I am currently in being shown in the title when I open a terminal window in Fedora (selecting "Open in terminal" or using the Terminal from the panel).
Any way that I can do this?
Basically whenever I do "cd", the title should update
I have created this... (1 Reply)
Discussion started by: kristinu
1 Replies
7. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
8. Shell Programming and Scripting
Hi,
How to change the value after the symbol '@' ?
$
i.e. @mac1
I want to change it to @prod2
Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies
9. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
10. UNIX for Dummies Questions & Answers
How to get the current directory Path in your prompt?
i am getting a $ mark only in my prompt?
Please help me with this (3 Replies)
Discussion started by: Abhishek0683
3 Replies
TC(1) General Commands Manual TC(1)
NAME
tc - photoypesetter simulator
SYNOPSIS
tc [ -t ] [ -sN ] [ -pL ] [ file ]
DESCRIPTION
Tc interprets its input (standard input default) as device codes for a Graphic Systems phototypesetter (cat). The standard output of tc is
intended for a Tektronix 4015 (a 4014 terminal with ASCII and APL character sets). The sixteen typesetter sizes are mapped into the 4014's
four sizes; the entire TROFF character set is drawn using the 4014's character generator, using overstruck combinations where necessary.
Typical usage:
troff -t file | tc
At the end of each page tc waits for a newline (empty line) from the keyboard before continuing on to the next page. In this wait state,
the command e will suppress the screen erase before the next page; sN will cause the next N pages to be skipped; and !line will send line
to the shell.
The command line options are:
-t Don't wait between pages; for directing output into a file.
-sN Skip the first N pages.
-pL Set page length to L. L may include the scale factors p (points), i (inches), c (centimeters), and P (picas); default is picas.
'-l w' Multiply the default aspect ratio, 1.5, of a displayed page by l/w.
SEE ALSO
troff(1), plot(1G)
BUGS
Font distinctions are lost.
tc's character set is limited to ASCII in just one size.
The aspect ratio option is unbelievable.
7th Edition April 29, 1985 TC(1)