#include <stdio.h> int main(int argc, const char * argv[]) { long int lirun; long int bonus; //输入利润 printf("请输入利润金额:"); scanf("%ld",&lirun); //判断所输入的利 ...
分类:
编程语言 时间:
2018-07-16 18:05:04
阅读次数:
173
第一章.管道 1.1 管道的概念 简单来说管道就是将前面命令处理的结果传递给后面的命令 1.2 管道与|xargs(管道xargs)的区别 find |xargs ls -ld##把前一个命令的结果,通过管道传递给后面的命令(ls -ld),传递的是文件名 find | 命令 ##把前一个命令的结果 ...
分类:
其他好文 时间:
2018-07-14 16:31:45
阅读次数:
174
编译sqladvisor安装遇到: 122 ...
分类:
其他好文 时间:
2018-07-12 18:05:06
阅读次数:
1482
懒得写了放一张图得了,这是系统自己的救援模式,还有一种是用光盘进入的救援模式,那个管用,据说连系统内核都可以拯救,我只试过用光盘拯救一些重要文件。就是把/var/lib64/下的ld-linux-x86-64.so.2文件误删了,导致系统所有命令都不能用了,后来用光盘救援模式解决的。
分类:
系统相关 时间:
2018-07-12 12:48:21
阅读次数:
235
先丢一张效果图: 如何让您的 LD 的终端更具个性呢?首先,我们需要了解下面几点知识。A:配置文件 个人配置文件:~/.bashrc全局设定文件:/etc/bash.bashrc(修改需要管理员权限) B命令提示符由特殊 shell 变量控制,分别是 :PS1,PS2,PS3,PS4。 我们可以只考 ...
分类:
系统相关 时间:
2018-07-07 17:36:42
阅读次数:
266
库文件 查看二进制程序所依赖的库文件 ldd /PATH/TO/BINARY_FILE 管理及查看本机装载的库文件 ldconfig 加载库文件 /sbin/ldconfig -p: 显示本机已经缓存的所有可用库文件 名及文件路径映射关系 配置文件:/etc/ld.so.conf, /etc/ld. ...
分类:
其他好文 时间:
2018-07-07 12:34:33
阅读次数:
216
Next: Environment, Up: Invocation [Contents][Index] 2.1 Command Line Options The linker supports a plethora of command-line options, but in actual pra ...
分类:
其他好文 时间:
2018-07-05 12:09:12
阅读次数:
183
OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so 解决: sudo vim /etc/ld.so.conf 添加:/opt/source/geos-3 ...
分类:
其他好文 时间:
2018-07-02 14:50:11
阅读次数:
1148
cd /etc/ld.so.conf.d目录中有 i386-linux-gnu_GL.conf and x86_64-linux-gnu_GL.conf等文件cat x86_64-linux-gnu_GL.conf/usr/lib/nvidia-340 /usr/lib32/nvidia-340 但 ...
分类:
其他好文 时间:
2018-07-01 20:30:45
阅读次数:
457
(1) ls -l:长格式文件类型: -:普通文件 (f) d: 目录文件 b: 块设备文件 (block) c: 字符设备文件 (character) l: 符号链接文件(symbolic link file) p: 命令管道文件(pipe) s: 套接字文件(socket)例:ls -ld /r ...
分类:
系统相关 时间:
2018-07-01 13:42:07
阅读次数:
229