<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>编程站点 - Linux</title>
    <link>https://bbs.tcp8.cn/forum.php?mod=forumdisplay&amp;fid=82</link>
    <description>Latest 20 threads of Linux</description>
    <copyright>Copyright(C) 编程站点</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 12 Apr 2026 00:00:01 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bbs.tcp8.cn/static/image/common/logo_88_31.gif</url>
      <title>编程站点</title>
      <link>https://bbs.tcp8.cn/</link>
    </image>
    <item>
      <title>Linux设置上网代理</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=501</link>
      <description><![CDATA[设置临时代理
export http_proxy=http://192.168.1.200:1080export https_proxy=http://192.168.1.200:1080
取消代理unset http_proxyunset https_proxy]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sat, 19 Mar 2022 07:49:57 +0000</pubDate>
    </item>
    <item>
      <title>gdb(GCC的调试工具)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=480</link>
      <description><![CDATA[gdb介绍DB（GNU Debugger）是GCC的调试工具。其功能强大, 现描述如下：GDB主要帮忙你完成下面四个方面的功能：启动程序, 可以按照你的自定义的要求随心所欲的运行程序。可让被调试的程序在你所指定的断点处停住。（断点可以是条件表达式）当程序被停住时, 可以检查此时 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sat, 05 Mar 2022 04:16:33 +0000</pubDate>
    </item>
    <item>
      <title>makefile(批量编译)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=479</link>
      <description><![CDATA[makefile:makefile文件中定义了一系列的规则来指定, 哪些文件需要先编译, 哪些文件需要后编译, 哪些文件需要重新编译, 甚至于进行更复杂的功能操作, 因为makefile就像一个Shell脚本一样, 其中也可以执行操作系统的命令.  makefile带来的好处就是——“自动化编译”, 一 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sat, 05 Mar 2022 03:51:36 +0000</pubDate>
    </item>
    <item>
      <title>gcc(编译器)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=475</link>
      <description><![CDATA[下面以test.c为例介绍gcc的四个步骤:gcc -E test.c -o test.igcc -S test.i -o test.sgcc -c test.s -o test.ogcc test.o -o test一步生成最终的可执行程序:   gcc test.c -o test2.2 gcc常用参数-v  查看gcc版本号, --version也可以-E  生成预处理文件-S  生成汇编文件 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Thu, 03 Mar 2022 05:43:21 +0000</pubDate>
    </item>
    <item>
      <title>vim</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=472</link>
      <description><![CDATA[vi是”visual interface”的简称, 它在Linux上的地位就仿佛Windows中的记事本一样. 它可以执行编辑、删除、查找、替换、块操作等众多文本操作, 而且用户可以根据自己的需要对其进行定制. vi是一个文本编辑程序, 没有菜单, 只有命令.vim更高级一些, 可以理解是vi的高级版 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Tue, 01 Mar 2022 07:49:17 +0000</pubDate>
    </item>
    <item>
      <title>常用的压缩工具</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=471</link>
      <description><![CDATA[gzip和bzip2n 不能压缩目录，只能一个一个文件进行压缩，压缩之后会使原文件消失gzip *    压缩当前目录下所有的文件, 但是目录不能压缩gunzip *  解压当前目录下所有的.gz文件bzip2 *   压缩当前目录下所有的文件, 但是目录不能压缩bunzip2 * 解压当前目录下所有的. bz ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Tue, 01 Mar 2022 07:44:37 +0000</pubDate>
    </item>
    <item>
      <title>sudo apt-get(软件的安装和卸载)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=470</link>
      <description><![CDATA[软件安装：sudo apt-get install 软件名软件卸载：sudo apt-get remove 软件名更新软件列表：sudo apt-get update清理安装包：sudo apt-get clean
软件包安装在Ubuntu系统下必须有deb格式的安装包软件安装sudo dpkg -i xxx.deb软件卸载sudo dpkg -r 软件名


 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Tue, 01 Mar 2022 07:40:41 +0000</pubDate>
    </item>
    <item>
      <title>grep(查找文件内容)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=467</link>
      <description><![CDATA[grep -r（有目录） “查找的内容” 搜索的路径-r参数, 若是目录, 则可以递归搜索-n参数可以显示该查找内容所在的行号-i参数可以忽略大小写进行查找-v参数不显示含有某字符串


搜索当前目录下包含hello world字符串的文件grep -r -n \&quot;hello world\&quot; ./     ------显示 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 27 Feb 2022 05:21:52 +0000</pubDate>
    </item>
    <item>
      <title>find(查找)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=466</link>
      <description><![CDATA[按文件名查询：使用参数 -name
命令：find  路径  -name   \&quot;文件名\&quot;
示例：find /home -name \&quot;*.c\&quot;


按文件类型查询：使用参数 -type
命令：find 路径 -type 类型
类型        
普通文件类型用f表示而不是 -
d -&gt; 目录
l -&gt; 符号链接
b -&gt; 块设备文件
c -&gt; 字符设备文 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 27 Feb 2022 04:53:35 +0000</pubDate>
    </item>
    <item>
      <title>chgrp(修改文件所属组)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=455</link>
      <description><![CDATA[chgrp命令使用方法：chgrp 用户组 文件或目录名示例：修改文件所属组为mytestsudo chgrp mytest file.txt普通用户需要使用管理员权限执行该命令。
 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:45:35 +0000</pubDate>
    </item>
    <item>
      <title>chown(修改文件所有者)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=454</link>
      <description><![CDATA[修改文件所有者chown用法：chown 文件所有者 文件名sudo chown mytest file.txt修改文件所有者和所属组chown用法：chown 文件所有者:文件所属组 文件名sudo chown mytest:mytest file.txtsudo chown mytest.mytest file.txt注意:普通用户需要使用管理员用户权限执行该命 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:44:27 +0000</pubDate>
    </item>
    <item>
      <title>chmod(修改文件权限)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=453</link>
      <description><![CDATA[修改文件权限chmodlinux是通过权限对文件进行控制的, 通过使用chmod命令可以修改文件相关的权限.文字设定法命令：chmod [who] [+|-|=] [mode] 文件名操作对象【who】u -- 用户（user）g -- 同组用户（group）o -- 其他用户（other）a -- 所用用户（all）【默认】操作符 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:41:03 +0000</pubDate>
    </item>
    <item>
      <title>whoami(示当前登陆的用户名)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=452</link>
      <description><![CDATA[显示当前登陆的用户名用户权限、用户、用户组]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:17:26 +0000</pubDate>
    </item>
    <item>
      <title>wc(显示文件行数, 字节数, 单词数)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=451</link>
      <description><![CDATA[显示文件行数, 字节数, 单词数wc -l file显示文件的总行数wc -c file显示文件的总字节数wc -w file显示文件的总单词数

wc file 显示文件的总行数, 单词数和总字节数]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:17:07 +0000</pubDate>
    </item>
    <item>
      <title>( ln)硬链接</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=450</link>
      <description><![CDATA[ln 文件名 硬链接的名字ln test.log test.log.hard使用硬链接应注意事项硬链接不能建在目录上硬连接对绝对路径没有要求硬连接不能跨文件系统硬链接文件和源文件的inode是相同的，文件系统的inode要求唯一，跨文件系统可能会使inode不同, 所以硬链接不能跨文件系统l 硬链 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 05:10:23 +0000</pubDate>
    </item>
    <item>
      <title>(ln)软连接_(相当于windows下快捷方式)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=449</link>
      <description><![CDATA[软链接软连接类似于windows下的快捷方式如何创建软连接ln -s 文件名 快捷方式的名字例如：ln -s aa aa.soft目录也可以创建软连接例如：ln -s tmp tmp.link

创建软链接应注意事项ln创建软连接要用绝对路径，因为如果不使用绝对路径，一旦这个连接文件发生位置变动，就不 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 04:48:53 +0000</pubDate>
    </item>
    <item>
      <title>cat_more_less_head_tail(将文件内容输出到终端)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=448</link>
      <description><![CDATA[cat命令将文件内容一次性输出到终端。使用方式： cat 文件名缺点：终端显示的内容有限，如果文件太长无法全部显示。可用于文件重定向: cat file1&gt;file2, 相当于cp file1 file2
more命令文件内容分页显示到终端，但是只能一直向下浏览，不能回退。
使用方式：more + 文件 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 04:43:17 +0000</pubDate>
    </item>
    <item>
      <title>mv(改名或者移动文件)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=447</link>
      <description><![CDATA[改名或者移动文件 mv file1 file2改名mv file（存在） file1（不存在） mv dir（存在） dir1（不存在）mv file（存在） file2（存在） (覆盖)file文件覆盖file2文件,file改名为file2

移动(第二个参数一定是目录文件)mv file（文件） dir（存在目录）将file文件移动到di ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Sun, 20 Feb 2022 04:04:07 +0000</pubDate>
    </item>
    <item>
      <title>cp(拷贝)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=439</link>
      <description><![CDATA[命令使用方式：cp 源目录或文件 目标目录或文件若有目录的拷贝需要使用-r参数cp 要拷贝的文件（file1） file（不存在）创建file，将file1中的内容拷贝到filecp file1 file（存在）file1覆盖filecp file dir（存在）拷贝file到dir目录cp -r dir（存在） dir1（存在）    ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Fri, 18 Feb 2022 13:42:39 +0000</pubDate>
    </item>
    <item>
      <title>touch_mkdir_rmdir_rm(创建文件_目录/删除目录_文件)</title>
      <link>https://bbs.tcp8.cn/forum.php?mod=viewthread&amp;tid=438</link>
      <description><![CDATA[3.1 which命令显示命令所在的目录, 如which ls   which cp 3.2 touch命令   如果文件不存在, 创建新文件, 如果文件存在, 更新文件的最后修改时间。命令使用方式：touch 文件名3.3 mkdir命令创建新目录, make directory创建方式：mkdir目录名如果创建多级目录需要添加参 ...]]></description>
      <category>Linux</category>
      <author>admin</author>
      <pubDate>Fri, 18 Feb 2022 10:30:58 +0000</pubDate>
    </item>
  </channel>
</rss>