cat 的用途很多,文件编辑的时候也常常使用。
1. 查看文件
$ cat daily_log
just for myself
I just love u
end
(行数较多的时候可以使用more或less 分屏查看)
2. 拼接文件
$ cal 1 2011 > 1
$ cal 2 2011 > 2
$ cat 1 2 > calender
(把2个月的日历输出到calender里面)
$ cat calendar
(查看calender文件)
January 2011
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
February 2011
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28
”>“和”>>“的区别:
> :是重定向符,会覆盖旧的文件以后再写入新的内容
>> : 是追加符,添加在文件尾部
3. 常用通道
-n 对显示的所有行进行编号
$ cat daily_log
1 just for myself
2 I just love u
3 end
-s 合并空白行
分享到:
相关推荐
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...
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...
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 ...
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版本
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 ...
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, ...
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, ...
OpenType则在TrueType的基础上增加了对多种语言的支持和更多的字形变体。 "压缩包子文件的文件名称列表:just"可能包含的是"Just"字体的各个字符文件,每个文件代表一个特定的字符或字符集。在设计和开发过程中,...
"JustTrustme"是一个工具或库,专门用于处理SSL(Secure Sockets Layer)证书验证的问题。SSL是互联网上广泛采用的一种安全协议,用于在客户端和服务器之间建立加密连接,确保数据传输的私密性。在通常情况下,当...
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 工具的简介 功能: 绕过应用程序中对自签名SSL证书或其他不受信任证书的检查。 允许用户捕获和分析应用程序的加密流量,从而更容易进行调试和安全审计。 适用场景: 安全研究和渗透测试:在合法的授权...
JustTrustMe是Github上的一个开源工程,他是一个Xposed模块,用来禁止SSL证书验证。以下是其简介。 JustTrustMe:An xposed module that disables SSL certificate checking. This is useful for auditing an ...
a copy on putty. just for windows and linux ssh.
1. **初识Unix**:Linus是如何接触到Unix系统的,以及Unix对他后续工作的启发。 2. **购买第一台386电脑**:这标志着他开始着手开发自己的操作系统。 3. **Linux的起源**:讲述了Linux是如何从一个简单的实验项目...
《XposedInstaller_3.1.5__JustTrustMe.rar:Android系统自定义与安全增强的探索》 在Android世界中,Xposed框架是开发者和高级用户进行系统级自定义和功能扩展的重要工具。XposedInstaller_3.1.5__JustTrustMe.rar...
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 ...
JustTrustMe 3.0 自适配Hook混淆后的网络请求库代码(自适配okhttp)
Fiji不仅继承了ImageJ的基础功能,还通过大量的插件、库和自动化脚本扩展了其功能,使其成为生物医学、物理学、工程学以及许多其他领域的研究者进行图像分析的首选工具。 1. **系统兼容性** - Fiji的设计考虑到了...