Please support our Getting Started and Choosing a Distro advertiser: Lunarpages Linux Web Hosting
Views: 25269 | Replies: 18
![]() |
•
•
Join Date: Jul 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hello every one. I'm very new in Linux. I have worked on AIX and for what I have seen, the commands and structure are very much close.
The question is:
When I logon to Linux box, I have Korn Shell as the default shell. I know you can switch to other shells (born etc).
So in my pervious environment (aix) my .profile I have the following statements:
~~~~~
VISUAL=vi
#Setup for FULIST
FUPATH=/usr/local
export FUPATH
#Setup for VE
VEPATH=/usr/local
export VEPATH
VVTERM=aixterm
#Below is magic code to enable command line editing. Up/down arrows retrieve previous commands. Left/right move in command line, backupspace to delete.
#
set -o emacs
set -o ignoreeof
alias __A='^P'
alias __B='^N'
alias __C='^F'
alias __D='^B'
what can I do for linux to get this kind of setup
The question is:
When I logon to Linux box, I have Korn Shell as the default shell. I know you can switch to other shells (born etc).
So in my pervious environment (aix) my .profile I have the following statements:
~~~~~
VISUAL=vi
#Setup for FULIST
FUPATH=/usr/local
export FUPATH
#Setup for VE
VEPATH=/usr/local
export VEPATH
VVTERM=aixterm
#Below is magic code to enable command line editing. Up/down arrows retrieve previous commands. Left/right move in command line, backupspace to delete.
#
set -o emacs
set -o ignoreeof
alias __A='^P'
alias __B='^N'
alias __C='^F'
alias __D='^B'
what can I do for linux to get this kind of setup
•
•
Join Date: Aug 2003
Location: Jersey - You gotta problem wit dat?
Posts: 334
Reputation:
Rep Power: 8
Solved Threads: 5
cat /etc/fstab
will show the list of partitions/slices that are mountable on the system, along with their filesystem.
Example (from a FreeBSD system):
The same command works on Linux, Solaris, HP-UX (I think) and the BSDs. If you need to check NFS stuff, it varies by OS.
will show the list of partitions/slices that are mountable on the system, along with their filesystem.
Example (from a FreeBSD system):
cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /tmp ufs rw 2 2 /dev/ad0s1g /usr ufs rw 2 2 /dev/ad0s1e /var ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0
The same command works on Linux, Solaris, HP-UX (I think) and the BSDs. If you need to check NFS stuff, it varies by OS.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
•
•
Join Date: Aug 2005
Location: Bangalore,India
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
Join Date: Apr 2004
Location: Virginia Beach
Posts: 113
Reputation:
Rep Power: 5
Solved Threads: 2
•
•
•
•
Originally Posted by mustang68
VISUAL=vi
FUPATH=/usr/local
export FUPATH
#Setup for VE
VEPATH=/usr/local
export VEPATH
VVTERM=aixterm
#Below is magic code to enable command line editing. Up/down arrows retrieve previous commands. Left/right move in command line, backupspace to delete.
#
set -o emacs
set -o ignoreeof
alias __A='^P'
alias __B='^N'
alias __C='^F'
alias __D='^B'
This should work in linux, since korn is what does the work in this instance basically if ksh can interprete this in AIX it should work in linux, unless you are using pdksh (public domain korn shell) which isn't entirely compatible with ksh93 (but should be 100% compatible with ksh88).
I also use korn as my default shell it is a lot more powerful that bash and all the bash derivatives (tcsh, zsh)
Application development, webhosting, and much more: www.webcentric-hosting.com
•
•
Join Date: Oct 2004
Location: On Earth, I think...
Posts: 246
Reputation:
Rep Power: 5
Solved Threads: 4
•
•
Join Date: Nov 2004
Location: tiny island in indian ocean
Posts: 138
Reputation:
Rep Power: 5
Solved Threads: 1
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode