Customization within UNIX/AIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Customization within UNIX/AIX
# 1  
Old 10-06-2010
Customization within UNIX/AIX

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?

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?

Thanks in advance.
# 2  
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..
# 3  
Old 10-06-2010
/usr/bin/ksh


I got this after typing in echo $SHELL
# 4  
Old 10-06-2010
Try ksh --version for a more specific result, there's lots of different implementations of ksh.
# 5  
Old 10-06-2010
--version: 0403-010
# 6  
Old 10-06-2010
That's an error code, not a version. Try man ksh and see if that tells you what version you have.
# 7  
Old 10-06-2010
that doesnt work either
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. 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

2. 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

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. 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

5. 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
Login or Register to Ask a Question