Awọn ibeere ati Idahun Lainos Ipilẹ - Apakan II


Tẹsiwaju jara Ifọrọwanilẹnuwo, a n fun Awọn ibeere 10 nihin, ninu nkan yii. Awọn ibeere wọnyi ati awọn ibeere ni awọn nkan iwaju ko tumọ si pe wọn beere lọwọ eyikeyi ijomitoro. A n ṣe afihan ọ ni pẹpẹ ẹkọ ibanisọrọ nipasẹ iru awọn ifiweranṣẹ wọnyi, eyiti o dajudaju yoo jẹ iranlọwọ.

Lori igbekale awọn asọye ni awọn apejọ oriṣiriṣi lori nkan to kẹhin 11 Awọn ibeere Lainos Lainos Lainos ti jara yii, o ṣe pataki lati darukọ nibi pe lati mu nkan didara wa si awọn oluka wa. A fun ni akoko wa ati owo, ati ni ipadabọ ohun ti a nireti lati ọdọ rẹ? Ko si nkankan. Ti o ko ba le yin iṣẹ wa, jọwọ maṣe ṣe irẹwẹsi wa lati awọn asọye odi rẹ.

Ti o ko ba ri nkan tuntun ninu ifiweranṣẹ kan, maṣe gbagbe pe fun ẹnikan o jẹ iranlọwọ, ati fun eyi o/oun dupẹ. A ko le mu ki gbogbo eniyan ni idunnu ninu ọkọọkan nkan wa. Lero pe iwọ awọn onkawe yoo mu irora lati loye eyi.

  1. macro
  2. ka
  3. iwe afọwọkọ
  4. gbasilẹ
  5. sessionrecord

Jẹ ki a ṣe igbasilẹ igba wiwọle olumulo pẹlu aṣẹ afọwọkọ bi o ti han.

 script my-session-record.txt

Script started, file is my-session-record.txt

Akoonu ti faili log ‘my-session-record.txt’ le jẹ awọn iwo bi:

 nano my-session-record.txt

script started on Friday 22 November 2013 08:19:01 PM IST
 ls
^[[0m^[[01;34mBinary^[[0m ^[[01;34mDocuments^[[0m ^[[01;34mMusic^[[0m $
^[[01;34mDesktop^[[0m ^[[01;34mDownloads^[[0m my-session-record.txt ^[[01;34$

  1. dmesg
  2. ekuro
  3. ls -i
  4. uname
  5. Ko si ọkan ti o wa loke

 dmesg

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-279.el6.i686 ([email ) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 10:59:55 UTC 2012
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
Disabled fast string operations
BIOS-provided physical RAM map:
...

  1. uname -v
  2. uname -r
  3. uname -m
  4. uname -n
  5. uname -o

 uname -r

2.6.32-279.el6.i686

  1. iru
  2. alaye
  3. faili
  4. eyi ti
  5. ls

 file wtop

wtop: POSIX shell script text executable
 whereis /usr/bin/ftp

ftp: /usr/bin/ftp /usr/share/man/man1/ftp.1.gz
 ls -al
-rw-r--r--.  1 tecmint     tecmint            176 May 11  2012 .bash_profile
-rw-r--r--.  1 tecmint     tecmint            124 May 11  2012 .bashrc
 cat /etc/resolv.conf

nameserver 172.16.16.94

  1. ln
  2. ln -s
  3. ọna asopọ
  4. ọna asopọ -soft
  5. Ko si ọkan ti o wa loke

 ln -s /etc/httpd/conf/httpd.conf httpd.original.conf
 pwd

/home/tecmint
 passwd
Changing password for user root.
New password:
Retype new password:
 lspci

00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller Hub (rev b1)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 2-3 (rev b1)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev b1)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev b1)
00:08.0 System peripheral: Intel Corporation 5000 Series Chipset DMA Engine (rev b1)
...

Iyẹn ni gbogbo fun bayi. Mo nireti pe awọn ibeere wọnyi loke le wulo pupọ fun ọ. Ninu ipari ose wa ti o tẹle a tun wa-pẹlu diẹ ninu awọn ibeere tuntun. Titi lẹhinna o wa ni ilera, aifwy ati asopọ si Tecmint.