-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-31 热度:67
aabbcc Hello world! Hello Jack!Hello China!Hello Nick! $ test.txt # 删除第二行到最后一行 选项 -i $ -i '1d' test.txt $ test.txt # 在第一行下面新增一行,内容为 test.txt # 在最后一行下面新增一行,内容为 , test.txt # 一次增加多行需要使用换行[详细]
-
linux kill 命令
所属栏目:[Linux] 日期:2021-01-31 热度:59
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options :- span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-31 热度:124
副标题#e# $ $ $ buildAgent.dist.properties buildAgent.properties name=tcagent1 $ cd /var/local/ -R tcuser:tcuser buildagent/ $ #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin/=#p#副标题#e# span style="color: #0000ff"case span style="color:[详细]
-
TeamCity : 安装 Server
所属栏目:[Linux] 日期:2021-01-31 热度:183
副标题#e# $ -xf TeamCity-...gz -C ~/ $ ./teamcity-server. start #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin//etc/init.d/teamcity - startup script =/usr/lib/jdk1.=${JAVA_HOME}/=.:${JAVA_HOME}/lib:${JRE_HOME}/=${[详细]
-
Ubuntu14.04安装postgresql9.4
所属栏目:[Linux] 日期:2021-01-31 热度:153
安装前的检查 首先查看是否已经安装了旧版本: dpkg -l | postgresql 如果已经安装了某个版本的postgresql,请先卸载。 安装postgresql 添加postgresql源: /etc/apt/sources.list.d/ vim /etc/apt/sources.list.d/pgdb.list 把下面这行数据添加到pgdb.lis[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-31 热度:109
p style="margin: 0in; font-size: 11.0pt;" lang="zh-CN"span style="font-family: 'Microsoft YaHei'; font-size: 15px;"习惯了使用span style="font-family: Calibri;" windows span style="font-family: 'Microsoft YaHei';"的计划任务,span style="f[详细]
-
Ubuntu14.04安装JDK
所属栏目:[Linux] 日期:2021-01-31 热度:197
下载oracle jdk包 从oracle官网下载jdk包,请选择Linux的tar包: 如果想使用命令行下载工具进行下载,可以先获得下载地址,然后运行curl进行下载: curl -L -O -H -k 解压缩 把jdk包解压缩到/usr/lib目录下: -zxf jdk-8u91-linux-x64..gz -C /usr/lib/ 到[详细]
-
Linux ACL 权限
所属栏目:[Linux] 日期:2021-01-31 热度:70
tune2fs -l /dev/sda1 | options: user_xattr acl setfacl [-bkRd] [{-m|-x} acl参数] 文件/-m :配置后面的 acl 参数给文件/目录使用,不可与 --x :删除后续的 acl 参数,不可与 -----d :配置“默认 acl 参数”,只对目录有效,在该目录新建的数据会引[详细]
-
win10安装ubuntu16.04双系统
所属栏目:[Linux] 日期:2021-01-30 热度:166
前话:因为感兴趣吧也是专业需要,所以自学了U盘重装系统以及在win10的情况下安装Ubuntu16.04双系统。借此博客,记录下我安装Ubuntu的过程,方便日后回忆。 正因如此,本篇博客会写的十分简略,如有不便请见谅。 如果你是一位新手,推荐一位大神的博客。 h[详细]
-
Ubuntu16.04 安装ROS及其IDE
所属栏目:[Linux] 日期:2021-01-30 热度:144
一. 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[详细]
-
VMware Ubuntu 虚拟机安装 VMwareTools (VMware虚拟机如何与主
所属栏目:[Linux] 日期:2021-01-30 热度:123
1、关闭虚拟机 2、CD-ROM开机连接取消对号 3、开启虚拟机 4、此时可能提示安装,点击即可 或者在VMware上方选择 :虚拟机 → 安装VMware Tools 5、虚拟机桌面会弹出相应安装包 6、双击打开如图 6、右键 → 复制到 7、其他位置 → 计算机 8、tmp 文件夹 9、[详细]
-
Ubuntu 18.04.1更改屏幕分辨率
所属栏目:[Linux] 日期:2021-01-30 热度:64
-
时间日期date/cal
所属栏目:[Linux] 日期:2021-01-30 热度:111
命令: date 作用: 查看下系统时间 使用: date 命令: cal 对应英文: calendar 作用: 查看日历 选项: -y:可查看一年的日历 使用: cal cal -y[详细]
-
进程命令ps/top/kill
所属栏目:[Linux] 日期:2021-01-30 热度:193
进程: 通俗的说就是?当前正在执行的一个程序 命令: ps 英文: process status 作用: 查看进程的详细状况 选项: a:显示终端上的所有进程,包括其他用户的进程 u:显示进程的详细状况 x:显示没有控制终端的进程 使用: #?查看当前用户通过终端启动的进[详细]
-
which命令和bin目录
所属栏目:[Linux] 日期:2021-01-30 热度:74
命令: which 作用: 查看执行命令所在位置 使用: which?ls which?useradd 等等。。。 bin和sbin: 绝大多数可执行文件都保存在 /bin、/sbin、/usr/bin、/usr/sbin; /bin:(binary),是二进制执行文件目录,主要用于具体应用; /sbin:(system?binary[详细]
-
超级用户和组管理
所属栏目:[Linux] 日期:2021-01-30 热度:112
超级用户: root账号通常用于系统的维护和管理,具有所有访问权限,一般不推荐直接使用root账号登录系统, 在Linux系统安装过程中,系统会自动创建一个?用户账号,这个默认的用户就称为“标准?用户” sudo: su?是?substitute?user的缩写,表示使用另一个[详细]
-
echo和重定向
所属栏目:[Linux] 日期:2021-01-30 热度:147
命令: echo 作用: echo有重复的意思,会在终端中显示参数指定的文字,通常会和重定向联合使用 使用: echo?文字内容 例子: 在终端中显示hello echo?hello 命令: > 和 >> 作用: Linux允许将命令执行结果重定向到一个文件,将本应显示在终端上的内容?输[详细]
-
拷贝和移动
所属栏目:[Linux] 日期:2021-01-30 热度:78
命令: cp 对应英文: copy 作用: 复制文件或目录 选项: -f:已存在的目标文件直接覆盖,不会提示 -i:覆盖文件前提示,接着输入 y 或 n -r:若给出的源文件是目录文件,则cp将递归复制该目录下的所有子目录和文件,目标文件必须是一个目录名 用法: cp[详细]
-
Basic Data Structures and Algorithms in the Linux Kernel--re
所属栏目:[Linux] 日期:2021-01-29 热度:200
http://luisbg.blogalia.com/historias/74062 Links based on?: ,?,?. ?with comments telling you what you can't find in the textbooks. ?used for?,?,etc. ?are??are used for scheduling,virtual memory management,to track file descriptors and di[详细]
-
Linux服务器性能评估与优化--转
所属栏目:[Linux] 日期:2021-01-29 热度:79
http://www.itlearner.com/article/4553 table style="width: 571px;" border="1" cellspacing="0" cellpadding="0" tr td rowspan="2" width="103" p align="center"影响性能因素 /td td colspan="3" width="468" p align="center"评判标准 /td /tr tr td[详细]
-
awk - Unix, Linux Command---reference
所属栏目:[Linux] 日期:2021-01-29 热度:77
副标题#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-29 热度:190
副标题#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-29 热度: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-29 热度:100
副标题#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-29 热度:152
副标题#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[详细]