Linux chapter 1

1.Unix的发明者:Ken Tompson 和 Dennis Ritche

2.Linux的发明者:Linus  Torvald

3.Linux架构

主要由kernal,shell,utilities and programming

4.Distribution of Linux

(1) RedHat Enterprise Linux AS :used for large servers supports 16 CPUS.

(2) RedHat Enterprise Linux ES:used for small and middle servers and supports up to two CPUS.

(3 RedHat Enterprise Linux WS:used as desktop operating systerm and supports up to two CPUS.

(4) Mandrake user-friendly

(5) Debian earlist distribution of Linux

(6) SuSE German Linux

5.date命令

options:

(1) %m,显示一年中的月份 (month)

(2) %d,显示一年中的日期 (date)

(3) %y,显示显示年份 (year)

(4) %D,以mm/dd/yy显示日期 (DATE 与 TIME对应)

 (5) %H, 显示小时(hour)因为month与minute的首字母相同所以改为大写

(6) %M,显示分钟(minute)

(7)%S,显示秒(second)

(8)%T,以HH/MM/SS显示时间 (Time)

(9) %a,显示缩写的星期几 (缩写的英文为 abbreviated,星期小于月份故缩写的星期几用%a)

(10)%h,显示缩写的月份 (用时间表示中的第一个参数%H,小时参数的小写表示月份的缩写)

(11)%r,以AM/PM表示法来显示时间

6.Modify the screen

(1) clear it is used to clear the terminal screen

(2) tput clear :it clears the standard output device,the screen,and positions the cursor at the left top corner

(3) tput cup :  it is followed by the screen coordinates and positions the cursor ai the specified row and column.

(4) tput smso: it sets the screen to reverse video

(5)tput rmso:it sets the screen back to normal

7.who

(1)-m display the name of the current user logged in, it is the same as who am i

(可以理解为,who -m = who am i所以参数为m)

(2)-q prints only the login name and the number of users logged in

(记忆:query询问,问的东西很多,有全部登录用户的姓名和登录用户的数量)

8.man and info

(1)定义:man与info都是对命令进行解释,输出关于命令的信息

(记忆,man对cmd给出info)

(2)man display the manual page of Linux

Item:

c1: NAME Name of the command and its one line descrption

c2:SYNOPSIS(概述)Command usage of command along with the optional and non-optional arguments

(概述:带有可选和非可选参数的命令用法)

c3:DESCRIPTION Details on how to use the command abd ab explanation of each option

....

(3)info + cmd

item:

c1: --apropos = string search the indices of all the manuals and display the result.

c2:--output = FILENAME Create a file in the current directory and writes the result of the info command in the file instead of displaying the result on the standard output

c3:-h --help display the help page and exit

c4:--version displays the version information of the info command and exit

9.The function of the Linux

(1) samba is the protocal used by the Microsoft operating systerm to share file and print services.

(2) Shared Libraries These are sets of functions or sub-routines maintained as a set of files,All the applications that use these functions access the functions frome the shared library files instead of individual maintaining(维护) code for the functions.

(3) Network Information Service (NIS) : It is possible to share passwords and group files across a network in Linux using the NIS.(用于在网络上共享文件和资源)

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值