Sponsored Content
Full Discussion: Shell Problem.
Top Forums UNIX for Dummies Questions & Answers Shell Problem. Post 27232 by LivinFree on Wednesday 28th of August 2002 10:55:40 PM
Old 08-28-2002
Well, by "Linux 7.2", I assume you mean Redhat 7.2...

Redhat installs several aliases with bash by default. One of them is ll. Some others include:
l.
which,
and actually, the "ls" command itself.
(It's aliased to "ls --color=tty" to give you the perty colors).

As far as the dot files, I don't believe Redhat ever installs them in /etc/skel, which is where the "master" copies lie, and are copied over when a new user is created. Looks like you'll have to make your own...


BTW - why csh?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

shell problem

&& set -x && echo "enter tablespace_end_backup" >&2 Can you tell me what's mean above? thanx (1 Reply)
Discussion started by: Lee
1 Replies

2. UNIX for Advanced & Expert Users

Shell Problem

Dear Members; I changed ,by mistake ,the root shell in /etc/passwd and logged out. Thereafter, I can no more have a prompt when trynig to log in as root. How to solve this pb ? Regards :confused: (8 Replies)
Discussion started by: oss
8 Replies

3. UNIX for Dummies Questions & Answers

shell problem

What are the different type of shell available in UNIX and how to change the shell? just this 2 question pls help mi (4 Replies)
Discussion started by: yeah016
4 Replies

4. Shell Programming and Scripting

Problem in shell

hi, can any one tell a solution for the following : I want to append 10 spaces and a string say "ok" to 12 digit number which is stored in a varialbe & display using shell script. (1 Reply)
Discussion started by: Sandeep Kale
1 Replies

5. Shell Programming and Scripting

Shell Problem

Hi all, until yesturday grep command was running in KSH .... I was executing this command ls -l | grep *.sh But today its not working at all ... Should I check any of the setting ... I am not getting whats the problem ... I have relogged to unix box but it didn't... (14 Replies)
Discussion started by: dhananjayk
14 Replies

6. Shell Programming and Scripting

problem with if in shell

Hi, My sheel script has below statement: if; then When I run iam getting the below error: -bash: syntax error near unexpected token `then' What is wrong with that statement: Plz help me. (2 Replies)
Discussion started by: pradeep_script
2 Replies

7. Shell Programming and Scripting

shell problem

Hello! Can you please help me on a lab at school: I have to to write a shell program which reads all .C files from the current directory and prints for each file how many '#define' directives it has and for each macro defined how many times is it used in that file. Can you suggest how can i... (1 Reply)
Discussion started by: dark_knight
1 Replies

8. Shell Programming and Scripting

Problem in shell script

hi...i create a script which reads data from file and compare that the data which is entered by me through keyboard...i can easily read first two contents of file..i am facing the problem to read other contents.. structure of my file is username:password:username1:password1.......and so on ... (1 Reply)
Discussion started by: shubhig15
1 Replies

9. Shell Programming and Scripting

shell problem

problem: I give the source of a c program.. is required to indicate how many times is called each function defined in the program and line number there is a call. let's say i have lab2.c: float dist(int *a,int *b,int n){ int i=0; double d=0; for (i=1;i<=n;i++){ d+=pow((a-b),2); }... (4 Replies)
Discussion started by: sherpeledenis
4 Replies

10. UNIX for Dummies Questions & Answers

shell problem

this picture for print You didn't do the question. Go back. if $1 = 0 but until now it give me this message what i should be do ? http://img717.imageshack.us/img717/6137/eeevb.jpg (2 Replies)
Discussion started by: NeeZaaR
2 Replies
GRD2CPT(l)																GRD2CPT(l)

NAME
grd2cpt - Read a grdfile and make a color palette file SYNOPSIS
grd2cpt grdfile [ -Ccptmaster ] [ -I ] [ -Lminlimit/maxlimit ] [ -Szstart/zstop/zinc ] [ -V ] [ -Z ] DESCRIPTION
grd2cpt reads a grdfile and writes a color palette (cpt) file to standard output. The cpt file is based on an existing master cptfile of your choice, and the mapping from data value to colors is through the data's cumulative distribution function (CDF), so that the colors are' histogram equalized. Thus if the resulting cpt file is used with the grdfile and grdimage with a linear projection, the colors will be uniformly distributed in area on the plot. Let z be the data values in the grdfile. Define CDF(Z) = (# of z < Z) / (# of z in grdfile). (NaNs are ignored). These z-values are then normalized to the master cptfile and colors are sampled at the desired intervals. grdfile The 2-D binary grdfile used to derive the color palette table. OPTIONS
-C Selects the master color table to use in the interpolation. Choose among the built-in tables (type grd2cpt to see the list) or give the name of an existing cptfile [Default gives a rainbow cpt file]. -I Reverses the sense of color progression in the master cptfile. -L Limit range of cptfile to minlimit/maxlimit, and don't count data' outside range when estimating CDF(Z). [Default uses min and max of data.] -S Set steps in cpt file. Calculate entries in cptfile from zstart to zstop in steps of (zinc). [Default chooses arbitrary values by a crazy scheme.] -V Verbose operation. This will write CDF(Z) estimates to stderr. [Default is silent.] -Z Will create a continuous color palette. [Default is discontinuous, i.e., constant color intervals] EXAMPLES
Sometimes you don't want to make a cpt file (yet) but would find it helpful' to know that 90% of your data lie between z1 and z2, something you cannot learn from grdinfo. So you can do this to see some points on the CDF(Z) curve (use -V option to see more): grd2cpt mydata.grd -V > /dev/null To make a cpt file with entries from 0 to 200 in steps of 20, and ignore data below zero in computing CDF(Z), and use the built-in master cptfile relief, try grd2cpt mydata.grd -Crelief -L0/10000 -S0/200/20 > mydata.cpt SEE ALSO
gmtdefaults(1gmt), gmt(1gmt), grdhisteq(1gmt), grdinfo(1gmt), makecpt(1gmt) 1 Jan 2004 GRD2CPT(l)
All times are GMT -4. The time now is 03:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy