Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - COMMAND-LINE Manuale Utente Pagina 2

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 60
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 1
2
copy con
cp /dev/tty filename then CTRL+D to quit
edit
vi or joe
type cat
move mv
ren mv
cls clear
help
man command
fdisk
fdisk or cfdisk
diskcopy
To make a copy of a floppy diskette, insert the source and execute:
dd if=/dev/fd0 of=/tmp/floppy bs=1024 count=1440
…then insert the destination and execute:
dd if=/tmp/floppy of=/dev/floppy bs=1024 count=1440
ver
cat /etc/redhat-release – shows Red Hat version
ls /lib/modules - this will show the kernel version of all kernels installed
(you could have more than one to boot to)
uname –sr – this will show your current running version
uname –a – shows all the versioning information, except the distribution
(Red Hat)
whoami finger
finger –l (most information)
w
users
set
set – displays system environment. Pipe set to the less command in order to
read all of it.
set | less
Help
man
info
command—help
HOWTOs – www.linuxdoc.org, howto.tucows.com
Hard drive info
hdparm –i /dev/hda
Reboot shutdown –r now or
shutdown –rf now (stands for right fu**ing now)
reboot (reboot is not clean, do not use often)
Shutdown shutdown –h now or
or
halt (halt is not clean, can be bad on disks)
Working directory pwd - shows the full path of your current directory
Compile binary
gcc –o <binary name> <.c file>
Make Executable out of
script
chmod +x filename
Running Processes, Uptime,
etc.
top
Find a specific process
ps –ax | grep process_name
i.e. ps –ax | grep snort
Mem
free –t
Vedere la pagina 1
1 2 3 4 5 6 7 ... 59 60

Commenti su questo manuale

Nessun commento