[root@zf-test-web01-4 ~]# file /bin/ls #"/bin/ls" is a binary file /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (u ...
分类:
系统相关 时间:
2020-06-16 14:52:43
阅读次数:
54
在本章写远程ls程序rls.c和rlsd.c时,while( msglen = read( sock_id, message, BUFSIZ ) > 0 )导致了严重的错误——客户端收到服务器返回的信息,但什么都不打印。 具体代码如下: /* rls.c - client program of re ...
分类:
其他好文 时间:
2020-06-16 13:09:14
阅读次数:
47
#ls命令 ls命令用来显示目标列表,在Linux中是使用率较高的命令。ls命令的输出信息可以进行彩色加亮显示,以分区不同类型的文件。 ##语法 ls 参数 查看对象 (这个查看的对象可以是目录也可以是文件) ##参数详解 -a:显示所有档案及目录(ls内定将档案名或目录名称为“.”的视为影藏,不会 ...
分类:
系统相关 时间:
2020-06-15 22:42:32
阅读次数:
89
1.全局安装(官网不推荐) 2.指定目录运行,如:node_modules/.bin/webpack(找不到webpack命令是因为系统环境变量的原因) 3.自定义shell命令:alias webpack="node_modules/.bin/webpack",之后再用webpack命令 ...
分类:
Web程序 时间:
2020-06-15 17:35:53
阅读次数:
188
pwd: pwd(Print Working Directory) 显示当前目录 -L, --logical 显示当前目录 -P, --physical 无选项 默认使用-P 显示当前目录的实际物理地址 --help 帮助 --version 版本 ls命令; 选项: -l #以长格式形式显示文件及 ...
分类:
系统相关 时间:
2020-06-15 14:23:31
阅读次数:
120
Linux 下,如果要执行一条或多条之前输过的指令,要怎么处理?很多人会想到使用上下箭头去翻查历史输入的命令。这当然是可以了,除了这种方法,本文再介绍另外 5 种方法来实现这样的效果。 在正式开始之前,我们先随便执行几条命令,便于后面演示。为了节约篇幅,执行结果暂时不列出来。 $ ls -l $ p ...
分类:
其他好文 时间:
2020-06-14 15:09:23
阅读次数:
64
docker mongodb 副本集 docker network create net-mongoset docker network ls docker run -d -p27001:27017 --name docker_mongo1 --net net-mongoset mongo:3.4. ...
分类:
数据库 时间:
2020-06-14 14:50:16
阅读次数:
76
#include<bits/stdc++.h> #define ls rt<<1 #define rs rt<<1|1 using namespace std; typedef long long ll; const int p=1e8+7; int ans1; int ans2; int ans3 ...
分类:
其他好文 时间:
2020-06-14 12:57:25
阅读次数:
164
#include<bits/stdc++.h> #define ls rt<<1 #define rs rt<<1|1 using namespace std; typedef long long ll; const int p=1e8+7; vector<int>v[1001000],ans; i ...
分类:
其他好文 时间:
2020-06-14 12:35:49
阅读次数:
64
IDEA项目包文件结构显示设置 使用Intellij IDEA创建项目的时候发现文件结构没有分层,看着十分不方便 可以点击文件导航栏右上角的齿轮按钮,进入设置菜单,将第二项的对勾取消掉就可以了 这样显示方式就改过来了 ...
分类:
其他好文 时间:
2020-06-14 10:36:03
阅读次数:
180