-
进程命令ps/top/kill
所属栏目:[Linux] 日期:2021-01-31 热度:106
进程: 通俗的说就是?当前正在执行的一个程序 命令: ps 英文: process status 作用: 查看进程的详细状况 选项: a:显示终端上的所有进程,包括其他用户的进程 u:显示进程的详细状况 x:显示没有控制终端的进程 使用: #?查看当前用户通过终端启动的进[详细]
-
which命令和bin目录
所属栏目:[Linux] 日期:2021-01-31 热度:79
命令: which 作用: 查看执行命令所在位置 使用: which?ls which?useradd 等等。。。 bin和sbin: 绝大多数可执行文件都保存在 /bin、/sbin、/usr/bin、/usr/sbin; /bin:(binary),是二进制执行文件目录,主要用于具体应用; /sbin:(system?binary[详细]
-
超级用户和组管理
所属栏目:[Linux] 日期:2021-01-31 热度:116
超级用户: root账号通常用于系统的维护和管理,具有所有访问权限,一般不推荐直接使用root账号登录系统, 在Linux系统安装过程中,系统会自动创建一个?用户账号,这个默认的用户就称为“标准?用户” sudo: su?是?substitute?user的缩写,表示使用另一个[详细]
-
echo和重定向
所属栏目:[Linux] 日期:2021-01-31 热度:85
命令: echo 作用: echo有重复的意思,会在终端中显示参数指定的文字,通常会和重定向联合使用 使用: echo?文字内容 例子: 在终端中显示hello echo?hello 命令: > 和 >> 作用: Linux允许将命令执行结果重定向到一个文件,将本应显示在终端上的内容?输[详细]
-
拷贝和移动
所属栏目:[Linux] 日期:2021-01-31 热度:182
命令: cp 对应英文: copy 作用: 复制文件或目录 选项: -f:已存在的目标文件直接覆盖,不会提示 -i:覆盖文件前提示,接着输入 y 或 n -r:若给出的源文件是目录文件,则cp将递归复制该目录下的所有子目录和文件,目标文件必须是一个目录名 用法: cp[详细]
-
Ubuntu16.04 安装ROS及其IDE
所属栏目:[Linux] 日期:2021-01-31 热度:167
一. ROS的安装 ROS Kinetic Kame -> Ubuntu 系统设置 -> 软件和更新 -> 下载自选择其他站点 -> 选择清华园的服务器 sudo sh -c /etc/apt/sources.list.d/ros-latest.list sudo apt-key adv --keyserver hkp: sudo apt- sudo apt- install ros-kinetic-desk[详细]
-
awk - Unix, Linux Command---reference
所属栏目:[Linux] 日期:2021-01-30 热度:82
副标题#e# http://www.tutorialspoint.com/unix_commands/awk.htm gawk - pattern scanning and processing language gawk?[?POSIX?or?GNU?style options ]?-f? program-file ?[?--?] file ...?gawk?[?POSIX?or?GNU?style options ] [?--?]? program-text ?[详细]
-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2021-01-30 热度:157
副标题#e# http://nmap.org/bennieston-tutorial/ Nmap is a free,open-source port scanner available for both UNIX and Windows. It has an optional graphical front-end,NmapFE,and supports a wide variety of scan types,each one with different be[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2021-01-30 热度:103
副标题#e# http://www.win.tue.nl/~aeb/linux/lk/lk-12.html 12.?Handling of asynchronous events One wants to be notified of various events,like data that has become available,files that have changed,and signals that have been raised. FreeBSD[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2021-01-30 热度:184
副标题#e# http://www.grymoire.com/unix/sed.html Quick Links - NEW table border="1" tr Sed Pattern Flags /tr tr td a href="http://www.grymoire.com/unix/Sed.html#uh-6"gt;/g?- Global/td /tr tr td a href="http://www.grymoire.com/unix/Sed.html[详细]
-
Boost application performance using asynchronous I/O-ref
所属栏目:[Linux] 日期:2021-01-30 热度:193
副标题#e# Linux asynchronous I/O is a relatively recent addition to the Linux kernel. It's a standard feature of the 2.6 kernel,but you can find patches for 2.4. The basic idea behind AIO is to allow a process to initiate a number of I/O[详细]
-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2021-01-30 热度:197
http://my.oschina.net/immk/blog/193926 动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新 一、crontab定时任务 发现了crontab这个东西 简单实践了一下,把使用的过程写到下面: 首先[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2021-01-30 热度:142
reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.html When we want to delete a directory and everything in it,we normally usually use rm -rf. However,this? is a bad habit to get into. If you make a mistake[详细]
-
Linux 线程实现机制分析--转
所属栏目:[Linux] 日期:2021-01-28 热度:146
副标题#e# div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论[详细]
-
linux下logrotate配置和理解---转
所属栏目:[Linux] 日期:2021-01-27 热度:182
对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件,对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件。logrotate 还[详细]
-
Linux 信号signal处理函数--转
所属栏目:[Linux] 日期:2021-01-27 热度:54
副标题#e# alarm(设置信号传送闹钟)相关函数 signal,sleep 范例 #include void handler() {printf("hello/n");}main(){int i;signal(SIGALRM,handler);alarm(5);for(i=1;i kill(传送信号给指定的进程)相关函数 raise,signal 表头文件 #include #inclu[详细]
-
Signal Handling--ref
所属栏目:[Linux] 日期:2021-01-27 热度:99
副标题#e# A program error such as dividing by zero or issuing an address outside the valid range. A user request to interrupt or terminate the program. Most environments are set up to let a user suspend the program by typing C-z ,or termi[详细]
-
linux定时任务之crontab
所属栏目:[Linux] 日期:2021-01-27 热度:195
1.使用crontab crontab -u //设定某个用户的cron服务?crontab -l //列出某个用户cron服务的详细内容?crontab -r //删除某个用户的cron服务? 2. cron表达式 基本格式?:?*??*??*??*??*??command?分?时?日?月?周?命令?第1列表示分钟1~59?每分钟用*或者?*/1表[详细]
-
linux diff(differential) 命令
所属栏目:[Linux] 日期:2021-01-27 热度:69
副标题#e# temp.diff table class="mtable" style="margin-bottom: 2em; border: 0px solid silver; background-color: #e5e5e5; width: 858px; margin-left: auto; margin-right: auto; color: #454545; font-family: Verdana,sans-serif; font-size: 16px[详细]
-
Linux 的启动流程--转
所属栏目:[Linux] 日期:2021-01-27 热度:79
副标题#e# 半年前,我写了,探讨BIOS和主引导记录的作用。那篇文章不涉及操作系统,只与主板的板载程序有关。今天,我想接着往下写,探讨操作系统接管硬件以后发生的事情,也就是操作系统的启动流程。 这个部分比较有意思。因为在BIOS阶段,计算机的行为基[详细]
-
BEA-141150 - An error occurred while preparing application c
所属栏目:[Linux] 日期:2021-01-27 热度:105
网上查询的 Cause:This is either because the resource it self is not available on the administration server or due a misconfiguration of security such that the managed server is not properly authorized to download application resources.[详细]
-
Linux原始套接字实现分析---转
所属栏目:[Linux] 日期:2021-01-27 热度:125
副标题#e# 本文从IPV4协议栈原始套接字的分类入手,详细介绍了链路层和网络层原始套接字的特点及其内核实现细节。并结合原始套接字的实际应用,说明各类型原始套接字的适应范围,以及在实际使用时需要注意的问题。 一、原始套接字概述 链路层原始套接字可以[详细]
-
Linux下C语言的调试--转
所属栏目:[Linux] 日期:2021-01-27 热度:139
调试是每个程序员都会面临的问题. 如何提高程序员的调试效率,更好更快地定位程序中的问题从而加快程序开发的进度,是大家共同面对的问题. 可能Windows用户顺口就会说出:用VC呗 :-),它提供了设置断点,单步跟踪等的图形界面,使调试起来直观易用. 但Linux用户[详细]
-
Install Tomcat 6 on CentOS or RHEL --转载
所属栏目:[Linux] 日期:2021-01-27 热度:139
副标题#e# p class="entryContent"? p class="entryContent"source:http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos p class="entryContent"This post will cover installation and configuration of Tomcat 6 on CentOS 5. We will als[详细]
-
linux下c的网络编程---转载
所属栏目:[Linux] 日期:2021-01-25 热度:123
副标题#e# 1.tcp协议 2. udp协议 #p#副标题#e# 3.并发编程 #p#副标题#e#[详细]