Bug 61345 - Hints for a forgiving command line
Summary: Hints for a forgiving command line
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-18 08:26 UTC by Karl O. Pinc
Modified: 2014-03-17 02:26 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-09-23 05:41:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Karl O. Pinc 2002-03-18 08:26:58 UTC
It'd be nice to have any easy way to make
the command line more friendly to interactive
users, rather than
Posix compliant.  The only way I can think
to do it is to comment the bash initialization
files.

Add the following comments to
/etc/skel/.bashrc and /root/.bashrc

# Uncomment the following for a more forgiving
# interactive command line environment.
#alias rm='rm -i'
#alias cp='cp -i --strip-trailing-slashes'
#alias mv='mv -i --strip-trailing-slashes'

And the following to /root/.bash_profile and 
/etc/skel/.bash_profile

# Uncomment the following for a more forgiving
# interactive command line environment.
#export LESS='-i'
#export EDITOR='pico' ;# default is vi, or choose mcedit, emacs, or others
#export VISUAL='pico'

Clutter, yes. But at least somebody who's looking will
have a guide to the possiblities.  Many who know enough
to find and read the files won't know all they might do.

Comment 1 Bernhard Rosenkraenzer 2002-03-19 14:45:50 UTC
The config files live in the setup package, reassigning. 
 
While at it, a commented 
 
alias grep="grep --color=auto" 
 
wouldn't hurt, I think quite a few people will want that. 
 


Comment 2 Karl O. Pinc 2002-03-19 22:26:06 UTC
While you're at it, put

# Modem users will want to uncomment this.
#options timeout:30

in /etc/resolv.conf

Comment 3 Bill Nottingham 2004-09-23 05:41:07 UTC
At this point, I don't think we're adding new aliases.


Note You need to log in before you can comment on or make changes to this bug.