`
DAQIQIU
  • 浏览: 22752 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

my linux command tips

 
阅读更多
  1. grep

grep <expression> <path>

grep '^public' /etc/passwd #search line begin with public in '/etc/passwd'

grep options:

-E enable extends pattern

-i case insensitive

-n show line number

2.  find

find <path> <expressions>:default path . default expressions-print

expression: e1 -a e2:parse e2 only when e1 is true.same as e1 e2

e1,21:parse e1 and e2.

find expresssions:-group -type -user -exec cmd

 

3.echo

echo ${var}char:display value of var and flow with char.

4 readonly var:make the value of the var is read only.

5 export

global variable set.

分享到:
评论

相关推荐

    The Linux Command Line 中文版

    《The Linux Command Line 中文版》这本书是一部关于Linux命令行操作的经典教程,由William E. Shotts Jr.撰写。它既适合初学者入门学习,也能够帮助有经验的Linux用户进一步提升技能。本书内容全面,涵盖了Linux...

    OS + linux command / Linux Command / Linux command / linux Command

    标题中的“OS + Linux Command”指的是操作系统,特别是Linux操作系统下的命令行工具。在Linux系统中,命令行界面是用户与操作系统交互的主要方式之一,通过输入各种命令,用户可以执行各种任务,如文件管理、进程...

    Linux Command Line

    This book is part of the LinuxCommand.org project, a site for Linux education and advocacy devoted to helping users of legacy operating systems migrate into the future. You may contact the Linux...

    Linux Command Background

    Linux Command Background Linux Command Background Linux Command Background

    The Linux command line.pdf

    《The Linux Command Line》是一本深入介绍Linux命令行操作的指南,作者为William E. Shotts, Jr.。这本书是***项目的组成部分,旨在帮助用户从传统操作系统过渡到未来的Linux系统中。书中详细介绍了命令行在Linux...

    linux command (全)

    linux command (全) 介绍各种linux指令代码,相当的全。

    Linux command introduction.

    command line to tell a Linux system what to do. Here’s an example command that counts lines of text in a file, myfle: wc -l myfile We’ll cover the most important Linux commands for the aver‐ age ...

    The Linux Command Line

    Designed for the new command line user, this 555-page volume covers the same material as LinuxCommand.org but in much greater detail. In addition to the basics of command line use and shell scripting,...

    linux command line.pdf

    根据给定的文件信息,我们可以看出,文件中提到的《Linux Command Line》这本书是由William E. Shotts, Jr.所著,属于***项目的一部分,旨在教育用户如何使用Linux命令行,促进传统操作系统用户向未来迁移。本书有多...

    The Linux Command Line, 2nd Edition (True PDF)

    标题“《Linux命令行(第二版)》(True PDF)”表明这本书是一本关于Linux命令行操作的电子书籍,使用PDF格式。描述部分强调了该书是一个完整的Linux命令行入门指南,并提到了此书的第二版包括了对bash 4.x版本新...

    The Linux Command Line.pdf

    《Linux命令行》这本书是***项目的产物,旨在帮助用户学习和掌握Linux操作系统中的命令行操作。书中详细介绍了Linux命令行的基础知识和高级用法,适合有不同背景的读者进行学习。 首先,书中解释了什么是shell(壳...

    The Linux Command Line 中文版 高清

    The Linux Command Line 中文版 高清

    The Linux Command Line 原版pdf by Shotts

    Linux kernel. You can read that story in lots of Linux books. Nor am I going to tell you the story of how, some years earlier, Richard Stallman began the GNU Project to create a free Unix-like ...

Global site tag (gtag.js) - Google Analytics