-
8 Pratical Examples of Linux “Touch” Command--reference
所属栏目:[Linux] 日期:2021-02-05 热度:96
In? Linux ?every single file is associated with timestamps,and every file stores the information of last access time,last modification time and last change time. So,whenever we create new file,access or modify an existing file,the timestam[详细]
-
linux find命令详解--转
所属栏目:[Linux] 日期:2021-02-05 热度:155
转自:http://blog.csdn.net/jakee304/article/details/1792830 (一)Get Start 最简单的find用法莫过于如此: $?find? . 查找当前目录下的所有文件。 find命令的一般格式为: find?[ - H]?[ - L]?[ - P]?[path ... ]?[expression] 其中,'-H' '-L' '-P'三[详细]
-
linux cat 命令详解--转
所属栏目:[Linux] 日期:2021-02-05 热度:108
使用方式:cat [-AbeEnstTuv] [--help] [--version] fileName?说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案)?参数:?-n 或 --number 由 1 开始对所有输出的行数编号?-b 或 --number-nonblank 和 -n 相似,只不过对于空白行不编号[详细]
-
15 Linux Split and Join Command Examples to Manage Large Fil
所属栏目:[Linux] 日期:2021-02-05 热度:120
by? ?on? http://www.thegeekstuff.com/2012/10/15-linux-split-and-join-command-examples-to-manage-large-files/ Linux split and join commands are very helpful when you are manipulating large files. This article explains how to use Linux split[详细]
-
Ubuntu14.04安装JDK
所属栏目:[Linux] 日期:2021-02-02 热度:200
下载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-02-02 热度:103
tune2fs -l /dev/sda1 | options: user_xattr acl setfacl [-bkRd] [{-m|-x} acl参数] 文件/ -m :配置后面的 acl 参数给文件/目录使用,不可与 - -x :删除后续的 acl 参数,不可与 - - - - -d :配置“默认 acl 参数”,只对目录有效,在该目录新建的数据[详细]
-
win10安装ubuntu16.04双系统
所属栏目:[Linux] 日期:2021-02-01 热度:139
前话:因为感兴趣吧也是专业需要,所以自学了U盘重装系统以及在win10的情况下安装Ubuntu16.04双系统。借此博客,记录下我安装Ubuntu的过程,方便日后回忆。 正因如此,本篇博客会写的十分简略,如有不便请见谅。 如果你是一位新手,推荐一位大神的博客。 htt[详细]
-
Ubuntu16.04 安装ROS及其IDE
所属栏目:[Linux] 日期:2021-02-01 热度:97
一. 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-02-01 热度:118
1、关闭虚拟机 2、CD-ROM开机连接取消对号 3、开启虚拟机 4、此时可能提示安装,点击即可 或者在VMware上方选择 :虚拟机 → 安装VMware Tools 5、虚拟机桌面会弹出相应安装包 6、双击打开如图 6、右键 → 复制到 7、其他位置 → 计算机 8、tmp 文件夹 9、选[详细]
-
Ubuntu 18.04.1更改屏幕分辨率
所属栏目:[Linux] 日期:2021-02-01 热度:65
-
时间日期date/cal
所属栏目:[Linux] 日期:2021-02-01 热度:164
命令: date 作用: 查看下系统时间 使用: date 命令: cal 对应英文: calendar 作用: 查看日历 选项: -y:可查看一年的日历 使用: cal cal -y[详细]
-
进程命令ps/top/kill
所属栏目:[Linux] 日期:2021-02-01 热度:171
进程: 通俗的说就是?当前正在执行的一个程序 命令: ps 英文: process status 作用: 查看进程的详细状况 选项: a:显示终端上的所有进程,包括其他用户的进程 u:显示进程的详细状况 x:显示没有控制终端的进程 使用: #?查看当前用户通过终端启动的进程[详细]
-
which命令和bin目录
所属栏目:[Linux] 日期:2021-02-01 热度:163
命令: which 作用: 查看执行命令所在位置 使用: which?ls which?useradd 等等。。。 bin和sbin: 绝大多数可执行文件都保存在 /bin、/sbin、/usr/bin、/usr/sbin; /bin:(binary),是二进制执行文件目录,主要用于具体应用; /sbin:(system?binary)[详细]
-
超级用户和组管理
所属栏目:[Linux] 日期:2021-02-01 热度:108
超级用户: root账号通常用于系统的维护和管理,具有所有访问权限,一般不推荐直接使用root账号登录系统, 在Linux系统安装过程中,系统会自动创建一个?用户账号,这个默认的用户就称为“标准?用户” sudo: su?是?substitute?user的缩写,表示使用另一个用[详细]
-
echo和重定向
所属栏目:[Linux] 日期:2021-02-01 热度:139
命令: echo 作用: echo有重复的意思,会在终端中显示参数指定的文字,通常会和重定向联合使用 使用: echo?文字内容 例子: 在终端中显示hello echo?hello 命令: > 和 >> 作用: Linux允许将命令执行结果重定向到一个文件,将本应显示在终端上的内容?输[详细]
-
拷贝和移动
所属栏目:[Linux] 日期:2021-02-01 热度:158
命令: cp 对应英文: copy 作用: 复制文件或目录 选项: -f:已存在的目标文件直接覆盖,不会提示 -i:覆盖文件前提示,接着输入 y 或 n -r:若给出的源文件是目录文件,则cp将递归复制该目录下的所有子目录和文件,目标文件必须是一个目录名 用法: cp [[详细]
-
awk - Unix, Linux Command---reference
所属栏目:[Linux] 日期:2021-01-31 热度:126
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-[详细]
-
NMAP - A Stealth Port Scanner--reference
所属栏目:[Linux] 日期:2021-01-31 热度:107
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 benefits and[详细]
-
Handling of asynchronous events---reference
所属栏目:[Linux] 日期:2021-01-31 热度:200
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 has the ni[详细]
-
Sed - An Introduction and Tutorial by Bruce Barnett
所属栏目:[Linux] 日期:2021-01-31 热度:102
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#uh-10a"gt;[详细]
-
Boost application performance using asynchronous I/O-ref
所属栏目:[Linux] 日期:2021-01-31 热度:91
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 operations[详细]
-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2021-01-31 热度:122
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-31 热度:143
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-31 热度:124
div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论按照怎样的分[详细]
-
linux下logrotate配置和理解---转
所属栏目:[Linux] 日期:2021-01-31 热度:165
对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件,对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件。logrotate 还可[详细]
