VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1[2] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 22:15:06 02/05/07 Mon
Author: Anandan
Subject: Commands1
In reply to: Anandan 's message, "Unix - Basics, Commands, Editors & their commands" on 05:54:13 01/10/07 Wed

1. To find out what shell you're using:
$echo $SHELL

2. To see what shells are available on your system,
$ls /usr/bin/*sh

3. To change your prompt to appear more like the DOS prompt
$PS1=">"
A C shell user would use the following command to change a prompt:
$set prompt="Mr. XYZ>"

4. To change the delete character (to remove the characters of a command entered), use the stty erase command
$stty erase [Del]
[Del[ refers to the physical act of pressing the Delete key.

5. If you make several errors and want to erase the entire line, type the @ character(shift 2). This presents you with a new prompt:
$lssset@
$
For Korn shell user, use the Esc key instead of the @ key to erase a line.

6. To change your password:
$passwd

7. To display one month calendar:
$cal
To see the calendar for an year, type
$cal 2007

8. To see who else is logged onto the system,
$who

9. To get more information about all users who have currently logged in, use the finger command:
$finger
To know about specific user,
$finger xyz

10. To display online-manual pages associated with UNIX commands use man command
$man ls
$man man

11. To reboot the system
$reboot

12. To stop the system,
$halt -p

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:

  • Commands2 - File and Directory commands -- Anandan, 23:19:31 02/05/07 Mon
    [ Contact Forum Admin ]


    Forum timezone: GMT-8
    VF Version: 3.00b, ConfDB:
    Before posting please read our privacy policy.
    VoyForums(tm) is a Free Service from Voyager Info-Systems.
    Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.