![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux命令
yunshouhu
爱Java,更爱Android,学VC,搞c/c++的我。专注移动安全,游戏安全,逆向安全!十年戎马成神路,君临天下风雷动! https://github.com/yunshouhu
展开
-
Ubuntu 12.10 64bit 下Android 环境设定
http://www.linuxidc.com/Linux/2012-12/76181.htm1. 安装所有的套件sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i转载 2013-03-22 11:00:00 · 669 阅读 · 0 评论 -
linux gcc编译常用命令之gun工具链的使用
http://edu.51cto.com/lesson/id-20331.htmllinux gcc编译常用命令之gun工具链的使用Binutils源码工具包中的常用命令:gcc g++ ld ldd nm strings readelf addr2line strip objcopy as ar gdb1、gcc/g++编译器示例:gcc -c test.cgcc -原创 2017-01-08 23:25:59 · 2656 阅读 · 1 评论 -
Linux strace命令
strace -o output.txt -T -tt -e trace=allstrace -o output.txt -T -tt -e trace=open 简介strace常用来跟踪进程执行时的系统调用和所接收的信号。 在Linux世界,进程不能直接访问硬件设备,当进程需要访问硬件设备(比如读取磁盘文件,接收网络数据等等)时,必须由用户态模式切换至内核态模式,转载 2016-11-08 18:50:07 · 409 阅读 · 0 评论 -
Linux安全检查脚本
转自:http://www.freebuf.com/sectool/108564.htmlcheck.sh#!/bin/bashecho " (__)"echo " (oo)"echo " /------\/ "echo " / | || "echo " * /\---/\ "echo " ~~ ~~ "转载 2016-10-09 14:25:41 · 3847 阅读 · 0 评论 -
查询linux程序对应的开源代码
1、查命令所在路径which tracepathwhereis tracepath结果是:/usr/bin/tracepath2、dpkg -S /usr/bin/tracepath结果是:iputils-tracepath: /usr/bin/tracepath可以知道tracepath的源码在iputils中。3、去网上搜索iputils,百度 (linu原创 2014-07-02 10:05:02 · 1111 阅读 · 0 评论 -
Nginx 安装配置入门
http://www.runoob.com/linux/nginx-install-setup.htmlhttp://nginx.org/en/download.htmlhttp://tengine.taobao.org/book/Nginx是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器反向代理(Reverse Proxy)方原创 2015-11-11 15:49:36 · 739 阅读 · 0 评论 -
java命令的使用和运行Java程序
1、执行class时指定java -cp .;lib;mysql-connector-java-5.1.10-bin.jar testMysql原创 2014-07-23 18:09:14 · 1094 阅读 · 0 评论 -
linux常用命令备注
删除非空目录: rm -rf 目录名解压:解压:tar xvfz xxx.tar.gz.解压bz2文件: tar jxvf 文件名.tar.bz2压缩:tar czf xxx.tar.gz xxxx查看文件大小:ls -lht查看文件夹大小:du -sh *查看剩余磁盘空间df -hl关机 sudo shutdown -h now切换root用户sudo pass原创 2012-12-05 14:16:27 · 1177 阅读 · 0 评论 -
ubuntu的可用sourceslist配置
#网易的源(163源,无论是不是教育网,速度都很快)deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiversedeb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiversedeb http://原创 2014-07-21 10:00:29 · 11120 阅读 · 0 评论 -
Linux常用命令大全
系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT /dev/sda 在磁盘上执行测试性读取操作 cat /proc/转载 2013-12-07 09:18:09 · 763 阅读 · 0 评论 -
linux 编译命令备注
1、编译命令:libtoolizeaclocalautomake --add-missingautoreconf./configuremakemake install$ ./configure --prefix=/usr/local/apache2$ make$ make install$ /usr/local/apache2/bin/apachectl start#原创 2013-12-12 17:11:02 · 1033 阅读 · 0 评论 -
linux shell 编程实例
http://blog.chinaunix.net/uid-24929997-id-3060653.html1、case.sh#!/bin/bash# script to test case statementaction="update"case $action in "update") echo "update the db原创 2013-12-02 11:52:43 · 1646 阅读 · 0 评论 -
vi 常用命令行
vi 常用命令行1.vi 模式 a) 一般模式: vi 处理文件时,一进入该文件,就是一般模式了. b) 编辑模式:在一般模式下可以进行删除,复制,粘贴等操作,却无法进行编辑操作。等按下‘i,I,o,O,a,A,r,R’等 字母之后才能进入编辑模式.通常在linux中,按下上述字母时,左下方会出现'INSERT'或者‘REPLACE’字样,才可以转载 2013-12-07 09:47:30 · 758 阅读 · 0 评论 -
linux c 抓取网页
#include #include #include #include #include #include #include #include #include #include /* "BSIZE" is the size of the buffer we use to read from the socket. */#define BSIZE 0x1000/* G原创 2013-04-20 16:57:04 · 1149 阅读 · 0 评论 -
解压 Android 系统中的 system.img
转自:https://www.jianshu.com/p/db70835d41c8system.img 是什么system.img 是 Android 系统中用来存放系统文件的镜像 (image) ,文件格式为 yaffs2 或者 ext 的文件系统 ,在 Android 源码编译后会生产该文件。它将被 init 进程通过解析 init.rc 文件挂载 (mount) 到 /system ...转载 2019-01-15 15:11:20 · 2360 阅读 · 0 评论