понедельник, 5 сентября 2011 г.

Linux command-line interface

sudo lshw
sudo lshw -html > hw.html
sudo lspci
cat /proc/cpuinfo
cat /proc/meminfo
sysinfo
sudo dmidcode

$ file 'libinkview.so'
libinkview.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped


$ readelf -h /bin/bash
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x41f210
  Start of program headers:          64 (bytes into file)
  Start of section headers:          932480 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         9
  Size of section headers:           64 (bytes)
  Number of section headers:         29
  Section header string table index: 28


$ gcc -m32

Комментариев нет:

Отправить комментарий

А у тебя есть клавиатура? Здесь можно попробовать воспользоваться ей по прямому назначению.