Thanks a lot for your suggestion.
Sure I will do it for next time before I post any thread ^^
Do you have suggestion to use the linux shortcutkey to search specific file from a list of directory?
Thanks a lot for your advise
Quote:
Originally Posted by matrixmadhan
Welcome to the forums !
As a new user, we recommend you to make use of the search facility of the forum as the answer you are looking for there might be there already and as a bonus point you can get to see / know other similar type of questions, answers posted already.
---------- Post updated at 01:10 AM ---------- Previous update was at 01:08 AM ----------
Quote:
Originally Posted by Vi-Curious
If you know at least part of the path/directory information, you can substitute that for the "/".
thanks for your suggestion.
Do you have any other faster way to search for the specific file from a list of directory?
Because the find / takes a long time to search for the specific file.
Hi,
I am trying to find the content of file using grep and find command and list only the file names
but i am getting entire file list of files in the directory
find . -exec grep "test" {} \; -ls
Can anyone of you correct this (2 Replies)
I have to search a file in a prticular directory. filename will be passed through command line. The directory may contain subdirectory.
i.e.
suppose directory in /u03/appl (it can hard coded in script). This directory may contain subdirectory.
$ scriptname.sh filename
output should be... (2 Replies)
Hi Guys,
I want to search the content of all the files (of a particular type like .txt)
in a directory for a specific string pattern. Can anyone help me?
Thanks (7 Replies)
I am new to Unix scripting and would like some help. Here is my scenario:
1) I have a text files that contains two fields: file name and retention period in months:
File1 36
file2 24
File3 12
2) The directory I am searching contains sequential files.
3) I need to be able to take the file name... (10 Replies)
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Hi,
Is there any way to use find command and search only specific subdirectories in a directory.
for example
/home/d1
/home/d2
/home/d3
i want to search in the following directories
/home
/home/d1
/home/d2
i do not want the find command to search the /home/d3 directory. (6 Replies)
Ive been a vocal of FIND command even before. Command below doesnt really give me the file that is older than two weeks.. Is there a script that will list me the log files that i want like for this date December 10, 2014, it shud list me the date between November 26, 2014 and below.
When i run... (6 Replies)
Discussion started by: kenshinhimura
6 Replies
LEARN ABOUT ULTRIX
trans
trans(1int)trans(1int)Name
trans - translation tool for use with source message catalogs
Syntax
trans [ -c ] [ -o name ] file.msf
Description
The command assists in the translation of source message catalogs. The command reads input from file.msf and writes its output to either a
file named or a file you name on the command line. The command displays file.msf in a multiple window screen that lets you simultaneously
see the original message, the translated text you enter, and any messages from the command. This multiple window screen is easier to use
for translating messages than a single window screen.
The top window in the multiple window screen displays the text in the message source file file.msf. The editor displays the current mes-
sage in reverse video.
In the center window, displays a prompt that asks you to enter a translated message. You use a control key editor to move the cursor and
delete text in the center window. The control key sequences are defined as follows:
------------------------------------------
Key Sequence Meaning
------------------------------------------
CTRL/k Display control key help
CTRL/h Back space
CTRL/l Forward space
CTRL/w Back word
CTRL/f Forward word
CTRL/e Move to end of input
CTRL/b Move to beginning of input
CTRL/n Next line
CTRL/p Previous line
CTRL/u Delete input
CTRL/i Insert mode (default)
CTRL/r Replace mode
DEL Delete previous character
------------------------------------------
If you need to span more than one line with the translated text, type a backslash () and press the RETURN key to enable line continuation.
After you finish entering the translated text, press the RETURN key to signal that you have finished translating that message.
The bottom window displays any messages generated by If an error occurs, prompts you to re-enter the entire line, including the message
label or number.
Options-c Display comment lines beginning with a dollar sign ($) for translation, in addition to messages.
-o Call the output file name. The default is output file name is
Restrictions
Your terminal must be 80 columns by 24 lines for to display its three-window screen.
You cannot interrupt a session and restart it at the point you stopped. You must complete the all the changes to a file before exiting a
file.
See Alsointro(3int), extract(1int), gencat(1int), strextract(1int), strmerge(1int)
Guide to Developing International Software
trans(1int)