http://www.ihao.org/dz5/viewthread.php?tid=3670
Linux
bootdisk
rawrite <Enter >
bare.i <Enter >
A <Enter >
rootdisks
rawrite <Enter >
color.gz <Enter >
A <Enter >
Fips () Fdisk
bootdisk boot: <Enter >
rootdisks slackware login: root
# fdisk /dev/hdb
( fdisk )
fdisk
a
c dos
d
l fdisk
m
n
p
q
t
u
v
w
x
# setup ()
TARGET format2048
SOURCE CD-ROM ( ATAPI/IDE)
custom /slack31/slakware ()
DISK SETS
INSTALL ( MENU)
modem mouse cdrom (m1.fnt)
LILO mail ( shutdown -r
now reset)
/etc/passwd
alt + F1alt + F2
Linux shell( DOS command.com)
tcsh bash ( bash)
exit shell
/etc/DIR_COLORS
() () () ()
() ()
drwxr-x--x
r-- ls
-w-
-x cd ls
rw- ls ls -l
r-x cd ls
-wx cd ls
c
- d
l
( vt100bash shell)
ls -l dir
alias dir='ls -l'
( dir ls -l )
ps1='' ()
ps2='' ()
ps1
\h
\w
\s shell
\$ root #$
\t
\d
\u
\#
\!
\\ \
-m ,
-n
-t ()
-u ( t )
-s ( block = 512 bytes)
-o
-r
-d
ln
ln -
ln -
s
f
n
cat ( dos type)
cat -
cat ( dos copy con )
ctrl + d
more
( dos more)
more -
| more ( dos |more type |more)
p
c
s
l
mv ( dos renmove)
mv - () ()
b
v
f
pwd
passwd
rm
( dos deldeltree)
rm -
r ( dos deltree)
i
f
d
cp
( dos copy)
cp - () ()
a
d
s
f
i
l
p
r
mkdir ( dos md)
mkdir -
p
m
cd ( dos cd)
cd ~
..
dos
rmdir ( dos rd)
rmkdir -
p
grep
grep - ''
A
B
c
h
i
L
m
dd
dd if= of=
skip=blocks
bs=bytes bytes
cbs=bytes bytes
ibs=bytes bytes
obs=bytes bytes
count=blocks block
conu=
ascii EBCDIC ASCII
ebcdic ASCII EBCDIC
ibm ASCII IBM
block
ublock
lcase
ucase
swab bytes
noerror
notrunc truntate
sync ibs
df
a
i i -nodes
k k ()
t
x
T
du
a
b bytes ( k bytes)
c ()
l
s
x
L
find
find -name -print
*"
fsck linux
fsck -
a
r
V
t
n
mount
mount -
mount ip :/
/dev/hda2/dev/fd0
a/etc/fstab
t (/proc/filesystems)
n/etc/mtab
w
r
mount -t iso9660 /dev/hdd /cdrom
/cdrom
umount
umount
umount /cdrom /cdrom
mke2fs ( dos format)
mke2fs -
adduser
chmod
chmod
111 101 101 = 755
chown
chown - ()
R
v
su
who
-m
-q
-i
-w write
w
()
vall < (root )
write
write
mesg y mesg n
talk
sync
date
shutdown
shutdown -
k
r
h
f
n init
c
t
now ()
reboot ( Alt + Ctrl + Del
top Ctrl + c
ps
-l
-u
-i
-s
-v
-m
-f
-a
-x
-r
-c
-e
-f
-w
kill ( ps )
kill (pid)
kill -l
uname linux (/proc/uname)
free
uptime
ftp
ftp IPAddress
ftp 127.0.0.1
! ftp exit ftp
c
d SO_DEBUG
f
i 1
q
l
man man
help (bash shell) help
whereis whereis
locate locate
whatis whatis
at
crontab
nohup
echo
clear
&
cal
-j
-y
Bind IP/sbin/ifconfig eth0:1 210.202.165.1 up
From ihao http://www.ihao.org/dz5/,http://www.ihao.org/dz5/viewthread.php?
tid=3670