10-25-2007
Thanks Yogesh, I will try that out.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, :)
When i press TAB key twice at $ prompt i am getting the following mesage
"Display all 3797 possibilities? (y or n)"
could u pls tell me the meaning of this message.
cheers
RRK (1 Reply)
Discussion started by: ravi raj kumar
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to use the TAB key to list directory (or go to directory or file).
For example,
dir1/dir2/file1
now if i do
$ cd /d and hit TAB it should go to 'dir1'.
Thanks (1 Reply)
Discussion started by: welldone
1 Replies
3. HP-UX
Hi,
I'm newbie with HP-UX. My Unix install with DB Oracle. In linux, when we type directory we don't need to type full. We can use Tab key. In Unix, i cannot use Tab key and i need to write whole directory. Other thing, how use Arrow key in Unix? I mean use command already i type.
Is it... (1 Reply)
Discussion started by: mzainal
1 Replies
4. UNIX for Advanced & Expert Users
I am using MKS Toolkit on windows7, i observed that when i use "tab" key to complete a file/dir name converts into lower case.
Eg:
I am having a directory named "Dir1", note "D" is in caps. In unix if i had tried pressing "d" and "<tab>" resulted in no result. However in mksnt toolkit, it... (1 Reply)
Discussion started by: sarbjit
1 Replies
5. Solaris
Hi,
On Solaris 10, how do I enable the auto tab key? For example, on the Linux, I can type few letters and press the tab key. How do I do the same on Solaris?
Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies
6. Shell Programming and Scripting
Hi all,
I have a little problem with my shell script (reading user input, save user input to variable, invisible characters in the log file :()
printf "1. What's your file path?"
/path/to/my/file
read -e FILE
I have invisible characters in my log file (e.g. <ESC> or ^G) when I'm... (3 Replies)
Discussion started by: splendid
3 Replies
7. Shell Programming and Scripting
Hi ,
I am looking to print the whole string from file2.txt but it is only printing 77 but not the whole matched string from File2.txt Any help is appreciated.
Thanks,
Script
awk '
BEGIN {
OFS="\t"
out = "a.txt"}
NR==FNR && NF {a=$0; next}
function print_65_11() {
if... (11 Replies)
Discussion started by: High-T
11 Replies
8. Shell Programming and Scripting
Hello,
I have a very weird problem with my ssh connection. After I log on the server for a while, when I wanted to change directory by pressing Tab key to save some typing, my connection to the server is lost!
First I checked my bash-completion setting, which I could not find any problem with,... (9 Replies)
Discussion started by: yifangt
9 Replies
9. UNIX for Beginners Questions & Answers
I thought I had this figured out but was wrong so am humbly asking for help.
The task is to add an additional column to FILE 1 based on records in FILE 2.
The key is in COLUMN 1 for FILE 1 and in COLUMN 1 OR COLUMN 2 for FILE 2.
I want to add the third column from FILE 2 to the beginning of... (8 Replies)
Discussion started by: andmal
8 Replies
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.10 30 Jan 2004 script(1)