摘要:
#include<iostream> #include<cstdio> using namespace std; const int maxn = 105; int main(){ int h,w; double sum=0; bool count; char c[maxn]; scanf("%d% 阅读全文
posted @ 2021-08-02 23:12
智人心
阅读(39)
评论(0)
推荐(0)
摘要:
sort -n file2 按数值排序file2 sort -t ':’ -k 3 -n /etc/passwd du -sh * | sort -nr按输出占用空间大小降序排列 grep three file1 搜索数据 grep -v t file1 输出不匹配的行 grep -e t -e f 阅读全文
posted @ 2021-08-02 20:09
智人心
阅读(44)
评论(0)
推荐(0)
摘要:
ps 显示当前控制台属于当前用户的进程及ps命令本身 ps -e 显示系统上运行的所有进程 ps -f 显示完整格式的输出 ps -l 显示长列表 S列:进程状态(O正在运行;S休眠;R可运行,正等待运行;Z僵化,进程已结束但父进程已不存在;T停止) ps –forest 显示进程的层级信息 nvi 阅读全文
posted @ 2021-08-02 19:28
智人心
阅读(43)
评论(0)
推荐(0)
摘要:
20210802 ls -F显示,目录带/文件不带 ls -FR 递归显示目录和文件 ls -d 只显示当前文件夹 ls -l 显示长列表,详细信息 第一个变量:目录(d)、文件(-)、字符型文件(c),块设备(b) ls -l my_script 显示my_script的详细信息 touch te 阅读全文
posted @ 2021-08-02 19:24
智人心
阅读(45)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ int s,len,p,i,j,k; char n[10],d[25][100]; while(scanf("%d%s",&s 阅读全文
posted @ 2021-08-02 11:48
智人心
阅读(35)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ int i,j,k,len[10],p,kase=1; char a[15],d[10][15]; bool flag,fla 阅读全文
posted @ 2021-08-02 10:26
智人心
阅读(34)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> #include<cstdio> using namespace std; const int maxn = 65; int d[10],p[10]; char a[maxn]; int t[maxn]; bool flag; 阅读全文
posted @ 2021-08-02 00:43
智人心
阅读(45)
评论(0)
推荐(0)

浙公网安备 33010602011771号