我试图找到“string.h”的手动条目,我安装了 GNU gcc。但是当我输入时man string.h,它显示我no manual entry for string.h,我不确定出了什么问题?有人可以帮我吗?谢谢!
我知道 X11 将通过startx. startx位于/usr/bin/startx. 那么第一个调用到startx哪里呢?我想确切地知道哪个脚本正在运行startx。
我试图只对与 firefox 无关的 IP 地址进行排序,并将它们写入一个文件中。我结束了这个命令行,完成了这项工作,但我想知道是否有办法做得更好。
netstat -antp | grep -E ?:80 | grep -v firefox > ipadress.txt && awk '{print $5}' ipadress.txt > ipadress1.txt
Run Code Online (Sandbox Code Playgroud)
有没有办法通过删除 :80 端口来获得更干净的输出?我使用了ipadress1.txt因为当我试图覆盖它时它不起作用。
我有一台 HP 32 位笔记本电脑,操作系统为 ubuntu 16.04 lts。我想安装一个.sh附带的软件(例如abcd.sh)。现在我在下载文件夹中下载该文件,然后从终端首先转到该文件夹并运行:
$ cd Download
$ ./abcd.sh
bash: ./abcd.sh: Permission denied
Run Code Online (Sandbox Code Playgroud)
所有这些命令有什么问题吗?我怎样才能执行该文件?
谁能告诉为什么 Python 3.6 在 Zesty 中不可用?每当我尝试更新它时,最新的是 3.5.3。3.6有问题,还是他们在等3.7?
如何运行该ps 实用程序?
thufir@arrakis:~$
thufir@arrakis:~$ ps -aux
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common
You will have to enable the component called 'main'
thufir@arrakis:~$
thufir@arrakis:~$
thufir@arrakis:~$ ps aux
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common
You will have to enable the component called 'main'
thufir@arrakis:~$
Run Code Online (Sandbox Code Playgroud)
有时它比top; 不知道为什么ps不在路径中,因为它是全新安装。看起来很奇怪。
我怎样才能ps正常工作?
运行 Ubuntu Gnome 17.04。
我的问题可能在语法上是错误的。所以,请原谅标题的措辞。这里有更详细的解释。
我想按 Window 键,然后在搜索框中键入 shell 命令,例如 mv file1 dir2 并按 Enter。这样命令就被执行了。
我怎么做?我尝试输入该命令,但什么也没发生。
我名字的主机名很长,很奇怪。如何更改我的系统的主机名?
目前,我的主机名是
himanshu@himanshu-Lenovo-ideapad-100-15IBD:~$
有什么办法可以缩短或完全改变它吗?
我收到以下错误消息。zip 文件(5GB)可能太大
Archive: /home/wing92518/Documents/simulation_set_1_result/replication_1.zip
warning [/home/wing92518/Documents/simulation_set_1_result/replication_1.zip]: 849850736 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [/home/wing92518/Documents/simulation_set_1_result/replication_1.zip]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
Run Code Online (Sandbox Code Playgroud)