Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Customization within UNIX/AIX Post 302460384 by Corona688 on Wednesday 6th of October 2010 04:22:18 PM
Old 10-06-2010
Quote:
Originally Posted by Koopa_Troopa
Hey guys I am sorry if this has been posted before but I have not been able to locate.

How can I set up after I cd to a directory it displays above my command line after I enter into it?
Depends on your shell. You might try
Code:
function ccd
{
        ls "$1" && cd "$1"
}

alias cd=ccd

Type it into your terminal and see if it works. Enter it in your .profile to make it do that on login.
Quote:
Also to get to the previous command I cannot press up on my keyboard it just moves up. How can I change this so I can just press up and goto the previous command?
Again, depends on your shell.

Last edited by Corona688; 10-06-2010 at 05:28 PM..
 

5 More Discussions You Might Find Interesting

1. Linux

kickstart centOS 5.1 ---customization question

I am doing a centos 5.1 kickstart install for a school project and was wondering if there is a way to install a custom desktop background image.(upon 1st time logging into system) (instead of showing the default centos desktop background, it would show a custom image) Would i have to create a... (1 Reply)
Discussion started by: nuGz
1 Replies

2. Programming

Java File Chooser customization

I am trying to add some other things onto the standard file chooser. I would like to have something like this at the bottom of the file chooser (underneath the Select and Cancel buttons). I will try to make this as legible as possible: File Name: File Type: ... (1 Reply)
Discussion started by: ajgwin
1 Replies

3. Ubuntu

Grub customization

I installed 9.10 this weekend. It's a fresh install. It installed GRUB, which works great, but with the 9.04 install I could customize the Grub menu (color, default OS and timeout) by editing /boot/grub/menu.lst. That file is no where to be found on this install. I've searched and all I find is... (4 Replies)
Discussion started by: dday
4 Replies

4. Red Hat

Installing cairo-dock or any other desktop customization software

Dear all, I want to install cairo-dock or any other substitute desktop customization software in my RedHat Linux 5.3 machine. I think cairo-dock is for fedora linux,i need RedHat compatible. Can any one provide me with the appropriate link and installation steps for the same. ... (0 Replies)
Discussion started by: monojcool
0 Replies

5. UNIX and Linux Applications

Issue launching Websphere Customization ToolBox

I'm trying to configure IBM customization Tool Box but i'm facing the following issue don't know where i'm going wrong. CentOS Linux release 7.2.1511 (Core) 3.10.0-327.18.2.el7.x86_64 run-level 3 xming is working Unhandled exception Type=Segmentation error vmState=0xd4c6046e... (0 Replies)
Discussion started by: James0806
0 Replies
CHSH(1)                                                            User Commands                                                           CHSH(1)

NAME
chsh - change login shell SYNOPSIS
chsh [options] [LOGIN] DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change the login shell for her own account; the superuser may change the login shell for any account. OPTIONS
The options which apply to the chsh command are: -h, --help Display help message and exit. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -s, --shell SHELL The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell. If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks. NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser, and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value. FILES
/etc/passwd User account information. /etc/shells List of valid login shells. /etc/login.defs Shadow password suite configuration. SEE ALSO
chfn(1), login.defs(5), passwd(5). shadow-utils 4.5 01/25/2018 CHSH(1)
All times are GMT -4. The time now is 11:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy