Sponsored Content
Full Discussion: associated file types
Special Forums Hardware Filesystems, Disks and Memory associated file types Post 52142 by nhk_srd on Friday 11th of June 2004 12:20:45 AM
Old 06-11-2004
In windows afile type .txt is associated with notepad.exe.So when we double click the icon then notepad application opens.
In a similar way I have a file .for( user defined type)and I want to associate that file type to an application myapp.So when I double click this file in a solaris or gui based unix how i should do it.
 

10 More Discussions You Might Find Interesting

1. Linux

File types help needed

Hi all, quick question... Im trying to configure Redhat 9 to dial out to my ISP AOL. I have found some software to do this but at present I can't get net access under Linux for the reason stated. I can however acces the net using my laptop running windows. The question is: I have downloaded... (3 Replies)
Discussion started by: brady9953
3 Replies

2. UNIX for Dummies Questions & Answers

What file types does unix support?

Hello, I've search this site many times and ave not been able to find my answer. So I'm going to post my question....(duh) Ok. I'm wanting to know what file types does unix support. if you can try and list them like this: php, .php or somthing like that. plus don't forget that I said I... (3 Replies)
Discussion started by: dgames
3 Replies

3. UNIX for Dummies Questions & Answers

Details on the ls command and file types

Hey y'all, I need some help with the nitty gritty of the ls command. -First off in the man pages in the -l mode the first character can be "door" can anyone tell me what a door is??? -also in the -l mode the first character can be "fifo"or"pipe" can anyone tell me what a this is??? -What... (4 Replies)
Discussion started by: jacob358
4 Replies

4. Shell Programming and Scripting

Parsing a file that contains 2 types of delimeters

I am trying to write a script and failing miserably. I have a file that looks something like this; 20050924-155819;Backoffice;1037;0;DDT-TCP/IP;;0;Node 20050924-155902;Unknown;1036;0;DDT-TCP/IP;;0;Node 20050924-155922;FrontOffice;1040;5;DDT- The desired result is one file containing only... (4 Replies)
Discussion started by: morgadoa
4 Replies

5. Shell Programming and Scripting

Search two file types within a for loop

I need to search for a csv and a dat file within a for loop then output them to a log table. I can do it individually but I want them together. See below code: check csv count=0 for file in $(ls *.csv) ; do count=`expr $count + 1` ... (4 Replies)
Discussion started by: Pablo_beezo
4 Replies

6. UNIX for Dummies Questions & Answers

Types of File in a directory

Hello, I have several thousand files with different extensions in a directory. Is there a single command to get what the various extensions are with a single command. Thanks for your help! Best, Guss (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

7. Red Hat

Copy certain file types recursively while maintaining file structure on destination?

Hi guys, I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash. I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also... (1 Reply)
Discussion started by: rockf1bull
1 Replies

8. UNIX for Dummies Questions & Answers

How does linux recognize file types?

Hey , I was wondering how does Linux recognize file types if he doesn't use extensions to determine the file type ? It's just a question not for a script or something else. thnx:o (3 Replies)
Discussion started by: Eclecticaa
3 Replies

9. Shell Programming and Scripting

Cp -r except certain file types

the following excludes certain directories successfully cp -r probe/!(dir) /destination I want to exclude certain file types and tried unsuccessfully cp -r probe/!(*.avi) /destination (2 Replies)
Discussion started by: tmf
2 Replies

10. Shell Programming and Scripting

List file types

Hello everyone - I have a task of listing files from a directory together with their type. I tried using ls -l | file -b or different versions of that but that did not work. I will need this to be in a C shell script that will list the file name, size and type from a directory. I can do... (12 Replies)
Discussion started by: adrianvas12
12 Replies
dxdw(8) 						      System Manager's Manual							   dxdw(8)

NAME
dxdw - Runs and repeats command line commands SYNOPSIS
/usr/bin/X11/dxdw [-c initial_command] OPTIONS
Specifies the command to run. The command string must be enclosed in double quotes if it contains any spaces or special characters inter- preted by the shell. Display Window accepts all of the standard X Toolkit command line options, which are documented in the OPTIONS section of the X(1X) refer- ence page. DESCRIPTION
The Display Window application, dxdw, can be used to run commands at specified time intervals. You can use Display Window to: Run a command and display a transcript of the output Repeat a command at regular intervals Print the output to the default printer Save the output to a file You can use Display Window to run common commands without starting up a full xterm. The optional -c option specifies an initial command. The Display Window application presents a transcript containing the current command, its output, and its command-line error messages. You can change the command after the application starts. The transcript area is output-only, so you cannot use Display Window to run commands that require user interaction on the command line. The Display Window application can be invoked from the CDE Application Manager from the following categories: Application Group: System_Admin System Admin Subgroup: Daily Admin When the Display Window main window invoked, the transcript is empty because there is no command running. Enter a command to run in the Command input text field. Because Display Window can be started with a default initial command, several launchpoints have been created in the Application Manager to run specific command-line applications. These applications include I/O Statistics (iostat), Network Statistics (netstat), Virtual Memory Statistics (vmstat), and Who? (who). To start one of the preceding applications within Display Window from the CDE desktop: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Tools application group icon. Double click on the icon for the command you want to run in the Display Window application. The Display Window application invokes the command once. The output from the command is displayed in the transcript area. You can also start Display Window from the command line. To start Display Window from the command line, enter the following: /usr/bin/X11/dxdw [-c initial_command] The -c option specifies the command string to run when Display Window is started. On the command line, the command string must be enclosed in double quotes if it contains any spaces or special characters interpreted by the shell. The command string can be any of the following: A single command A series of commands in a pipeline (|) A series of commands separated by semicolons After Display Window starts, a new command string can be entered in the Command input text field. In the graphical user interface, it is not necessary to enclose the command string in double quotes. To enter a new command string: Clear the Command input text field if a command is already present. Enter a new command string in the Com- mand input text field. Press the Return key in the Command input text field to run the command. EXAMPLES
The following example runs the iostat command one time in the Display Window application. You can use the Repeat Every dialog box to repeat the command at regular intervals. dxdw -c iostat The following examples show how to use Display Window from the command line. dxdw -c df dxdw -c "ps -aef" dxdw -c "ps -aef | grep dxdw" dxdw -c "mount; showmount" You can view the Display Window online help volume without run- ning the application. To open the Display Window help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/Dxdw.sdl FILES
Contains the Display Window application executable Contains the Display Window help volume Contains the default values for the applica- tion's X resources SEE ALSO
Commands: iostat(1), netstat(1), vmstat(1), who(1), X(1X) dxdw(8)
All times are GMT -4. The time now is 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy