手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
Linux
Windows
CentOS
Ubuntu
Nginx
WebService
Scala
Memcache
Apache
Redis
Docker
Bash
Azure
Tomcat
LNMP
Shell
Ansible
KVM虚拟机
数据结构
鸿蒙系统
宝塔面板
服务器运维
网络安全
编程之家
Shell
linux系统中如何将一行数据转换为一列数据
1、测试数据 测试1 [root@centos7 test2]# cat a.txt 01 02 03 04 05 06 07 08 09 10 2、测试2 [root@centos7 test2]#
作者:编程之家 时间:2022-11-26
linux中while循环语句
1、测试1 求1-100的和 [root@centos7 test2]# cat test.sh #!/bin/bash sum=0 a=1 while [ $a -le 100 ] do let s
作者:编程之家 时间:2022-11-26
ubantu中实现root用户登录ssh
1、默认情况下root不能登录ssh 2、修改ssh服务配置文件 root@ubuntu01:~/Desktop# whoami root root@ubuntu01:~/Desktop# vim /
作者:编程之家 时间:2022-11-26
ubuntu中安装ssh服务
1、问题 (1)、传输工具 2、安装ssh服务 liujiaxin01@liujiaxin01-virtual-machine:~$ whoami liujiaxin01 liujiaxin01@li
作者:编程之家 时间:2022-11-26
linux系统中如何删除文件的最后2行
linux系统中如何删除文件的最后几行 1、 [root@centos79 test]# cat a.txt a g e d c j i x a e i r x v b x e w [root@cen
作者:编程之家 时间:2022-11-26
linux系统awk命令拆分文件
linux系统awk命令拆分文件。 1、 [root@centos7 test2]# ls file.txt [root@centos7 test2]# cat file.txt -rw-r--r--
作者:编程之家 时间:2022-11-26
linux中查找包含特定字符的文件
1、测试数据 [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt a g e u c j alike i x k like w
作者:编程之家 时间:2022-11-26
linux系统中查看系统内核、发行版本信息
以centos7.9为例。 1、 [root@centos7 test]# uname -a Linux centos7 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 1
作者:编程之家 时间:2022-11-26
linux系统中如何将多个连续的空行合并为一个空行
1、测试数据如下 [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt a g r e i x k like a f g lik
作者:编程之家 时间:2022-11-26
redhat8重启网卡服务Failed to restart network.service: Unit network.service not found.
1、问题 [root@localhost ~]# systemctl restart network Failed to restart network.service: Unit network.s
作者:编程之家 时间:2022-11-26
Ubuntu 20.04.2如何root登录
Ubuntu 20.04.2默认不能进行root登录 1、查看系统版本 liujiaxin01@liujiaxin01-virtual-machine:~/Desktop$ whoami liujia
作者:编程之家 时间:2022-11-26
centos7.9中安装dnf;bash: dnf: command not found...
1、问题 [root@centos79 software]# dnf install R bash: dnf: command not found... 2、安装dnf [root@centos79
作者:编程之家 时间:2022-11-26
linux系统中grep同时提取以特定字符开头的行、以特定字符结尾的行
1、 [root@centos79 test]# cat a.txt a g r e u c j alike i x k like a f g liker a f h g liker s g e g
作者:编程之家 时间:2022-11-26
linux中grep命令锚定锚定单词的词首、词尾
1、测试数据 [root@centos79 test]# cat a.txt a g e u c j alike i x k like w f g liker s g e g [root@centos
作者:编程之家 时间:2022-11-26
linux系统 awk命令统计每一个用户进程占用的内存
linux系统awk命令统计每一个用户进程占用的内存。 1、 [root@centos7 test2]# ps aux | awk 'NR != 1 {a[$1]+=$6} END{for(i
作者:编程之家 时间:2022-11-26
ubuntu如何创建root用户
1、系统信息 liujiaxin01@liujiaxin01-virtual-machine:~/Desktop$ lsb_release -a No LSB modules are availabl
作者:编程之家 时间:2022-11-26
linux系统中如何将当前目录下的文件从大到小排序和从小到大排序
1、创建5个测试数据文件 [root@centos7 test]# dd if=/dev/zero bs=1M count=100 of=a.txt [root@centos7 test]# dd i
作者:编程之家 时间:2022-11-26
linux系统中如何修改主机名
1、查看当前主机名 root@liujiaxin01-virtual-machine:~/Desktop# hostname liujiaxin01-virtual-machine ##太长 2、修改
作者:编程之家 时间:2022-11-26
linux系统中如何统计文件的行数
1、linux系统中如何统计文件的行数 [root@centos79 test]# cat b.txt a g e d c j i x a [root@centos79 test]# wc -l b.
作者:编程之家 时间:2022-11-26
linux 实现一列数据的求和、累积求和、及1/2求和
1、测试数据 [root@centos7 test]# cat a.txt 4 8 2 6 2、直接求和 [root@centos7 test]# awk '{sum += $1}END{pr
作者:编程之家 时间:2022-11-26
linux系统中如何删除某些文件或者某一类以外的所有文件
1、创建测试文件: [root@centos7 test]# touch {a..f}.txt [root@centos7 test]# ls a.txt b.txt c.txt d.txt e.tx
作者:编程之家 时间:2022-11-26
linux系统中sed删除指定的行
1、测试数据 [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d
作者:编程之家 时间:2022-11-26
linux系统中unset清楚变量
1、 [root@centos79 test]# echo $a [root@centos79 test]# a=10 [root@centos79 test]# echo $a 10 [root@c
作者:编程之家 时间:2022-11-26
linux系统中批量对一类文件重命名
1、rename命令 [root@centos79 test]# ls a.mp4 dup1.mp4 dup2.mp4 dup4.mp4 [root@centos79 test]# rename mp
作者:编程之家 时间:2022-11-26
linux系统中在指定行后添加空行
1、在所有行后添加空行 [root@centos79 test]# cat a.txt a g r e i x k like a f g liker s t 2 a b d s i [root@cen
作者:编程之家 时间:2022-11-26
linux系统中sed命令整行替换
1、测试数据 [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、将第2行替换为xxxx
作者:编程之家 时间:2022-11-26
linux 系统中 sed -n选项控制行的下移
1、 [root@centos79 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 [root@centos79 test]# sed '/2/ s/^/xxx/&
作者:编程之家 时间:2022-11-26
linux系统中sed命令 r参数在文件中直接插入文件
1、测试数据如下: [root@centos79 test]# ls a.txt b.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s
作者:编程之家 时间:2022-11-26
linux系统中文件开头、结尾的空行
1、删除开头的空行 [root@centos79 test]# cat a.txt a g r e i x k like a f g liker a g r e a f g liker [root@c
作者:编程之家 时间:2022-11-26
linux系统中split命令
1、split按文件大小拆分文件 测试数据如下: [root@centos79 test]# dd if=/dev/zero bs=1M count=100 of=a.txt 100ʰ record
作者:编程之家 时间:2022-11-26
上一页
8
9
10
11
12
13
14
15
下一页
小编推荐
热门标签
更多
python
JavaScript
java
HTML
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot
react-native