Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

修改/etc/resolv.conf即可比如在其中添加 nameserver 8.8.8.8 nameserver 8.8.4.4

linux下强大的文件分析工具 – nm - 知乎 (zhihu.com) 检查分析二进制文件、库文件、可执行文件中的符号表,返回二进制文件中各段的信息。

objdump options <可执行文件名> -d:将代码段反汇编 -S:将代码段反汇编的同时,将反汇编代码和源代码交替显示,**编译时需要给出-g**,即需要调试信息。 -C:将C++符号名逆向解析。 -l(这个是L):反汇编代码中插入源代码的文件名和行号。 -j section:仅反汇编指定的section。可以有多个-j参数来选择多个section。 举例objdum...

基础用法.y每个 Bison 文件由 %% 分成三部分。 %{ ##include <stdio.h> /* 这里是序曲 */ /* 这部分代码会被原样拷贝到生成的 .c 文件的开头 */ int yylex(void); void yyerror(const char *s); %} /* 这些地方可以输入一些 bison 指令 */ /* 比如用 %st...

定义%{ Declarations %} Definitions %% Rules %% User subroutines 输入文件的第 1 段 %{ 和 %} 之间的为 声明(Declarations) ,都是 C 代码,这些代码会被原样的复制到 lex.yy.c 文件中,一般在这里声明一些全局变量和函数,这样在后面可以使用这些变量和函数。 第 2 段 %} 和 %%...

对于文本中每一行(匹配Pattern的部分)根据分隔符划分,并做action操作 分隔符可指定,默认空格或tab 比如 log.txt文本内容如下: 2 this is a test 3 Are you like awk This's a test 10 There are orange,apple,mongo 行匹配基础用法awk '{[pattern] act...

grep [-acinv] [--color=auto] '搜寻字符串' filename -a :将 binary 文件以 text 文件的方式搜寻数据 -c :计算找到 ‘搜寻字符串’的次数 -i :忽略大小写的不同 -n :顺便输出行号 -v :反向选择,不含搜寻字符串的 grep -i 'D' <file2.txt | sort >...

lessless /etc/profile 参数 -N 显示行号 less的动作命令: j 向下移动一行;同vi k 向上移动一行;同vi f 向下滚动一屏;forword b 向上滚动一屏;backword 以上部分命令,请使用q退出 head tailhead -n 10 /etc/profile #显示/etc/profile的前10行内容 tail -n 5 /etc/profi...

stat file display file or file system status $ stat answer1 File: answer1 Size: 82 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 1634042 Links: 1 Acces...

概述软硬极限极限分为软性和硬性。 The hard limit is the maximum value that is allowed for the soft limit. Any changes to the hard limit require root access. The soft limit is the value that Linux uses to limit the...