Ajụjụ ajụjụ na azịza Linux bụ isi - akụkụ II


Na-aga n'ihu na Usoro Ajụjụ ọnụ, anyị na-enye ajụjụ 10 ebe a, n'isiokwu a. Ajụjụ ndị a na ajụjụ ndị dị n'isiokwu ndị ga-abịa n'ọdịnihu apụtaghị na a jụrụ ha n'ajụjụ ọnụ ọ bụla. Anyị na-ewetara gị usoro mmụta mmekọrịta mmekọrịta site na ụdị posts ndị a, nke ga-enyere gị aka.

N'elu nyocha nke nkwupụta na forums dị iche iche na edemede ikpeazụ 11 Basic Linux Interview Ajụjụ nke usoro isiokwu a, ọ dị mkpa ịkọwa ebe a iji wetara ndị na-agụ akwụkwọ anyị akụkọ dị mma. Anyị na-enye oge na ego anyị, na nkwụghachi ihe anyị na-atụ anya n'aka gị? Ọ dịghị ihe. Ọ bụrụ na ịnweghị ike ito ọrụ anyị, biko emela anyị iwe site na nkwupụta ọjọọ gị.

Ọ bụrụ na ịchọtaghị ihe ọhụrụ na post, echefula na maka onye ọ na-enyere aka, na maka na ọ/ọ nwere ekele. Anyị enweghị ike ime onye ọ bụla obi ụtọ na nke ọ bụla n'ime akụkọ anyị. Enwere m olileanya na ndị na-agụ gị ga-enwe ihe mgbu ịghọta nke a.

  1. macro
  2. gụọ
  3. edemede
  4. ndekọ
  5. Session Recorded

Ka anyị dekọọ oge nbanye onye ọrụ na iwu script dị ka egosiri.

 script my-session-record.txt

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

Ọdịnaya nke faịlụ ndekọ 'my-session-record.txt' nwere ike ịbụ echiche dị ka:

 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. kernel
  3. ls -i
  4. na-eme
  5. Onweghị nke dị n'elu

 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. ụdị
  2. ozi
  3. faịlụ
  4. nke
  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. njikọ
  4. njikọ - soft
  5. Onweghị nke dị n'elu

 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)
...

Nke ahụ bụ ihe niile ugbu a. Enwere m olileanya na ajụjụ ndị a dị n'elu nwere ike ịbara gị ezigbo uru. Na ngwụcha izu ụka anyị na-abịa ọzọ, anyị ga-ebulitekwa ajụjụ ọhụrụ ụfọdụ. Ruo mgbe ahụ ka ahụ dị gị mma, na-ege ntị ma jikọọ na Tecment.