Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Question is redundant but please advice Post 302137577 by porter on Tuesday 25th of September 2007 10:01:03 PM
Old 09-25-2007
Quote:
Originally Posted by Legend986
So if I want to implement a hypothetical uwhich command that immitates the original which command, would that come under shell programming?
or pascal, or C or C++ or Java or Perl or whatever language you chose to write your "uwhich" program in.

Quote:
Originally Posted by Legend986
And finally, are there any unix simulators where i can do all this stuff or do you recommend me to install unix altogether?
Why simulate when you can have the real deal?

What are you intending to simulate on? And what is your definition of UNIX?

If I am to guess that you are using Microsoft Windows, then you could do worse than try Cygwin or even Microsoft's very own "Services For UNIX".

I have also had great success running UNIX Version 7 on a PDP-11 emulator running on a Linux machine if that is what you mean.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

to check redundant file names

hi i have a very simple problem iam moving files from download to archive folder but before such a transfer want to make sure no two file of same are present in my download directory how to check for redundant file names i thought of using WC but it counts inside the file (lines and... (5 Replies)
Discussion started by: maverick
5 Replies

2. Filesystems, Disks and Memory

ZFS Raidz not redundant?

My ZFS on debian media server just died in a power outage, the zpool status shows this: NAME STATE READ WRITE CKSUM tank UNAVAIL 0 0 0 insufficient replicas raidz1 UNAVAIL 0 0 0 corrupted data sda ONLINE 0 0 0 sdb ONLINE 0 0 0 sdf ONLINE 0 0 0 sdh ONLINE 0 0 0 sdi ONLINE 0 0 0 sdk ONLINE 0... (2 Replies)
Discussion started by: mastersarg
2 Replies

3. Shell Programming and Scripting

Eliminate redundant data pairs

Hello Experts: I appeal to you to see if you can help me with a small problem. I have a .log file where there is data in two columns (separated by a space). The file is thus: 0.0 3 0.0 6 0.0 6 0.0 6 0.0 7 0.0 7 0.0 7 0.0 7 0.0 11 0.0 11 0.0 11 0.0 11 0.0 11 0.1 17 (6 Replies)
Discussion started by: Flamex
6 Replies

4. UNIX for Dummies Questions & Answers

Deleting all rows that contain redundant information

My input file looks like this: 1 rs4040617 0.08356 1 rs4040617 0.06799 1 rs2977612 0.07948 1 rs2977612 0.07882 1 rs2977612 0.07783 1 rs2977612 0.08142 1 rs2977612 0.07716 1 rs2977612 0.08356 1 rs2977612 0.06799 1 rs2980300 0.08356 1 rs2980300 0.08142 I want to delete all rows that... (1 Reply)
Discussion started by: evelibertine
1 Replies

5. Shell Programming and Scripting

Find redundant text in a file

I want to find which pattern or strings have occurred more than one time so that I can remove unnecessary redundancy. For example: If I have the sentence: A quick brown brown fox jumps jumps jumps over the lazy dog in a file, then I want to know that 1. the word "brown" has... (7 Replies)
Discussion started by: hbar
7 Replies

6. Shell Programming and Scripting

Edit a script in 2 redundant servers at once

Hi All, We have a redundant server system and every time we need any change in any particular script then we need to do it individually in each of the server. I want to create a shell script such that if i make changes in primary server and run the script then it should update the changes to ... (0 Replies)
Discussion started by: crimemastergogo
0 Replies

7. Shell Programming and Scripting

Printing lines with non-redundant itens in the output

Hi all, I'm trying to select lines of a file and at the end do not have redundant itens: Input A_B K_A C_T A_O U_B P_C D_F Z_G W_U Output A_B C_T D_F Z_G W_U (2 Replies)
Discussion started by: valente
2 Replies

8. Solaris

Redundant IP interfaces for ISCSI boot?

I'm building a Solaris 11 OVM environment and want to configure everything to boot from our high performance SAN (no local disks). I've got everything working and the system boots nicely via an OBP configuration however I'd like to configure redundant IP interfaces within Solaris, what I'm... (4 Replies)
Discussion started by: ISCSIboot
4 Replies

9. AIX

Rebooting redundant VIOs and mirroring of PVs they serve to client LPARs

need to confirm: we have a system with two VIOs each serving a partition on a local disk to a client LPAR. That client LPAR has them both in a VG which is mirrored (exact). So each disk has a copy of the client LV that the client VG supports. This is the setup that was bequeathed to us by the... (3 Replies)
Discussion started by: maraixadm
3 Replies

10. Shell Programming and Scripting

Reduce redundant file

Dear All, I have to reduce the redundancy of a file that is like this: a b 0 a c 0 a f 1 b a 1 b a 0 b c 1 d f 0 g h 1 f d 1 Basically, this file describe a network with relative nodes and edges. The nodes are the different letters and the edges are represented by the numbers (in... (7 Replies)
Discussion started by: giuliangiuseppe
7 Replies
ppmtopgm(1)                                                   General Commands Manual                                                  ppmtopgm(1)

NAME
ppmtopgm - convert a portable pixmap into a portable graymap SYNOPSIS
ppmtopgm [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces a portable graymap as output. The output is a "black and white" rendering of the original image, as in a black and white photograph. The quantization formula used is .299 r + .587 g + .114 b. Note that although there is a pgmtoppm program, it is not necessary for simple conversions from pgm to ppm , because any ppm program can read pgm (and pbm ) files automatically. pgmtoppm is for colorizing a pgm file. Also, see ppmtorgb3 for a different way of converting color to gray. And ppmdist generates a grayscale image from a color image, but in a way that makes it easy to differentiate the original colors, not necessarily a way that looks like a black and white photograph. QUOTE
Cold-hearted orb that rules the night Removes the colors from our sight Red is gray, and yellow white But we decide which is right And which is a quantization error. SEE ALSO
pgmtoppm(1),ppmtorgb3(1),rgb3toppm(1),ppmdist(1),ppm(5),pgm(5) AUTHOR
Copyright (C) 1989 by Jef Poskanzer. 10 April 2000 ppmtopgm(1)
All times are GMT -4. The time now is 05:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy