`
贫僧不吃肉
  • 浏览: 62982 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Just Unix基础重温之wc

阅读更多

wc,让我想起当年有个外国记者刁难周总理:“你们中国有多少厕所啊?”

总理云:”一男一女,两个“

呵呵,多么机智的回答。

缅怀总理~~

 

 

wc除了表示厕所以外,还是有其他用处滴~

 

1.wc 用来统计一个或多个文件的行数,词数和字符数

(注:词,指任何以空格、回车、tab结束的字符串)

$ cat daily_log

just for myself

I just love u

end

 

$ wc daily_log

3 8 34 daily_log

3行,8词,34字)

 

 

2.wc还可以用来统计多个文件

 

      $ ls

      daily_log   other

 

      $ wc *

      3   8   34   daily_log

      1   1   1    other

      4   9   35   total

 注:此时wc既单独输出每个文件信息,也输出所有文件总的信息

 

 

2
2
分享到:
评论

相关推荐

    英文原版-Unix in 24 Hours Sams Teach Yourself 5th Edition

    In just 24 lessons of one hour or less, Sams Teach Yourself Unix in 24 Hours helps you get up and running with Unix and Unix-based operating systems such as Mac OS X and Linux.Designed for beginners...

    Learning_The_UNIX_Operating_System

    Learning the Unix Operating System is a handy book for someone just starting with Unix or Linux, and it's an ideal primer for Mac and PC users of the Internet who need to know a little about Unix on ...

    UNIX v7.rar

    Seventh Edition Unix, also called Version 7 Unix, Version 7 or just V7, was an important early release of the Unix operating system. V7, released in 1979, was the last Bell Laboratories release to see...

    Unix Power Tools Third Edition

    It's not just a collection of recipes (such collections tend to leave you hanging if you want to do something a little differently), it's not just a book of documentation (books like that have ...

    justtrustme v4版本

    justtrustme v4版本

    UNIX User's Handbook, 2nd Edition

    UNIX end-users desperately need an up-to-date reference guide with real depth: one that teaches UNIX commands and doesn't just list them! In UNIX User's Handbook, second edition, best-selling UNIX ...

    Prentice.Hall.PTR.UNIX.Shells.by.Example.4th.Edition

    Shell Programming QuickStart: makes first-time shell programmers productive in just 15 pages Complete, practical debugging chapter Updated coverage of the latest UNIX and GNU/Linux versions of awk, ...

    HARLEY HAHN'S GUIDE TO UNIX AND LINUX

    When you use Unix, you are interacting with these people, just as surely as you are interacting with me as you read this page. Unix and Linux are wonderful because they were developed by bright, ...

    Just

    OpenType则在TrueType的基础上增加了对多种语言的支持和更多的字形变体。 "压缩包子文件的文件名称列表:just"可能包含的是"Just"字体的各个字符文件,每个文件代表一个特定的字符或字符集。在设计和开发过程中,...

    JustTrustme-20200519_JustTrustMe_justtrustme_

    "JustTrustme"是一个工具或库,专门用于处理SSL(Secure Sockets Layer)证书验证的问题。SSL是互联网上广泛采用的一种安全协议,用于在客户端和服务器之间建立加密连接,确保数据传输的私密性。在通常情况下,当...

    “JustTrustMe” 是一个Android平台上的开源工具,它被设计用来绕过某些类型的SSL/TLS证书验证

    JustTrustMe 工具的简介 功能: 绕过应用程序中对自签名SSL证书或其他不受信任证书的检查。 允许用户捕获和分析应用程序的加密流量,从而更容易进行调试和安全审计。 适用场景: 安全研究和渗透测试:在合法的授权...

    GNU m4 is an implementation of the traditional Unix macro processor

    Besides just doing macro expansion m4 has builtin functions for including named files, running UNIX commands, doing integer arithmetic, manipulating text in various ways, recursion etc... m4 can be ...

    【JustTrustMe】破解 app 爬虫网络问题

    JustTrustMe是Github上的一个开源工程,他是一个Xposed模块,用来禁止SSL证书验证。以下是其简介。 JustTrustMe:An xposed module that disables SSL certificate checking. This is useful for auditing an ...

    XposedInstaller_3.1.5__JustTrustMe.rar

    《XposedInstaller_3.1.5__JustTrustMe.rar:Android系统自定义与安全增强的探索》 在Android世界中,Xposed框架是开发者和高级用户进行系统级自定义和功能扩展的重要工具。XposedInstaller_3.1.5__JustTrustMe.rar...

    UNIX环境高级编程第二版.chm 英文版 Advanced Programming in the UNIX® Environment: Second Edition

    I just got my hands on a copy, and the first few chapters have been fascinating."--Open Systems Today"A much more readable and detailed treatment of UNIX internals can be found in Advanced ...

    《just for fun》 Linus Torvalds 自传 txt格式

    1. **初识Unix**:Linus是如何接触到Unix系统的,以及Unix对他后续工作的启发。 2. **购买第一台386电脑**:这标志着他开始着手开发自己的操作系统。 3. **Linux的起源**:讲述了Linux是如何从一个简单的实验项目...

    idsa_form unix

    a copy on putty. just for windows and linux ssh.

    JustTrustMe-v3.apk.1

    JustTrustMe 3.0 自适配Hook混淆后的网络请求库代码(自适配okhttp)

    Fiji(Fiji is just ImageJ)

    Fiji不仅继承了ImageJ的基础功能,还通过大量的插件、库和自动化脚本扩展了其功能,使其成为生物医学、物理学、工程学以及许多其他领域的研究者进行图像分析的首选工具。 1. **系统兼容性** - Fiji的设计考虑到了...

Global site tag (gtag.js) - Google Analytics