[TOC] 一、查找命令 1、whereis whereis命令用来查找命令的位置,包括执行文件、源代码和手册页文件。记住:此处为查找位置,相对用的更多。 2、locate 可以跟 c 统计查找到的文件数量 3、find命令 find pathname options [ print exec ok ...
分类:
系统相关 时间:
2018-09-25 01:18:41
阅读次数:
252
File类是java.io包下代表与平台无关的文件和目录,也就是说,如果希望在程序中操作文件和目录,都可以通过File类来完成。值得指出的是,不管是文件还是目录都是使用File来操作的,File能新建、删除、重命名文件和目录,File不能访问文件内容本身。如果需要访问文件内容本身,则需要使用输入/输 ...
分类:
编程语言 时间:
2018-09-24 00:37:45
阅读次数:
221
linux 目录结构 常用快捷键 基本操作命令 man date cal bc ls cd cat/more/less/tac/nl/head/tail mkdir/rmdir(rm)/touch/cp/mv which/whereis/locate/find vi编辑器 ...
分类:
系统相关 时间:
2018-09-20 11:22:49
阅读次数:
188
pro-star-node224-25dockerd:time="2018-07-02T10:46:37.822250462+08:00"level=infomsg="Attemptingnextendpointforpullaftererror:failedtoregisterlayer:devmapper:ThinPoolhas130366freedatabloc
分类:
其他好文 时间:
2018-09-17 15:21:32
阅读次数:
1046
kubectl 命令自动补全 linux:```# yum install -y bash-completion# locate bash_completion/usr/share/bash-completion/bash_completion# source /usr/share/bash-com ...
分类:
其他好文 时间:
2018-09-14 14:37:35
阅读次数:
461
在用ubuntu:18.04基本镜像进行构建的时候。出现啦选择时区的地方,然后会卡住。 ENV DEBIAN_FRONTEND=noninteractive ...
分类:
系统相关 时间:
2018-09-14 14:01:36
阅读次数:
1468
1 #include<stdio.h> 2 #include<unistd.h> 3 main() 4 { 5 //situation 1 6 //int *p = sbrk(4); // Here we allocate 1024(decides to the system) bytes of m ...
分类:
其他好文 时间:
2018-09-11 11:30:01
阅读次数:
200
//input 输入子系统分析//刘术河2016.08.22 linux-2.6.39-at91-2016.08.11-lsh\drivers\input\Input.c该文件下有input_register_device 和 input_register_handler 函数接口0.先分析inpu ...
分类:
其他好文 时间:
2018-09-08 15:35:51
阅读次数:
350
If you're attempting to run xfs_repair, getting the error message that suggests mounting the filesystem to replay the log, and after mounting still re ...
分类:
其他好文 时间:
2018-09-06 03:00:10
阅读次数:
493
Linux usb子系统(二) _usb-skeleton.c精析 摘自:https://www.cnblogs.com/xiaojiang1025/archive/2017/03/14/6506116.html "./drivers/usb/usb-skeleton.c"是内核提供给usb设备驱动 ...
分类:
系统相关 时间:
2018-09-06 02:53:32
阅读次数:
251