一个月彻底学会Linux --第二天

这篇博客介绍了Linux中简单命令的使用,包括命令帮助、ls命令的多种选项、date命令的参数及操作,以及timedatectl命令用于修改时区和时间的方法。强调通过实践操作来熟悉和掌握这些基本命令。
摘要由CSDN通过智能技术生成

Linux里简单命令的使用

根据下图写出简单命令的使用方式

 补全命令和参数:使用Tab键

终止当前进程:Ctrl +C

命令帮助

1 .使用bash内部命令帮助

[root@ls-Kk9vVGkm ~]# help cd

2. man:使用man手册进行命令查找

man + 具体命令

如: man ls                                                                              

LS(1)                                               User Commands                                               LS(1)

NAME
       ls - list directory contents

SYNOPSIS
       ls [OPTION]... [FILE]...

DESCRIPTION
       List  information  about the FILEs (the current directory by default).  Sort entries alphabetically if none of
       -cftuvSUX nor --sort is specified.

       Mandatory arguments to long options are mandatory for short options too.

       -a, --all
              do not ignore entries starting with .

       -A, --almost-all
              do not list implied . and ..

       --author
              with -l, print the author of each file

       -b, --escape
              print C-style escapes for nongraphic characters

3.help命令

[root@ls-Kk9vVGkm ~]# cat --help
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s) to standard output.

With no FILE, or when FILE is -, read s
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值