1.1. Unix ,
.
1.2. - ,
.
Unix . Unix
unerase, .
Unix .
.
1.3.
"/". ( , MSDOS
Unix , "\" - -
.)
- ,
.
.
256 .
32000 ( -
1024 .)
1.4. "*"
( ) "?" (
). "."
, ".." - (
).
1.5. ,
, ,
. - ,
.
. (
) "-".
- - ... ...
1.6. &,
(). ,
.
, .
- ... &
1.7.
- - ,
. ,
.
. ,
,
, :
> _
( ),
< _
( ),
2> _
( - ).
- :
ls > infdir
,
(
, ),
.
,
>>
2>>
1.8. Unix ,
.
1.9.
, .
TERM=vt220
HOME=/home/moshkow
PATH=:/bin/:dss/rk:/home/moshkow/bin
1.8.
. "|" - .
:
/tmp,
"text" ...
cat /tmp/text* | wc -c
# cat /tmp/text*,
# wc -c -l
# .
:
ps -ef | more
:
ps -ef > temp-file
more temp-file
rm temp-file
pwd -
cd -
ls -
cat - -
cp -
mv - ()
ln -
rm -
rmdir -
mkdir -
echo -
ps -
kill - ""
man -
pwd
cd [ ]
cd /usr/spool/lp/adm
cd ..
, ""
$HOME
: ls [] []
- ;
, -
.
.
ls .
ls -al - :
()
-rwxr-xr-x 1 moshkow sys 17 Oct 18 16:13 ../jean
drwxr-xr-x 1 moshkow sys 12 Oct 18 16:11 ../jelly
-rwxr-xr-x 1 moshkow sys 0 Oct 13 14:14 ../j.bu.txt
^^ ^ ^
|| | |
|| | +----- ""
|| +--------
|+----------- ""
+------------ "-" - , "d" -
:
r - ,
w - ,
x - ,
- - .
-a - ( );
-x - 4 ;
-t - ,
-R -
ls -CF -
ls -al -
: cat 1 [2... ]
Cat .
:
cat
,
cat 1 2 > 3
.
1 2,
cat 1 >> 2
more file_name ...
pg file_name ...
less file_name ...
,
. .
"less", "" - "pg"
q -
-
ENTER -
b -
/ -
h - Help -
more,less,pg , ""
, " "
ls -al | more -
ps -e | pg -
: cp 1 2
cp 1 [2 ...]
1, ... , . -
, 1 . .
, , ,
.
: mv 1 2
mv 1 [2 ...]
cp, .
-
). :
mv /dss/*/rk_*.help /dss/delo
: ln 1 2
# ""
ln -s 1 2
# ""
1 . 1
2 .
" "
( "-s"), file1
. "2" .
: rm [-fri] ...
-i -
-r -
-f - ,
rmdir ...
,
rm -r
: , ".*" ".."
# rm -r .*
( unix' , -
SCO )
mkdir.
: mkdir _ ...
chmod ( ) .
:
chmod u+x file1
chmod a+w file1
echo
echo "\017"
Ctrl-O, 017 .
vt220 at386
:
touch primer # primer;
cat > primer # primer
# .
# CTRL+D.
, .
ps -
ps -ef - , "" ( SYSV Unix)
ps -ax - , "" ( BSD* Linux)
kill
.
1078 ( ps -e)
kill -9 1078
,
, CTRL-C, CTRL-\
,
.
:
man ___
man -k _ # , ...
, man -k,
.
catman -w
who - ,
who am i
finger
last | more
id
man -k who - ,
, .
Last-modified: Sun, 07 Aug 2005 11:40:06 GMT