相关疑难解决方法(0)

区分交互式登录和非交互式非登录shell

我试图区分这四个术语登录、非登录、交互式和非交互式

  • 交互式 - 登录外壳
  • 交互式 - 非登录 shell
  • 非交互式 - 登录外壳
  • 非交互式 - 非登录外壳

据我了解
交互式-非登录shell:启动系统,登录系统并打开终端和
非交互式登录shell:telnet到系统并登录

但是交互式登录外壳呢?
它是否登录系统,打开虚拟终端并登录?和
非交互式 - 非登录 shell,它是否在 crontab 中运行自动脚本?

bash login

43
推荐指数
2
解决办法
4万
查看次数

Command Line Clipboard Access

I'm building a command line tool in order to make some of my tasks more efficient. I need to be able to write content to the clipboard, but for some reason it's not working for me.

I've tried installing both xclip and xsel, but both have the same behavior: they can read/write to the clipboard fine, but I cannot access it from the main Ubuntu GUI.

I've also tried it in the terminal...

echo "hello" | xclip
Run Code Online (Sandbox Code Playgroud)

Then if …

command-line clipboard

10
推荐指数
1
解决办法
9697
查看次数

scp \033H 消息

有一个奇怪的 scp 问题:

$ scp user@server.org:~/test.txt ./
Password:
\033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H
Run Code Online (Sandbox Code Playgroud)

密码没问题,但得到那个奇怪的 \033H 东西。并且文件不会传输。谁有想法?

ssh scp

3
推荐指数
1
解决办法
804
查看次数

标签 统计

bash ×1

clipboard ×1

command-line ×1

login ×1

scp ×1

ssh ×1