精选导读
SUDO授权
前言sudo授权说明...

Python学习第四天之函数
前言 在 Python 中,函数是将一段实现功能的完整代码,使用函数名称进行封装,通过函数名称进行调用。以此达到一次编写,多次调用的目的。它可以接受输入参数,并返回一个或多个值。一、函数基础1...
Shell 脚本入门教程
一、基础认知1. 文件扩展名:`.sh`2. 脚本开头(必须):`#!/bin/bash`3. 执行方式:...
Linux三剑客之 grep
前言...

Linux 三剑客之 sed 流编辑器
前言sed 是 Linux 系统中一个强大的文本处理工具,全称为 Stream EDitor(流编辑器),它可以对文本进行高效的查找、替换、删除、插入等操作,通常用于处理文本文件或管道输出的文本数据。应用场景&nbs...

Python学习第四天之字符串的拼接方式
字符串的拼接方式s1='hello's2='world'#(1)使用+号拼接print(s1+s2) #helloworld#(2)使用字符串的join()方法print(...

Python学习第四天之数据的验证
#所有字符都是数字(阿拉伯数字)print('123'.isdigit())#Trueprint('一二三'.isdigit())#Falseprint('0b1010'...

Python学习第四天之字符串的编码和解码
前言1. **跨系统和平台通信的需求** - 在计算机系统中,不同的操作系统、软件应用程序和网络协议可能使用不同的字符表示方式。例如,在Windows系统和Linux系统之间传输文本数据时,它们内部...