小编kos*_*kos的帖子

如何查看文件的权限?

我正在运行 Ubuntu 14.04 32 位,我试图了解如何查看文件的权限和所有权。

permissions files

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

如何编辑`$PATH`变量

$PATH变量究竟存储在哪里?我正在/etc/environment用我想要的路径更改文件。然后我正在做echo $PATH并显示旧版本。

environment-variables

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

我无法下载软件或使用 `sudo`

终端

这就是我使用sudo.

另外,我无法更新 Ubuntu,也无法打开软件中心。

sudo

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

Ubuntu奇怪的终端模式

使用终端时,我没有输入“exit”,而是不小心输入了“`xit”。

然后终端进入了这样的奇怪模式,并且不会响应我输入的任何内容:

截屏

command-line bash

0
推荐指数
1
解决办法
759
查看次数

为什么使用命令 `./myFile a` `a` 被解释为输入参数?

g++ -o myFile myFile.cpp我编译一个程序后,用来./myFile &执行该程序。

使用&符号时,我知道程序在后台执行。

有人可以将我引导到正确的链接,解释什么./myFile a意思吗?我不明白为什么使用该命令a被解释为输入参数。

command-line executable

0
推荐指数
1
解决办法
343
查看次数

bash:/etc/bash.bashrc:第 122 行:语法错误:文件意外结束

# System-wide .bashrc file for interactive bash(1) shells.

# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
  if [ -z "$PS1" ] && return

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# set variable identifying the chroot you work in (used in …
Run Code Online (Sandbox Code Playgroud)

command-line bash

0
推荐指数
1
解决办法
2689
查看次数