# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group:
我有一个最小的Linux系统。
init是/bin/bash,在/lib/中只有最少的库,/dev/是静态填充的,没有运行守护进程(没有udev,.)
当bash启动时,我得到以下错误:
bash: cannot set terminal process group (-1) inappropriate ioctl for device
bash: no job control in this shell
当我从strace开始bash时,我得到以下输出:
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/dev/tty",
我的文件包含以下几行
File.txt
Unix is good
Linux and unix is different?
Linux is also good, then what about unix?
这里我要输出
(1st line blank)
Linix and
Linux is also good, then what about
在这里vi命令或任何其他命令都会给出这个输出?搜索特定的单词,如果这是对的话,然后删除那个词,然后删除该行中的所有单词。