linux – Page 3 – 业余语言练习

ls

有一个小技巧 ls -lth *.mp4 | grep jd -rw-r–r– 1 root135 root135 88M Jun 22 20:05 20250622jd.mp4 -rw-r–r– 1 root135 root135 72M Jun 21 20:08 20250621jd.mp4 grep jd,表示名字中含有jd的文件 如果你忘记自己记录的一些小信息,然而只记得这个文件名包含qq,这时就用grep过滤字符.ls | grep qq ls | grep qq qutamwiwcaia ykagydoabgee —————————— ls -lth | more | grep mp4 -rw-r–r– 1 root135 root135 30M Jul 7 08:06 switch语句.mp4 -rw-r–r–… Continue reading ls

Published
Categorized as linux

vim-^M

Published
Categorized as linux

Kylin->single

1)启动到选择操作系统的界面,在此界面按“e”进入编辑模式。担心手慢的,可以多按几次向下的按键。 2)找到“linux” 或 ”linuxefi“ 行,在末尾输入rw init=/bin/bash,按Ctrl+x进入单用户模式 quite rw init=/bin/bash

Published
Categorized as linux

kylin os v10->root passwd reset

一、需求说明 自己做了一个kylin os v10系统,需要练习root密码,重置root密码。 二、服务器版root密码重置步骤 1、重启后按e 重启操作系统,按ESC键,进入此界面后按e键,进入grub模式。

Published
Categorized as linux

os-release

cat /etc/os-release PRETTY_NAME=”Deepin 20.9″ NAME=”Deepin” VERSION_ID=”20.9″ VERSION=”20.9″ VERSION_CODENAME=”apricot” ID=Deepin HOME_URL=”https://www.deepin.org/” BUG_REPORT_URL=”https://bbs.deepin.org/” ———————— root135@root135:~/Documents$ uname -a Linux root135 5.15.77-amd64-desktop #2 SMP Thu Jun 15 16:06:18 CST 2023 x86_64 GNU/Linux root135@root135:~/Documents$

Published
Categorized as linux