Linux命令大全搜索工具 v1.8
0 0 0 - /sys 6. devpts 0 0 0 - /dev/pts 7. /dev/sda1 1019208 62360 904240 7% /boot 8. tmpfs 1032204 TERM=linux 4. SHELL=/bin/bash 5. HISTSIZE=1000 6. SSH_CLIENT=192.168.2.111 2705 22 7. SSH_TTY=/dev/pts/0 8. USER=root 9. LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01 22" 18. declare -x SSH_CONNECTION="192.168.2.111 2705 192.168.2.2 22" 19. declare -x SSH_TTY="/dev/pts/0" 20. declare -x TERM="linux" 21. declare -x USER="root" export 为shell变量或函数设置导出属性 - 349 - 本文档使用0 码力 | 1347 页 | 8.79 MB | 1 年前3鸟哥的Linux私房菜:基础学习篇 第四版
root 的密码! 2. Password: # 就这里!请输入安装时你所设置的 root 密码! 3. Last login: Mon Jun 1 16:10:12 CST 2015 on pts/0 4. 5. [root@study ~]# sync Tips 事实上sync也可以被一般帐号使用喔!只不过一般帐号使用者所更新的硬盘数据就仅有自己的数据,不像root 可以更新整个系统中的数据了。 0 0 0 - /sys/kernel/security tmpfs tmpfs 637568 80 637488 1% /dev/shm devpts devpts 0 0 0 - /dev/pts tmpfs tmpfs 637568 24684 612884 4% /run tmpfs tmpfs 637568 0 637568 0% /sys/fs/cgroup …..(中间省略)… [dmtsai@study ~]$ last 38. root pts/1 192.168.201.101 Sat Feb 7 12:35 still logged in 39. root pts/1 192.168.201.101 Fri Feb 6 12:13 - 18:46 (06:33) 40. root pts/1 192.168.201.254 Thu0 码力 | 1057 页 | 14.60 MB | 1 年前3鸟哥的 Linux 私房菜:基础学习篇 第四版
!下面请输入 root 的密码! Password: # 就这里!请输入安装时你所设置的 root 密码! Last login: Mon Jun 1 16:10:12 CST 2015 on pts/0 [root@study ~]# sync Tips 事实上sync也可以被一般帐号使用喔!只不过一般帐号使用者所更新的硬盘数据就仅有 自己的数据,不像root可以更新整个系统中的数据了。 637488 1% /dev/shm devpts devpts 0 0 0 - /dev/pts tmpfs tmpfs 637568 24684 612884 4% /run tmpfs tmpfs [dmtsai@study ~]$ last root pts/1 192.168.201.101 Sat Feb 7 12:35 still logged in root pts/1 192.168.201.101 Fri Feb 6 12:13 - 18:46 (06:33) root pts/1 192.168.201.254 Thu Feb0 码力 | 1158 页 | 13.73 MB | 1 年前3Linux command line for you and me Documentation Release 0.1
763436 ? Sl 16:16 0:35 /usr/lib64/firefox/firefox kdas 26919 0.0 0.0 118520 980 pts/3 S+ 16:17 0:00 grep - -color=auto firefox Here, we are first running the ps command, and then Fetc%2Fshadow Okay[fedora@selinux3 ~]$ su - Password: Last login: Thu Mar 24 12:27:44 UTC 2022 on pts/2 [root@selinux3 ~]# You can see that after overwriting the /etc/shadow file, we could just use password c1023 vagrant 5373 0.0 0.8 27192 4308 pts/0 Ss Mar31 0:00 -bash unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 vagrant 29048 0.0 0.7 57184 3824 pts/0 R+ 03:21 0:00 ps auZ Here you can see0 码力 | 124 页 | 510.85 KB | 1 年前3Linux command line for you and me Documentation Release 0.1
1 9.7 2770724 763436 ? Sl 16:16 0:35 /usr/lib64/firefox/ ˓→firefox kdas 26919 0.0 0.0 118520 980 pts/3 S+ 16:17 0:00 grep --color=auto ˓→firefox Here, we are first running the ps command, and then passing Fetc%2Fshadow Okay[fedora@selinux3 ~]$ su - Password: Last login: Thu Mar 24 12:27:44 UTC 2022 on pts/2 [root@selinux3 ~]# You can see that after overwriting the /etc/shadow file, we could just use password c1023 vagrant 5373 0.0 0.8 27192 ˓→4308 pts/0 Ss Mar31 0:00 -bash unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 vagrant 29048 0.0 0.7 57184 ˓→3824 pts/0 R+ 03:21 0:00 ps auZ Here you can see0 码力 | 128 页 | 716.99 KB | 1 年前3鸟哥的Linux 私房菜
0 LABEL=/backup /backup ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 none /proc proc defaults declare -x PWD="/root" declare -x SHELL="/bin/bash" declare -x SHLVL="1" declare -x SSH_TTY="/dev/pts/0" declare -x TERM="xterm" declare -x USER="root" • unset 就是直接将该变量的内容拿掉: unset 变数 1 /dev/hdb2 /home ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 none /proc proc defaults0 码力 | 386 页 | 11.69 MB | 1 年前3Debian 套件打包教學指南 version 0.29
ing/ Debian 套件打包教學指南 52 / 90 Debian 給維護者的dashboards ▶ 原始碼套件中心: 套件追蹤系統 Package Tracking System (PTS) https://packages.qa.debian.org/dpkg ▶ 維護者/ 小組中心: 開發者套件概述 Developer’s Packages Overview (DDPO) https://qa 協助減少差異並在Launchpad進行缺陷診斷 ▶ 許多 Debian 工具能提供協助: ▶ Developer 的套件大綱中有 ubuntu 欄位 ▶ Ubuntu box on the 套件追蹤系統 ▶ 透過 PTS 收 launchpad bugmail Debian 套件打包教學指南 56 / 90 大綱 1 介紹 2 製作原始碼套件 3 構建並測試套件 4 實際演練 1: 修改 grep 套件0 码力 | 90 页 | 691.02 KB | 1 年前3Moxa Industrial Linux 3.0 (Debian 11) Manual for Arm-based Computers Version 1.0, January 2023
0 80 0 - 1794 wait pts/0 00:00:00 bash 4 S 0 1099 895 0 80 0 - 1659 poll_s pts/0 00:00:00 sudo 4 R 0 1100 1099 0 80 0 - 1850 - pts/0 00:00:00 ps moxa@moxa-tbbbb1182827:/#0 码力 | 111 页 | 2.94 MB | 1 年前3Linux就该这么学 第2版
键执行即可。 Linux 系统会将每次的登录信息都记录到日志文件中,如果哪天想翻阅了,直接执行这 条命令就行: [root@linuxprobe~]# last root pts/1 192.168.10.1 Tue May 18 10:30 - 11:03 (00:32) root tty2 tty2 S Sep21 0:00 /bin/bash /usr/sbin/ksmtuned root 3899 0.0 0.2 26540 5136 pts/0 Ss 00:27 0:00 bash root 4002 0.0 0.0 12112 1056 pts/0 S+ 00:28 0:00 grep --color=auto bash 大家千万不要误以为管道命令符只能在一个命令组合中使用一次。我们完全可以 S Sep21 0:00 /bin/bash /usr/sbin/ksmtuned root 3899 0.0 0.2 26540 5136 pts/0 Ss 00:27 0:00 bash root 4320 0.0 0.0 12112 1112 pts/0 S+ 00:51 0:00 grep --color=auto bash [root@linuxprobe~]# cat result0 码力 | 552 页 | 22.25 MB | 1 年前3Debian打包教程 version 0.29
开发者软件包概览(Developer’s packages overview) 里的 Ubuntu 部分 ▶ 软件包追踪系统 (Package Tracking System) 里的 Ubuntu 内容 ▶ 通过 PTS 收取 launchpad 的 bugmail 邮件 Debian 打包教程 56 / 90 内容概括 1 介绍 2 创建源码包 3 构建与测试软件包 4 实操练习环节 1:修改 grep0 码力 | 90 页 | 663.35 KB | 1 年前3
共 23 条
- 1
- 2
- 3