小编use*_*912的帖子

如何更改文件夹的只读权限

我是 ubuntu 的新手,我使用的是 ubuntu 12.04 LT

文件的权限,如

drwxr-xr-x 4 root root 4096 Oct 9 14:16
Run Code Online (Sandbox Code Playgroud)

permissions 12.04

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

文件 bashrc 意外结束

当我打开终端时,我得到:

line 106 unexpected EOF while looking for matching `''
line 120 syntax error: unexpected end of file
Run Code Online (Sandbox Code Playgroud)

bashrc

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
*i*) ;;
  *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, …
Run Code Online (Sandbox Code Playgroud)

command-line bash bashrc

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

标签 统计

12.04 ×1

bash ×1

bashrc ×1

command-line ×1

permissions ×1