1. Trang chủ
  2. » Công Nghệ Thông Tin

Learning the unixo

52 59 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 52
Dung lượng 629,87 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Syntax of UNIX Command Lines < input redirection operator : 5.1.. File and Directory Wildcards ; semicolon on command line : 1.2.. Syntax of UNIX Command Lines/ slash in pathnames : 3.1.

Trang 1

Index: Symbols and Numbers

& for background processes : 6.1 Running a Command in the Background

* wildcard4.3 File and Directory Wildcards4.4.5.1 rm

(dot) directory : 4.4.2.1 cp directory shortcut : 3.1.8.1 ls directory shortcut

3.1.5.2 Relative pathnames up3.1.8.1 ls

4.4.2.1 cp

in filenames : 4.2 File and Directory Names

> (output redirection operator)5.1 Standard Input and Standard Output5.1.1.1 The > operator

>> (output redirection operator) : 5.1.1.2 The >> operator

- (hyphen) for command options : 1.2 Syntax of UNIX Command Lines

< (input redirection operator) : 5.1 Standard Input and Standard Output

? wildcard : 4.3 File and Directory Wildcards

; (semicolon) on command line : 1.2 Syntax of UNIX Command Lines/ (slash)

in pathnames : 3.1.4 Absolute Pathnamesfor root directory

3.1.3 The Directory Tree3.1.4 Absolute Pathnames

Trang 3

ampersand (&) for background processes : 6.1 Running a Command in the Backgroundappending text to files : 5.1.1.2 The >> operator

apropos command : 7.1 Standard UNIX Documentationarguments, command : 1.2 Syntax of UNIX Command Linesascii command (ftp) : 4.4.2.4 ftp

asterisk (*) as wildcard4.3 File and Directory Wildcards4.4.5.1 rm

Trang 4

Index: B

background processing : 6 Multitaskingcancelling processes : 6.3 Cancelling a Processchecking on processes : 6.2 Checking on a ProcessBACKSPACE key

1.1.7 Correcting a Mistake3.6 Customizing Your Account

bg command : 6.1 Running a Command in the Backgroundbinary command (ftp) : 4.4.2.4 ftp

block cursor : 2.4.3 Using a Mouse with xterm Windowsbrackets [ ] as wildcards : 4.3 File and Directory Wildcards

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Trang 5

Index: C

calculator program (on X) : 2.3.2 The xterm Windowcancel command : 4.5.4.2 cancel and lprm

cancellingbackground processes : 6.3 Cancelling a Processprint jobs : 4.5.4.2 cancel and lprm

cat command3.2.1 cat5.1.1 Putting Text in a File

cd command3.1.6.2 cd4.4.2.4 ftpchattr command (Linux) : 3.3.3 More Protection Under Linuxchmod command

3.1.8.1 ls3.3.1 Directory Access Permissionsclicking the mouse : 2.4.2 Pointing, Clicking, and Draggingclobbering files : 5.1.1.1 The > operator

Close menu item (mwm) : 2.5.4 The Window Menucommand line : 1.1.6 Entering a Command Linecorrecting mistakes on : 1.1.7 Correcting a Mistakecommand prompt : (see shell prompt)

commands3.2.2 more(see also under specific command name)cancelling execution of : 6.3 Cancelling a Processftp : 4.4.2.4 ftp

mail : 3.4.2 Reading Your Mail

Trang 6

configuring control characters : 3.6 Customizing Your Accountconnecting to UNIX terminals : 1.1.1 Connecting to the UNIX Computercontrol characters : 1.1.7 Correcting a Mistake

configuring : 3.6 Customizing Your AccountCTRL-C : 1.4 The Unresponsive TerminalCTRL-D

1.4 The Unresponsive Terminal5.1.1.1 The > operator

CTRL-H : 1.1.7 Correcting a MistakeCTRL-J : 1.4 The Unresponsive TerminalCTRL-Q : 1.4 The Unresponsive TerminalCTRL-S : 1.4 The Unresponsive TerminalCTRL-Z

1.4 The Unresponsive Terminal6.1 Running a Command in the Backgroundcopying

files : 4.4.2 Copying Filesremotely : 4.4.2.3 rcp

in xterm windows : 2.4.3 Using a Mouse with xterm Windows

cp command : 4.4.2.1 cpcursors : 2.4.1 Pointer Shapecustomizing

account : 3.6 Customizing Your Accountprogramming the shell : 7.3 Programming

Trang 7

1.1.7 Correcting a Mistake3.6 Customizing Your Accountdeleting files and directories : 4.4.5 Removing Files and Directoriesdir command (DOS) : (see ls command)

