linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:39:59 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
System commands

 

finger - Get information about other users

Format
finger [options] [user-list]

Summary
With no arguments finger gives you a list of all users logged on to the system together with their full names, terminal device numbers the number of times they logged in and other information. If specify a user on the command line, finger gives you detailed information on that user and displays his/her .plan, .project and .forward file. The really cool thing with finger is that you can finger users on other hosts.

User list options
[user] gives you information on that user on your local system
[user]@[host] gives you information on that particular user on that particular host
@[host] lists all the users currently logged on on that host

Options
-l     long, gives you detailed information on about every user currently logged on


kill - terminate a process

Format
kill [option] PID-list

Summary
Terminates all jobs with PID number=PID-list
You can determine what signal to send to terminate the process. These are the possibilities

Options
-0 sh(1) only, signals all members of process group
-9 non-catchable, non-ignorable kill (this is the one to use if you process if doesn't want to get killed)
-15 software termination signal (default)
-HUP    A very useful option. This causes kill to terminate the process and to restart it afterwards.

ps - lists processes

Format
ps [options]

Summary
Lists active processes. If you run ps without any options, it displays all processes that you control. If you run ps without any options you will see five columns
PID process ID, The process ID of the process on that line
TTY terminal, the terminal that controls the process
TIME The number of minutes and seconds the process has been running
COMMAND The command name with which the process was started. If you use the w option you will see the entire command line.


a     all, lists all processes controlled by any terminal
e     environment, Prints the environment of the process
l      long, a complete status report (13 columns)
u     user, causes ps to display a userorientated status information. Extra columns (CPU and MEM usage)

talk - talk to other users

Format
talk [user] [tty]

Summary
Allows you to real-time chat with any user given by [user]. If you want to talk with someone on the local system [user] is just the username of that person. If you want to talk to a user on a different host [user] is [user@host]. If a user is logged in more than once, you may want to specify the appropriate terminal. Do this with using the [tty] option. It's on the form 'ttyXX'. To find out what tty's the user you want to chat with uses, use the finger command.
When someone sends you a chat request you must reply with "talk [user]@[host] or just [user] if the person is on the same system. Use ^c to quit from the chat.


top - interactive list of running processes

Format
top [-] [options]

Summary
Gives you a list of existing processes and their activity in real time. Defaults to sort processes by CPU activity, but can also sort by MEM usage. It has both command line parameters and interactive commands.

Options
d [number]     delay, the number of seconds between each update.
i     idle, causes top to ignore idle or zombie processes.

Interactive commands
SPACE causes top to update the screen immediately.
h     help, gives you the help screen with a list of commands (very useful)
k     kill, Terminate a process. You will be prompted for the PID to kill, and the signal to send.
q     quit
s     change the delay between each update. You will be prompted for the time in seconds.


who - Info about users who are logged on

Format
who [am i]

Summary
Who is a strip down of finger. With no arguments it displays the users currently logged on, their terminal device number and the time they logged on to the system.
Given the [am i] option who displays information about the current user (you).


Table of contents

 

[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
Copyright © 1999 All Rights Reserved
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif