Sponsored Content
Top Forums Shell Programming and Scripting To view .gz files without decompressing it Post 302234608 by Annihilannic on Wednesday 10th of September 2008 02:11:20 AM
Old 09-10-2008
Or gunzip -c.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

view log files

i have this unix version "unix v/386" and i want to view the log files how i can do it? regards (5 Replies)
Discussion started by: sak900354
5 Replies

2. Shell Programming and Scripting

View files in columns

Can some on say how in simplest way to implement the following: I have two files: 1) some some some 2) another another another I need to get third file: 3) some another some another some another (1 Reply)
Discussion started by: mirusnet
1 Replies

3. UNIX for Dummies Questions & Answers

To view compressed files

Hello All I compressed a file hello by using compress command compress hello ( enter ) i got the file as hello.z 1. My question is how can i see the file hello.z 2. How can i uncompress it back to change it to filename hello thanks (4 Replies)
Discussion started by: supercops
4 Replies

4. OS X (Apple)

Decompressing Tar Archives (Finally!)

If you've come across this problem with unzipping/decompressing zips, you might find this helpful: I was having a little trouble with unzipping (decompressing) tarred archives under OS 10.5 until today. My first attempt was to just simply double-click on the zip file (i.e., example.tar.gz) and... (2 Replies)
Discussion started by: unimachead
2 Replies

5. Solaris

read a compress file without decompressing it

If we have a zip file and we don't have enough space on the disk to unzip it but we want to be able to just read the file like if we can use cat without decompressing it. Is there a way we can do that? Like if we want Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies

6. Red Hat

How to view all files on DAT tape

I'm using tar and so far so good, but how can I view ALL files without having to fast forward and rewind the tape? Let's say I append 100 files onto the tape. Having to fast forward 100 times until I find the file I want is kinda tedious. (3 Replies)
Discussion started by: sdotsen
3 Replies

7. Shell Programming and Scripting

Command to view files in Directory

Hi, Can you help me in providing me a command to view all files present in a directory. Thanks a lot. -Vamsi (1 Reply)
Discussion started by: VamsiVasili
1 Replies

8. Shell Programming and Scripting

Command to view files in Directory

Hi, Can u provide me the command to view files in a directory.Urgent Pls. -Vamsi (4 Replies)
Discussion started by: VamsiVasili
4 Replies

9. UNIX for Dummies Questions & Answers

Find Multiple Strings from a list of *.gz files withour decompressing...

Hello Team, There is this situation where there are around 20 *.gz files and i want to search multiple words from all those files. Example as below : filea.gz fileb.gz filec.gz now i want to search words "hi" and "hello" from all these 3 files without... (4 Replies)
Discussion started by: varun87
4 Replies

10. Fedora

Cannot view the files on the smartphone anymore

My current Fedora version is 27. Desktop environment is LXDE. I am trying to view files sitting on my smartphone (Sony Xperia XA ultra) but it doesn't work anymore. This used to work before. I cannot view image and mp3 files but text files and pdf files work fine. When I move the files to the local... (3 Replies)
Discussion started by: milhan
3 Replies
MDM.SCREEN(1)							   User Commands						     MDM.SCREEN(1)

NAME
mdm.screen - run a command under mdm-master SYNOPSIS
mdm.screen [-c iospec] [-n slaves] command DESCRIPTION
mdm.screen runs command under mdm-master so that mdm-run commands in command can run in parallel. This program is a part of the Middleman System (mdm). OPTIONS
The mdm.screen command has two optional options. -c iospec The iospec file (see below). -n slaves The number of mdm-slave process to start (default 6). THE IOSPEC FILE
mdm-master uses the iospec file to decide whether two commands interfere with each other, and it only runs two commands at the same time if they do not interfere. Each line of the iospec file specifies the I/O behavior of a program, unless the line starts with a '#' character, in which case the line is treated as comments and ignored. The format is as follows: program spec spec ... program names the program whose behavior you are specifying. For each spec element, the first character indicates usage, and the remaining characters indicate resource. A resource that starts with a '-' character represents the argument of the corresponding program option. A resource that is an empty string represents a program argument. A resource that is not empty and does not start with a '-' character represents the resource string itself. A usage is typically an upper-case character. If two commands access the same resource with different usage, mdm-master will not run these two commands at the same time. Furthermore, if a command access a resource with 'W' usage, mdm-master will not run it with any command that access the same resource in any way (including 'W'). There is a special case: if usage is '0' and resource starts with a '-' charac- ter, it means that the resource program option does not take any arguments. All programs has an implicit spec 'Rglobal', so if you mark a program as 'Wglobal', it will not run while any other command is running. Here is an example to help clarify matters. Suppose we have the following iospec file: cc W-o 0-c R rm W Then these two commands can run at the same time: cc -o pa pa.o lib.o cc -o pb pb.o lib.o These two commands cannot run at the same time: cc -o pa.o -c pa.c cc -o pa pa.o lib.o And these two commands also cannot run at the same time: cc -o pa pa.o lib.o rm pa EXIT STATUS
The exit status of mdm.screen is 0. EXAMPLE
Here is what you do to decompress all files with .gz extension in the current directory tree. mdm.screen find . -iname '*.gz' -exec mdm-run gunzip {} ; Since we run find under mdm.screen and invoking gunzip under mdm-run, we specify that we wish to run the gunzip commands in parallel. SEE ALSO
mdm-run(1), mdm-sync(1), ncpus(1) Linux 2009-03-06 MDM.SCREEN(1)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy