码迷,mamicode.com
首页 >  
搜索关键字:shell ps1 awk sed while    ( 67594个结果)
Java基础--循环结构
循环结构 while 循环 while是最基本得循环,它的结构为: while(布尔表达式){ //循环内容 } 只要布尔表达式为true,循环就会一直执行下去 public class WhileDemo01 { public static void main(String[] args) { / ...
分类:编程语言   时间:2021-04-06 14:10:11    阅读次数:0
160. 相交链表
题目链接 解题思路:双指针 C++: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
分类:其他好文   时间:2021-04-06 14:05:05    阅读次数:0
31. 下一个排列 + 双指针 + 思维
31. 下一个排列 LeetCode_31 题目描述 题解分析 代码实现 class Solution { public void nextPermutation(int[] nums) { int i = nums.length - 2; while(i >= 0 && nums[i] >= nu ...
分类:其他好文   时间:2021-04-06 14:03:32    阅读次数:0
PVE6.3去订阅
6.3较之前有些不同 sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxl ...
分类:其他好文   时间:2021-04-06 14:03:16    阅读次数:0
C++ 按行输入
string s; while(getline(cin,s)){ cout<<s<<endl; } ...
分类:编程语言   时间:2021-04-06 14:01:34    阅读次数:0
Shell编程知识2
Linux下su与su -命令的本质区别 su命令和su -命令最大的本质区别就是: 前者只是切换了root身份,但Shell环境仍然是普通用户的Shell; 而后者连用户和Shell环境一起切换成root身份了。只有切换了Shell环境才不会出现PATH环境变量错误。su切换成root用户以后,p ...
分类:系统相关   时间:2021-04-06 14:01:20    阅读次数:0
归并排序模板
归并排序模板 code: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; const int N = 1e5 + 10; typedef long long ...
分类:编程语言   时间:2021-04-05 12:52:30    阅读次数:0
ubuntu16.04安装zsh
1 安装 sudo apt-get install zsh 2 修改默认shell chsh -s /bin/zsh 3 配置passwd sudo vim /etc/passwd root:x:0:0:root:/root:/bin/bash改成root:x:0:0:root:/root:/bin ...
分类:系统相关   时间:2021-04-05 12:42:45    阅读次数:0
x进制转y进制(通用版)
#include<bits/stdc++.h> using namespace std; int main(){ char s[105]; int x,y; while(scanf("%d %d",&x,&y)!=EOF){ scanf("%s",s); int ans=0; int len=str ...
分类:其他好文   时间:2021-04-05 12:35:26    阅读次数:0
HDFS回收站
hdfs会为每一个用户创建一个回收站目录:/usr用户名/.Trash/,每一个用户在Shell命令行删除的文件/目录,会进入到对应的回收站目录中,在回收站中的数据都有一个生命周期,也就是说当回收站中的文件/目录在一段时间之内没有被用户恢复的话,HDFS就会自动将这个文件/目录彻底删除。 默认情况下 ...
分类:其他好文   时间:2021-04-05 12:30:22    阅读次数:0
共67594条   上一页 1 ... 45 46 47 48 49 ... 6760 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!