Section A.4. Utilities and Shell Built-In Commands


[Page 598 (continued)]

A.4. Utilities and Shell Built-In Commands

Here is an alphabetized list of references to each Linux utility or shell built-in where it is described in this book.


[Pages 599 - 605]

Name

Synopsis

Described on page

alias

display or define command aliases

217, 255, 308

ar

archive files

408

at

run commands at a future time

130

bg

run or resume a process in the background

274

builtin

run the specified built-in shell command even if a function of the same name is defined

234

cancel

cancel a print job

64

case

test a set of expressions

226

cat

display or concatenate the contents of a file

54

cd

change your current working directory to a new directory

59, 238, 284

chdir

change current working directory

329

chgrp

change a file's group

73

chmod

change a file's mode (protection specification)

74

chown

change a file's owner

76

chsh

change login shell

169

clear

clear the screen

45

cmp

compare files

116

cp

copy a file

61

cpio

archive files

122

crontab

add or remove commands for scheduled execution via cron

128

date

print the date and time

44

declare

define a variable or variable array

209

df

display a table of free disk space

581

diff

display differences between files

117

dirs

list the contents of the directory stack

239, 330

du

display disk usage information

582

dump

dump the contents of a file system to backup media

127

echo

print text

171

egrep

similar to grep

109

emacs

screen editor

93

env

display environment variables or designate a shell variable as an environment variable and assign a value

212, 252

eval

execute output of a command as a shell command itself

197

exec

replace the current process with a new program

198

exit

terminate the shell process

196

export

display environment variables or designate a shell variable as an environment variable

212, 251

fc

edit and re-execute commands in the Korn shell

260

fg

run or resume a process in the foreground

275

fgrep

similar to grep

109

file

display type of a file

70

find

find files

119

finger

display information about users on the system

346

for

process a loop

229

foreach

process in a loop

315

fsck

check the file system for consistency problems

581

ftp

transfer files to another system via the File Transfer Protocol

352

function

define function

232, 269

gawk

sophisticated text processor

132

gcc

compile a C program

402

gdb

debug a program

420

glob

print variables after they've been processed by the shell's metacharacter mechanisms

329

goto

transfer control to a specified location in a script

315

gprof

profile an executable program

418

grep

filter lines of text based on patterns

109

groups

list groups of which user is a member

73

gunzip

GNU utility to restore a compressed file to its original contents

141

gzip

GNU utility to compress the contents of a file

141

head

display the beginning of a file

57

history

display shell command history

218, 311

host

find IP address or hostname via DNS

365

hostname

display or set the hostname of the system

346

if

test a set of expressions

228, 316

ifconfig

configure a network interface

589

jobs

display a list of running jobs belonging to the current shell

240, 273

kill

send a signal to a process

192, 242, 275

let

perform integer arithmetic

265

ln

create links to files

137

local

define a shell variable to be inaccessible outside the current function

234

logout

terminate a login shell

328

lp

print a file

64

lpq

display status of printer queue

66

lpr

queue print a file

65

lprm

remove a queued print job

66

lpstat

get printer status

64

ls

list directory contents

55

mail

send and receive electronic mail messages

99

make

tool to build applications based on dependencies of modified files

412

man

display manual pages

45

mesg

allow or disallow write access to your tty device by other users

347

mkdir

create a new directory

58

mkfifo

create a named pipe

505

mkfs

create a file system

583

mknod

create a device node

588

more

display a file one page at a time

57

mount

mount a file system

150

mv

move or rename a file

58

newgrp

change a user's group membership

77

nice

change a process' priority

327

nohup

make a process immune to a SIGHUP (hangup signal)

191, 327

notify

inform about changes in job's state

328

od

octal dump

148

onintr

process an interrupt

317

passwd

change your password

49

perl

flexible scripting language

152

popd

pop a directory from the directory stack

239, 330

print

print text to the terminal or an output stream

287

ps

display process status

189

pushd

push a directory onto the directory stack

239, 330

pwd

print the current working directory

52

rcp

copy files to a remote host

351

read

read one line from standard input

211, 288

readonly

designate a shell variable unchangeable

213, 252

rehash

rebuild the shell's hash table

331

repeat

repeat a command multiple times

318

restore

restore files backed up with the dump utility

127

return

return from a function

233, 270

rlogin

login to a remote system

355

rm

remove a file

63

rmdir

remove a directory

62

rpm

install a Linux package

587

rsh

execute a shell command on a remote system

356

scp

securely copy files to a remote host

351

sed

stream editor

142

select

create menu selection

236, 267

set

display or set shell options

220, 285, 298

setenv

define an environment variable

302

sftp

securely transfer files to another system via the File Transfer Protocol

352

shift

shift the shell's positional parameters

198

shutdown

shut down the system

580

sleep

cause a process to be idle

189

slogin

securely log in to a remote system

355

sort

sort lines in a file

113

source

execute shell commands from a file in the current shell

236, 329

ssh

securely execute a shell command on a remote system

356

stop

stop a process

326

strip

remove debugging and profiling information from binary to make it smaller

429

stty

display and modify terminal settings

81

su

become a new user

140

suspend

suspend a process

327

switch

branch based on expression

318

tail

display the end of a file

57

talk

carry on a real-time conversation with another user via the screen

349

tar

archive files

124

tee

write text to standard output as well as to a file

177

telnet

connect to another system to login

357

time

display time used by a program

151

touch

update modification time of files

416

tr

translate characters

146

trap

catch signals

231, 289

tset

determine and/or set terminal type

78

tty

display device name of terminal

151

typeset

format shell variables

281

ul

change underlining so it displays properly

147

umask

display or set the shell's umask value

200

umount

unmount a file system

150

unalias

remove a defined command alias

217, 256, 309

unhash

disable the shell's hashing capability

331

uniq

eliminate redundant text

112

unset

deallocate a variable

211

until

process in a loop

230

useradd

add a user to the system

584

userdel

delete a user from the system

584

users

display users on the system

344

vim

screen editor

82

w

display information about local users on the system

345

wait

wait for a child process to terminate

193

wall

write to all users

350

wc

count words in a file

67

while

process in a loop

230, 320

who

display users on the system

345

whoami

display user information

139

write

write a message to another user's screen

348

xclock

clock tool for the X Window System

390

xhost

defines access to the local X server by users of other systems

379

xrdb

query and modify the X server's resource database

396

xterm

terminal window client for the X Window System

391

zcat

GNU utility to produce the original contents of a compressed file

141





Linux for Programmers and Users
Linux for Programmers and Users
ISBN: 0131857487
EAN: 2147483647
Year: 2007
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net