Shared Bookmarks
标签云
图片墙
每天
RSS 订阅源
  • RSS 订阅源
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
过滤器

每页链接数

  • 20 links
  • 50 links
  • 100 links

过滤器

Untagged links
page 4 / 9
搭建属于自己的递归DNS服务——HiFi冲浪系列(一) - 零散坑 - Sliamb的零散日常和填坑(╯‵□′)╯︵┻━┻ https://blog.03k.org/post/paopaodns.html
Wed Sep 4 19:25:02 2024
Releases · sebaxakerhtc/rdpwrap https://github.com/sebaxakerhtc/rdpwrap/releases
Sat Aug 31 12:36:42 2024

win10家庭版开启3389

【解决】Win10/Win11家庭版不支持远程桌面?如何开启远程桌面? - 操作系统(内核) - 清泛网移动版 - 专注C/C++及内核技术 https://m.tsingfun.com/it/os_kernel/2650.html
Sat Aug 31 11:22:31 2024
GitHub - sebaxakerhtc/rdpwrap.ini: RDPWrap.ini for RDP Wrapper Library by Stas'M https://github.com/sebaxakerhtc/rdpwrap.ini
Sat Aug 31 11:22:17 2024
thumbnail

RDPWrap.ini for RDP Wrapper Library by Stas'M. Contribute to sebaxakerhtc/rdpwrap.ini development by creating an account on GitHub.

ScoopInstaller/Scoop: A command-line installer for Windows. https://github.com/ScoopInstaller/Scoop
Wed Aug 28 22:01:10 2024
thumbnail
ss的通信原理以及攻击方法分析 - wonderkun | 血衫非弧の一存 https://blog.kelu.org/tech/2023/01/24/ss-analysis-of-communication-principles-and-attack-methods.html
Wed Aug 28 19:29:14 2024
ss
直连、中转、BGP、IPLC国际专线节点你都了解吗 https://sites.google.com/site/besttopvps/-IPLC-international-dedicated-line-nodes
Wed Aug 28 19:21:22 2024
GitHub - mr-karan/doggo: :dog: Command-line DNS Client for Humans. Written in Golang https://github.com/mr-karan/doggo
Wed Aug 28 08:52:58 2024
thumbnail

dns问题排查工具

GitHub - RubyMetric/chsrc: chsrc 全平台通用换源工具与框架. Change Source for every software on every platform from the command line. https://github.com/RubyMetric/chsrc
Wed Aug 28 08:48:32 2024
VMware Workstation虚拟机提示:锁定文件失败,打不开磁盘“****”或它所依赖的某个快照磁盘,模块“Disk”启动失败的解决办法_51CTO博客_vmware workstation 锁定文件失败 https://blog.51cto.com/u_15553407/5296004
Mon Aug 26 15:37:03 2024
  1. 用记事本打开对应虚拟机目录中的.vmx文件,将vmci0.presnet的值改成FALSE
📔【计算机网络】两台主机的通信过程 https://imageslr.com/2021/computer-communicate.html
Mon Aug 26 14:59:37 2024

ARP 协议只用于局域网中,不同局域网之间通过 IP 协议进行通信。

Shaarli API Documentation https://shaarli.github.io/api-documentation/#links-links-collection-post
Mon Aug 26 12:11:22 2024

思考一下能不能用快捷指令做一个shaarli添加标签

GitHub - kalvn/Shaarli-Material: Shaarli Material is a theme for Shaarli, the famous personal, minimalist, super-fast, database free, bookmarking service. https://github.com/kalvn/Shaarli-Material
Mon Aug 26 12:05:58 2024
thumbnail

换Shaarli主题

Linux和Unix学习:Chapter 2: Booting and System Management Daemons https://github.com/abdoufermat5/unix-and-linux-sysadmin-notes/blob/main/booting-and-system-management-daemons/readme.md
Mon Aug 26 10:23:53 2024

通过efibootmgr管理启动顺序

查看启动顺序

efibootmgr -v

修改启动顺序

efibootmgr -o xxxx(顺序1),xxxx(顺序2)

System management daemons(系统管理守护进程)

当内核加载并且完成初始化后,会在用户空间创建一些自发进程

Why call it Spontanous

在正常情况下,新进程的创建通常是由现有进程请求的。这里的"自发进程"指的是内核在完成初始化过程后,无需其他进程的指示,就会自动创建的一组用户空间中的进程。这种自主性是内核设计的一部分,用于在系统启动时自动启动一些必要的服务或应用程序。

Systemd

Systemd 不是单一的守护进程,而是一个集合,包含了多个程序、守护进程、库、技术以及内核组件。简单来说,Systemd 是一个系统和服务管理器,它由多个不同的部分组成,这些部分共同工作,以管理和协调 Linux 系统中的进程和服务。

