<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux-Command on 蛇索尼 Aiden</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/</link><description>Recent content in Linux-Command on 蛇索尼 Aiden</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>shesl-meow@qq.com (佘崧林)</managingEditor><webMaster>shesl-meow@qq.com (佘崧林)</webMaster><lastBuildDate>Tue, 12 Nov 2019 18:50:46 +0800</lastBuildDate><atom:link href="https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/index.xml" rel="self" type="application/rss+xml"/><item><title>patch</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/patch/</link><pubDate>Tue, 12 Nov 2019 18:50:46 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/patch/</guid><description>Linux 中的 patch 命令与 diff 命令是一对命令。 如果我们将 diff 命令的输出导入到一个文件中，这个文件就可以称作一个 “补丁”，利用 patch 命令就可以将变化 apply 到每一个具体</description></item><item><title>CRON</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/crontab/</link><pubDate>Tue, 30 Jul 2019 11:01:03 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/crontab/</guid><description>学习网址： https://www.marksanborn.net/linux/learning-cron-by-example/ http://www.unixgeeks.org/security/newbie/unix/cron-1.html If you are using a Linux system and want to schedule a task to run in the future you will probably need to know cron. Cron is much like Window’s Scheduled Tasks. The only difference is that cron is conifgured by a simple text file. Now obviously cron is very dependent and sensitive to the time.</description></item><item><title>gdb</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/gdb/</link><pubDate>Tue, 30 Jul 2019 11:01:03 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/gdb/</guid><description>Quick Manual 常用命令: 列出程序中的所有变量名（gdb）： 1 (gdb) info variables 列出程序中的所有函数名（gdb）： 1 (gdb) info functions 列出一个函数的汇编代码（gdb）： 1 (gdb) disas main</description></item><item><title>iptables</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/iptables/</link><pubDate>Tue, 30 Jul 2019 11:01:03 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/iptables/</guid><description>学习网址： https://www.jianshu.com/p/c2aee2ff7bd8 https://www.jianshu.com/p/62028875d53e 一个关于转发的教程： https://www.91yun.co/archives/3042 iptables： 用于实现Linux下访问控制的功能的，它分为硬件的或者软件的防火墙两种。无论是在哪个网</description></item><item><title>vim</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/vim/</link><pubDate>Tue, 30 Jul 2019 11:01:03 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/vim/</guid><description>学习地址：vimtutor vimtutor 是一个由 vim 官方提供的教程，在 bash 界面直接运行 vimtutor 即可查看。 Lesson 1 移动光标： 1 2 3 4 5 ^ k &amp;lt; h l &amp;gt; j v HINT： h 的键位</description></item><item><title>tmux.md</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/tmux/</link><pubDate>Mon, 10 Jun 2019 04:41:10 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/tmux/</guid><description>https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/</description></item><item><title>`du`</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/du/</link><pubDate>Wed, 27 Mar 2019 12:06:27 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/du/</guid><description>用于计算文件或文件夹大小的命令，若要计算一个文件夹的大小： 1 $ du -h &amp;lt;your-folder&amp;gt; 若要只显示一个文件夹大小的总和： 1 $ du -hcs &amp;lt;your-folder&amp;gt;</description></item><item><title>`Fold`</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/fold/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/fold/</guid><description>fold: manual: Usage: fold [OPTION]&amp;hellip; [FILE]&amp;hellip; Wrap input lines in each FILE, writing to standard output. example: 1 2 3 4 5 6 7 $ echo &amp;#34;Hello&amp;#34; &amp;gt; t1 $ echo &amp;#34;World&amp;#34; &amp;gt; t2 $ fold t1 t2 Hello World</description></item><item><title>`netstat`</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/netstat/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/netstat/</guid><description>学习地址： https://linuxtechlab.com/learn-use-netstat-with-examples/ learn netstat with example. Netstat is a command line utility that tells us about all the tcp/udp/unix socket connections on our system. It provides list of all connections that are currently established or are in waiting state. This tool is extremely useful in identifying the port numbers on which an application is working and we can also make sure if an application is working</description></item><item><title>`wc`</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/wc/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/wc/</guid><description>学习地址： https://www.tecmint.com/wc-command-examples/ The wc(word count) command in Unix/Linux operating systems is used to find out number of newline count, word count, byte and characters count in a files specified by the file arguments. The syntax of wc command as shown below: 1 $ wc [options] filenames The following are the options and usage provided by the command: 1 2 3 4 5 wc -l : Prints</description></item><item><title>Awk</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/awk/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/awk/</guid><description>Brief Introduction 学习网址：https://www.tecmint.com/use-linux-awk-command-to-filter-text-st</description></item><item><title>command.md</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/command/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/command/</guid><description>Question: How to check if a program exists from a Bash script? Answer: three possible method: POSIX compatible: 1 $ command -v &amp;lt;the_command&amp;gt; For bash specific environments: 1 $ hash &amp;lt;the_command&amp;gt; # For regular commands. Or... 1 $ type &amp;lt;the_command&amp;gt; # To check built-ins and keywords Many operating systems have a which that doesn&amp;rsquo;t even set an exit status, meaning the if which foo won&amp;rsquo;t even work there and will</description></item><item><title>grep</title><link>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/grep/</link><pubDate>Mon, 25 Feb 2019 15:16:23 +0800</pubDate><author>shesl-meow@qq.com (佘崧林)</author><guid>https://blog.haitai-social.com/note/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8%E6%8E%A5%E5%8F%A3/linux-command/grep/</guid><description>Example https://stackoverflow.com/questions/16956810/how-do-i-find-all-files-containing-specific-text-on-linux Find all files containing specific text: 1 $ grep -rnw &amp;#39;/path/to/somewhere/&amp;#39; -e &amp;#39;pattern&amp;#39; -r or -R is recursive, -n is line number, and -w stands for match the whole word. -l (lower-case L) can be added to just give the file name of matching files. Along with these, --exclude, --include, --exclude-dir flags could be used for efficient searching: This will only search through those files which have .c</description></item></channel></rss>