dir command (ftp) : 4.4.2.4 ftpdirectly executable programs : 6.2.1 psdirectories : 3.1 The UNIX Filesystem shortcut

3.1.8.1 ls4.4.2.1 cp shortcut3.1.5.2 Relative pathnames up3.1.8.1 ls

4.4.2.1 cpcreating new : 4.4.1 Creating Directoriesdeleting : 4.4.5 Removing Files and Directorieshierarchy of (tree)

Trang 8

3.3.1 Directory Access Permissionsumask command and : 3.6 Customizing Your Accountworking : 3.1.2 Your Working Directory

documentation on UNIX : 7.1 Standard UNIX DocumentationDOS, accessing with UNIX : 4.4.6 Files on Other Operating SystemsMTOOLS utilities for : 4.4.6 Files on Other Operating Systemsdot (.)

directory shortcut : 3.1.8.1 ls

in filenames : 4.2 File and Directory Namesdot-dot ( ) directory shortcut

3.1.5.2 Relative pathnames up3.1.8.1 ls

4.4.2.1 cpdragging the mouse : 2.4.2 Pointing, Clicking, and Dragging

Trang 9

Index: E

emacs editor : 4.1 Methods of Creating Filesemail (electronic mail) : 3.4 Electronic Mailmessage headers : 3.4.2 Reading Your Mailsending command output : 5.2.2 sort

sending files : 6.1 Running a Command in the Backgroundenvironment, UNIX : 1.1 Working in the UNIX Environmenterase character : 1.1.7 Correcting a Mistake

erasing : (see deleting)errors on command line1.1.7 Correcting a Mistake(see also troubleshooting)execute permission : 3.1.8.1 lsexit command : 1.1.8 Logging Outexiting

UNIX session : 1.1.8 Logging Out

X Window System : 2.7 Quitting

Trang 10

appending text to : 5.1.1.2 The >> operatorcopying : 4.4.2 Copying Files

deleting : 4.4.5 Removing Files and Directoriesdirectory tree and : 3.1.7 Files in the Directory Treefinding/searching for : 4.4.4 Finding Files

hidden : 3.1.8.1 lsinformation about : 3.1.8.1 lsinserting text in : 5.1.1 Putting Text in a Filelisting : 3.1.8 Listing Files

moving : 4.4.3 Renaming and Moving Filesoverwriting by mistake : 5.1.1.1 The > operatorpathnames : 3.1.3 The Directory Tree

permissions3.1.8.1 ls3.3.2 File Access Permissionsumask command and : 3.6 Customizing Your Accountprinting : 4.5 Printing Files

reading : 3.2 Looking Inside Filesremote : 4.4.6 Files on Other Operating Systemscopying : 4.4.2.3 rcp

renaming : 4.4.3 Renaming and Moving Filessearching within : 5.2.1 grep

sharing : 3.3 Protecting and Sharing Files

Trang 11

flags : (see options, command)fortune program : 3.6 Customizing Your Accountfrozen terminal : 1.4 The Unresponsive Terminalftp (file transfer protocol) : 4.4.2.4 ftp

functions, shell : 7.2 Shell Aliases and Functions

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 12

Index: G

get command (ftp) : 4.4.2.4 ftpgrep command : 5.2.1 grep

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 13

troubleshooting : (see troubleshooting)UNIX documentation : 7.1 Standard UNIX Documentationhidden files : 3.1.8.1 ls

hierarchy, directory3.1.3 The Directory Tree3.1.7 Files in the Directory Treehome directory : 3.1.1 Your Home Directoryhostnames, mailing to : 3.4.1 Sending Mailhung terminal : 1.4 The Unresponsive Terminalhyphen (-) for command options : 1.2 Syntax of UNIX Command Lines

Trang 14

Index: I

I-beam cursor : 2.4.3 Using a Mouse with xterm WindowsI/O redirection : 5.1 Standard Input and Standard Outputicons

iconifying windows : 2.5.1 Using the Titlebarmoving : 2.5.2 Moving Windows and Iconsinfo command : 7.1 Standard UNIX Documentationinput focus : 2.3.1 Setting Focus

input redirection operator (>) : 5.1 Standard Input and Standard Outputinput/output redirection : 5.1 Standard Input and Standard Outputinterpreted programs : 6.2.1 ps

interrupt character1.1.7 Correcting a Mistake1.4 The Unresponsive Terminal

Trang 17

Index: L