在systemd中,每个unit都是通过unit file定义和管理的。unit file可以存放在不同的地方:

  • /usr/lib/systemd/system
  • /lib/systemd/system
  • /etc/systemd/system
    前面两个一般不应该被用户修改,第三个才是用于用户定义自己的程序和应该接触到的服务的unit file

systemctl

systemctl是管理systemd的一个工具。
Example:

# show all loaded and active services, sockets, targets, mounts, and devices
$ systemctl list-units

# show all loaded and active services
$ systemctl list-units --type=service

# show all installed unit files
$ systemctl list-unit-files --type=socket

unit files状态

  • Bad: unit file 是损坏的
  • disabled: unit file已经安装,但没有配置自启动
  • enabled: unit file已经安装并且配置了自启动
  • masked: 被屏蔽了
  • static: 当前单元被其他单元所依赖,但它自身在安装时并不需要依赖其他任何东西
  • indirect: 当前这个功能不可用,但是有其他相关的功能或选项可能还是可用的
  • linked: 指向另一个单元文件的符号链接

服务单元文件(unit files)可以通过多种方式声明它们与其他单元文件之间的关系。最常见的方式是在单元文件的[Install]部分指定一个WantedBy或RequiredBy指令。这些指令用来指定目标单元,即当前单元文件应该与之一起启动或停止的单元。

  • "WantedBy" 指令用于指定当哪些单元被激活时,当前单元也应该被激活。
  • "RequiredBy" 指令用于指定当前单元需要哪些单元被激活,以便当前单元可以正常运行。
unix-and-linux-sysadmin-notes
一个比较谷歌在不同地区、不同语言下返回的搜索结果的工具 https://www.serpchecking.com/
Mon Aug 26 10:15:00 2024
route add添加静态路由_51CTO博客_route add添加永久路由 https://blog.51cto.com/dadloveu/737268
Fri Aug 23 18:15:37 2024
浅谈在代理环境中的 DNS 解析行为 | Sukka's Blog https://blog.skk.moe/post/what-happend-to-dns-in-proxy/
Thu Aug 22 16:54:05 2024
vi/vim复制粘贴命令_vi粘贴命令-CSDN博客 https://blog.csdn.net/lanxinju/article/details/5727262
Thu Aug 22 14:29:18 2024

文章浏览阅读10w+次,点赞64次,收藏208次。1. 选定文本块。使用v进入可视模式,移动光标键选定内容。 2.复制的命令是y,即yank(提起) ,常用的命令如下: y 在使用v模式选定了某一块的时候,复制选定块到缓冲区用; yy 复制整行(nyy或者yny ,复制n行,n为数字); y^ 复制当前到行头的内容; y$ 复制当前到行尾的内容; yw 复制一个word (nyw或者ynw,复制n个word,n为数字); _vi粘贴命令

vi粘贴命令
iptables常用命令小清单-阿里云开发者社区 https://developer.aliyun.com/article/888704
Wed Aug 21 18:15:37 2024
thumbnail
查看进程数量 https://chat.luxiwong.cn/#/chat
Wed Aug 21 17:04:16 2024

用户:

ps -ef | grep xxx | grep -v grep | wc -l这段代码是什么意思

ChatGPT:

这段代码的含义是统计当前系统中与 xxx 相关的进程数量。下面是对每个部分的详细解释:

  1. ps -ef:

    • ps 是一个用于显示当前运行进程的命令。
    • -e 选项表示显示所有进程。
    • -f 选项表示以完整格式显示进程信息,包括 UID、PID、PPID、C、STIME、TTY、TIME 和 CMD 等字段。
  2. | grep xxx:

    • | 是管道符,用于将前一个命令的输出传递给下一个命令。
    • grep xxx 用于从 ps -ef 的输出中筛选出包含 xxx 的行。xxx 可以是任何你想要查找的进程名或关键字。
  3. | grep -v grep:

    • grep -v 用于反向匹配,即排除包含 grep 的行。这是因为在使用 grep 查找进程时,grep 本身的进程也会被列出,所以我们需要排除它。
  4. | wc -l:

    • wc 是一个用于统计字数、行数和字符数的命令。
    • -l 选项表示只统计行数。这里它用于统计经过前面筛选后的行数,即与 xxx 相关的进程数量。

总结

整条命令的作用是:统计当前系统中与 xxx 相关的进程数量,输出结果为一个数字,表示找到的进程数量。

page 4 / 9
178 links, including 1 private
Shaarli - 个人、超快、极简、掌握数据库的书签服务 由 Shaarli 社区提供 - Theme by kalvn