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
&& 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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
makecpt
MAKECPT(l) MAKECPT(l)
NAME
makecpt - Make GMT color palette tables
SYNOPSIS
makecpt [ -Ctable ] [ -I ] [ -Tz0/z1/dz | -Tztable] [ -V ] [ -Z ]
DESCRIPTION
makecpt is a utility that will help you make color palette tables (cpt files). You define an equidistant set of contour intervals or pass
your own z-table, and create a new cpt file based on an existing master cpt file. The resulting cpt file can be reversed relative to the
master cpt, and can be made continuous or discrete.
OPTIONS
-C Selects the master color table table to use in the interpolation. Choose among the built-in tables (type makecpt 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.
-T Defines the range of the new cptfile by giving the lowest and highest z-value and the interval. Alternatively, give the name of a
ASCII file that has one z-value per record. If not given, the existing range in the master cptfile will be used intact.
-V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"].
-Z Creates a continuous cpt file [Default is discontinuous, i.e. constant colors for each interval].
EXAMPLES
To make a cpt file with z-values from -200 to 200, with discrete color changes every 25, and using a polar blue-white-red colortable, try
makecpt -Cpolar -T-200/200/25 > colors.cpt
To make an equidistant cpt file from z = -2 to 6, in steps of 1, using continuous default rainbow colors, try
makecpt -T-2/6/1 -Z > rainbow.cpt
To make a GEBCO look-alike cpt file for bathymetry, try
makecpt -Cgebco > my_gebco.cpt
BUGS
Since makecpt will also interpolate from any existing .cpt file you may have in your directory, you cannot use one of the listed cpt names
as an output filename; hence the my_gebco.cpt in the example.
SEE ALSO
gmt(1gmt), grd2cpt(1gmt)
1 Jan 2004 MAKECPT(l)