lcd command (ftp) : 4.4.2.4 ftpLINEFEED character : 1.4 The Unresponsive TerminalLinux

directory protection : 3.3.3 More Protection Under Linuxfinding files on : 4.4.4 Finding Files

info command : 7.1 Standard UNIX Documentation

ls command on : 3.1.8.1 lsMTOOLS utilities : 4.4.6 Files on Other Operating Systemsvirtual consoles : 2.1 Introduction to Windowing

listing files/directories : 3.1.8 Listing Fileslocate command : 4.4.4 Finding Fileslogging in : 1.1.1 Connecting to the UNIX Computerlogging out : 1.1.8 Logging Out

login : 1.1.1 Connecting to the UNIX Computer.login file : 3.6 Customizing Your Accountlogout command : 1.1.8 Logging OutLower menu item (mwm) : 2.5.4 The Window Menu

lp command : 4.5.2 lp and lprlpq command

4.5.2 lp and lpr4.5.4.1 lpstat and lpqlpr command : 4.5.2 lp and lprlprm command : 4.5.4.2 cancel and lprmlpstat command : 4.5.4.1 lpstat and lpq

ls command1.2 Syntax of UNIX Command Lines3.1.8.1 ls

Trang 18

Index: M

mail : (see email)mail command : (see email)man command : 7.1 Standard UNIX DocumentationMaximize menu item (mwm) : 2.5.4 The Window Menumaximizing windows : 2.5.1 Using the Titlebar

menu, window (mwm) : 2.5.4 The Window Menumetacharacters : (see wildcards)

mget command (ftp) : 4.4.2.4 ftpMinimize menu item (mwm) : 2.5.4 The Window Menuminimizing windows : 2.5.1 Using the Titlebar

mkdir command : 4.4.1.1 mkdirmore command

3.2.2 more5.2.3 pg and moremouse : 2.4 Working with a MouseMove menu item (mwm) : 2.5.4 The Window Menumoving

between directories : 3.1.6.2 cdfiles : 4.4.3 Renaming and Moving Fileswindows and icons : 2.5.2 Moving Windows and Iconsmput command (ftp) : 4.4.2.4 ftp

MTOOLS utilities : 4.4.6 Files on Other Operating Systemsmultitasking : 6 Multitasking

mv command : 4.4.3 Renaming and Moving Filesmwm window manager : 2.5 Working with Windowswindow menu : 2.5.4 The Window Menu

Trang 19

Index: N

naming files and directories : 4.2 File and Directory Nameswildcards for : 4.3 File and Directory Wildcardsnetworked filesystem : 3.1.3 The Directory Treenetworks, copying files across : 4.4.2.3 rcp

NO SCROLL key : 1.4 The Unresponsive Terminalnoclobber variable : 5.1.1.1 The > operator

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 20

Index: O

operating system, definition of : The UNIX Operating Systemoptions, command : 1.2 Syntax of UNIX Command Linesoutput redirection operator (>)

5.1 Standard Input and Standard Output5.1.1.1 The > operator

output redirection operator (>>) : 5.1.1.2 The >> operatoroutput, redirecting : 5.1 Standard Input and Standard Outputoverwriting files : 5.1.1.1 The > operator

ownership, file : 3.1.8.1 ls

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 21

Index: P

parent directory, shortcut for3.1.5.2 Relative pathnames up3.1.8.1 ls

4.4.2.1 cppasswd command : 3.5 Changing Your Passwordpasswords

changing : 3.5 Changing Your Passwordlogging in and : 1.1.2 Logging In

pasting in xterm window : 2.4.3 Using a Mouse with xterm WindowsPATH environment variable : 3.6 Customizing Your Account

pathnames : 3.1.3 The Directory Treeabsolute : 3.1.4 Absolute Pathnamesrelative : 3.1.5 Relative Pathnamesperiod : (see dot)

permissions : 3.1.8.1 lsdirectory : 3.3.1 Directory Access Permissionsfile : 3.3.2 File Access Permissions

umask command and : 3.6 Customizing Your Accountunder Linux : 3.3.3 More Protection Under Linux

pg command3.2.3 pg5.2.3 pg and morePIDs (process IDs) : 6.1 Running a Command in the Backgroundpipe (|) for I/O redirection

5.1 Standard Input and Standard Output5.2 Pipes and Filters

Trang 22

problems : (see troubleshooting)process IDs (PIDs) : 6.1 Running a Command in the Backgroundprocesses, background : 6 Multitasking

cancelling : 6.3 Cancelling a Processchecking on processes : 6.2 Checking on a Process.profile file : 3.6 Customizing Your Account

