| | |
Quick Reference for Linux Commands
![]() |
•
•
Join Date: Jul 2005
Posts: 2
Reputation:
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
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
•
•
•
•
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'
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
![]() |
Other Threads in the Getting Started and Choosing a Distro Forum
- Previous Thread: Unix/Linux Links
- Next Thread: Linux Suse 10 Wireless
| Thread Tools | Search this Thread |
Tag cloud for Getting Started and Choosing a Distro
age-related baremetal chrome cio cloudcomputing code commercial computers crystalballsunday desktop developers development distributions distro dsl elderly embedded filesystems forums google http://expertcore.org/ innovations jauntyjackalope joe_brockmeier kernel library linus linux microsoft multi-core netgear newbies novell openoffice.org opensuse open_source operating operatingsystems parallel performance processing redhat routers smp solaris studios system systembuilders systemintegrators terminalservices thecloud thinclients tools ubuntu users virtualization vmware webbased wikis windows xenon