programming : 7.3 Programmingprograms

directly executable vs interpreted : 6.2.1 psrunning with X : 2.3 Running Programsprompt : (see shell prompt)

ps command : 6.2.1 psput command (ftp) : 4.4.2.4 ftppwd command : 3.1.6.1 pwd

Trang 23

Index: Q

question mark (?) wildcard : 4.3 File and Directory Wildcardsqueue, printer

4.5.2 lp and lpr4.5.4 Viewing the Printer Queuequit command (ftp) : 4.4.2.4 ftp

quitting X Window System : 2.7 Quitting

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 24

Index: R

rcp command : 4.4.2.3 rcpread permission : 3.1.8.1 lsreading

email messages : 3.4.2 Reading Your Mailfiles : 3.2 Looking Inside Files

redirecting input/output : 5.1 Standard Input and Standard Outputrelative pathnames : 3.1.5 Relative Pathnames

remote files : 4.4.6 Files on Other Operating Systemscopying : 4.4.2.3 rcp

remote logins : 1.1.3 Remote Loginsremoving : (see deleting)

resizing windows : 2.5.3 Resizing Windowsresources for further reading : A.1 General UNIX BooksUNIX documentation : 7.1 Standard UNIX DocumentationRestore menu item (mwm) : 2.5.4 The Window Menu

rm command : 4.4.5.1 rmrmdir command : 4.4.5.2 rmdirroot directory : 3.1.3 The Directory Treeroot menu : 2.3.3 The Root Menu

root window : 2.3.3 The Root MenuRUBOUT key : 1.1.7 Correcting a Mistake

Trang 25

Index: S

screen, printing files tocat command : 3.2.1 catmore command

3.2.2 more5.2.3 pg and more

pg command3.2.3 pg5.2.3 pg and more

pr command : 4.5.1 prscrolling, turning off : 1.4 The Unresponsive Terminalsearching

for files : 4.4.4 Finding Fileswithin files : 5.2.1 grepsemicolon (;) on command line : 1.2 Syntax of UNIX Command Linessending email messages : 3.4.1 Sending Mail

session, unresponsive (hung) : 1.4 The Unresponsive Terminalsetterm command : 3.6 Customizing Your Account

sharing files : 3.3 Protecting and Sharing Filesshell aliases : 7.2 Shell Aliases and Functionsshell prompt

1.1.2 Logging In1.1.5 The Shell Promptshell setup files : 3.6 Customizing Your Accountshells : 1.1.4 The UNIX Shell

programming shell scripts : 7.3 Programmingreferences for further reading : A.3 Shells

Trang 26

sort program : 5.2.2 sortstandard input : 5.1 Standard Input and Standard Outputstandard output : 5.1 Standard Input and Standard Outputstopped jobs : 1.1.8.1 Problem checklist

stty command : 3.6 Customizing Your Accountsubdirectories : (see directories)

suspend character : 6.1 Running a Command in the Backgroundsuspending jobs : 1.4 The Unresponsive Terminal

symbols, reference for : B.2 Special Symbols

Symbols | A | B | C D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1998 O'Reilly & Associates, Inc All Rights Reserved

Trang 27

Index: T

terminal emulationprograms for : 1.1.1.1 Connecting from another operating system

on X (xterm windows for)2.3.2 The xterm Window2.4.3 Using a Mouse with xterm Windowsterminal, unresponsive (hung) : 1.4 The Unresponsive Terminaltext

appending to files : 5.1.1.2 The >> operatoreditors for : 4.1 Methods of Creating Fileshandling in xterm windows : 2.4.3 Using a Mouse with xterm Windowsinserting into files : 5.1.1 Putting Text in a File

printing format : 4.5 Printing Filesprocessing, references for : A.2 Text Processing and Programmingsearching files for : 5.2.1 grep

sorting lines of : 5.2.2 sorttime : (see date and time)

titlebar, window : 2.5 Working with Windowstree, directory

3.1.3 The Directory Tree3.1.7 Files in the Directory Treetroubleshooting

background processing : 6.3.2 Problem checklistcommand line : 1.1.7 Correcting a Mistakecopying files : 4.4.2.2 Problem checklistdeleting files and directories : 4.4.5.3 Problem checklisthung (unresponsive) terminal : 1.4 The Unresponsive Terminallogging in : 1.1.2.1 Problem checklist

logging out : 1.1.8.1 Problem checklistoverwriting files by mistake : 5.1.1.1 The > operator

Ngày đăng: 19/04/2019, 10:10