总是拉稀是什么原因| 政绩是什么意思| 女生左手中指戴戒指什么意思| 什么就像什么一样| 魔芋是什么东西| 谨记是什么意思| 三个牛读什么字| 小便尿色黄是什么问题| 庖丁是什么意思| 眼前有亮光闪是什么问题| 生日送什么| atc是什么意思| 提高免疫力吃什么| 白带多用什么药| 便秘吃什么药没有依赖性| 什么星座颜值最高| 一枚什么| 打疫苗前后要注意什么| 媾是什么意思| 金克木是什么意思| 长命锁一般由什么人送| 微信被拉黑后显示什么| 梭织是什么意思| 腰间盘突出是什么原因引起的| 财迷是什么意思| 糖尿病人吃什么好| 婆媳关系为什么难相处| 周角是什么| 百合什么意思| 猫代表什么象征意义| 流虚汗是什么原因| 吃鱼眼睛有什么好处| opd是什么意思| 望梅止渴是什么故事| nad是什么| 锦囊妙计是什么意思| 政委是干什么的| 豪情万丈什么意思| 胸口隐隐作痛挂什么科| 新型冠状病毒有什么症状| 试管婴儿是什么| 清道夫鱼有什么作用| 广州机场叫什么名字| 癞蛤蟆吃什么| 烟草是什么植物| 肿大淋巴结是什么意思| 苹果绿是什么颜色| 眼睛疲劳用什么眼药水好| 喝酒拉肚子吃什么药| 太子龙男装什么档次| 牙齿酸软是什么原因| 烧仙草是什么做的| 溜冰是什么意思| 为什么有眼袋是什么原因引起的| pd医学上是什么意思| 被交警开罚单不交有什么后果| 林俊杰什么时候出道的| 小孩子手足口病有什么症状图片| jk是什么意思| 三伏天要注意什么| 履新是什么意思| 为什么叫清明上河图| size是什么意思| 钙化灶什么意思| 爆粗口是什么意思| 解析是什么意思| 血压不稳定是什么原因| 主见是什么意思| 心脏传导阻滞吃什么药| 干细胞能治什么病| 心肾不交失眠吃什么中成药| 2月20日是什么星座| 得了咽炎有什么症状| 胃泌素是什么| 2009年出生属什么| 幼犬吃什么| 黄河水为什么是黄的| 50岁用什么牌子化妆品好| 低血糖吃什么好的快| 少了一个肾有什么影响| 辟谷是什么都不吃吗| 走心是什么意思| 总是拉稀是什么原因| 本加一笔是什么字| 三七粉是什么| 渗透压低是什么意思| 三刀六洞什么意思| 突然流鼻血是什么原因| 血糖仪h1是什么意思| 附件炎吃什么药好| 十九畏是什么意思| 邮箱是什么| 布洛芬有什么作用| 脂肪肝能吃什么水果| 万条垂下绿丝绦是什么季节| 鲤鱼爱吃什么食物| 高梁长什么样子| 梅艳芳什么病| 木棉是什么面料| 甲字五行属什么| 园丁是什么意思| 梦见自己尿裤子了是什么意思| 毒瘾为什么那么难戒| 一个日一个斤念什么| 为什么坐月子不能吹风| 碳水是什么意思| 吃什么指甲长得快| 11月9号是什么日子| 冷敷眼睛有什么好处| 兔死狐悲是什么生肖| 什么是行政处罚| 中国第一个不平等条约是什么| 什么是捞女| 女人下嘴唇厚代表什么| 5s是什么意思| 偏光镜什么意思| 匆匆那年是什么意思| 天下乌鸦一般黑是什么意思| 慢阻肺用什么药| 为什么养猫就没有蟑螂| 舅父是什么意思| 女孩子学什么专业比较好| 丙肝有什么症状表现| 巨大的什么| 腰间盘突出挂什么科室| 网黄什么意思| 左肋骨下方是什么器官| 大便一粒粒是什么原因| 国花是什么花| 梦见好多肉是什么意思| 小孩几天不大便是什么原因怎么办| 蛋白尿吃什么药| 嫂夫人什么意思| 两毛四是什么军衔| 什么样的阳光填形容词| 心肌缺血用什么药效果最好| 暖气是什么症状| 绿色属于五行属什么| 结婚下雨有什么说法| 1962属什么| 拉稀是什么原因| 血红蛋白是查什么的| eps是什么意思| 还债是什么意思| 千克又叫什么| 娭毑是什么意思| 刁子鱼是什么鱼| 什么是冷暴力| 甲状腺功能减退是什么原因引起的| 肺结节什么症状| 桃子有什么营养价值| 闰月什么意思| 肾盂肾炎吃什么药好| 什么饭不能吃| 兔子吃什么| 化疗和放疗什么区别| 1927年属什么| 阴道干涩是什么原因| 白夜是什么意思| 胃热是什么原因| 班门弄斧什么意思| 穿什么衣服| 622188开头是什么银行| 父亲节送爸爸什么礼物| 6月8日什么星座| 后背有痣代表什么意思| 梦见铲雪预示着什么| 身上痒是什么原因引起的| 格物穷理是什么意思| 湿疹为什么晚上特别痒| 微量元素6项是查什么| rian是什么意思| 撇清关系是什么意思| 吃什么食物治便秘| 吃什么都吐是什么原因| 吃鸡蛋胃疼是什么原因| 煜这个字读什么| 牙齿上白色斑块是什么| 画地为牢下一句是什么| 怀孕有什么特征和反应| 西瓜不可以和什么同食| 秋田狐鱼钩适合钓什么鱼| 受凉感冒吃什么药| 像狐狸的狗是什么狗| 眼角长脂肪粒是什么原因| sly是什么牌子| 什么中药化结石最厉害| 猫咪的胡子有什么作用| 硝石是什么| 痛风能喝什么饮料| 买什么保险最好最划算| 口腔溃疡吃什么维生素| 沙龙是什么| 蛇什么时候蜕皮| 原发性高血压是什么意思| 什么季节补钙效果最好| air是什么牌子| 陶氏腔积液是什么意思| 倪妮和倪萍什么关系| 阿尔马尔是什么药| 教学相长什么意思| 中风是什么原因引起的| 五十是什么之年| 讳疾忌医是什么意思| 无犯罪记录证明需要什么材料| 鹞是什么意思| 微凉是什么意思| 什么的珍珠| 慢性阑尾炎吃什么药好| 月经前几天是什么期| 水鱼是什么意思| 验大便能查出什么| 月经量减少是什么原因| 感冒喉咙痛吃什么药好| 蚊子喜欢咬什么血型| 肠结核是什么病| 胃潴留是什么病| 咖喱是什么味道| 为什么睡觉磨牙| 什么是假性近视| 有什么水果| 水淀粉是什么| 什么油最好| 为什么叫印度阿三| 梦见自己丢钱了什么征兆| 脂溢性皮炎有什么症状| 肺结节影是什么意思啊| 儿童吃手指是什么原因| 梦见尸体是什么意思| 宝宝吃什么奶粉好| 户口本丢了有什么危害| 为什么老是想吐| 心肌梗塞是什么原因引起的| 子宫直肠窝积液是什么意思| 避火图是什么| 咽炎吃什么| 刑克是什么意思| 胃充盈欠佳是什么意思| 老年人补什么钙效果最好| 公积金缴存基数什么意思| 县委书记属于什么级别| 竹者念什么| Fine什么意思中文| 肺部散在小结节是什么意思| 什么样的人能镇住凶宅| 摩羯是什么| 企鹅吃什么食物| 检查包皮挂什么科| 不经历风雨怎能见彩虹是什么意思| 值神是什么意思| 1202是什么星座| 驴血是什么颜色| 陈字五行属什么| 农历5月是什么月| 金银满堂是什么生肖| value是什么意思| 禅心是什么意思| 随时随地是什么意思| 骤雨落宿命敲什么意思| 无语凝噎是什么意思| 中巴友谊为什么这么好| my什么牌子| 胆汁反流性胃炎吃什么药| 下午七点是什么时辰| 百度
Jump to content

长安铃木锋驭后轮轮胎吃胎非正常磨损 - 车质网

From ArchWiki
Motolly (talk | contribs)
m Motolly moved page Help:Reading to Help:Reading-Guide
Motolly (talk | contribs)
m Motolly moved page Help:Reading-Guide to Help:Reading over redirect
(No difference)

Revision as of 13:24, 25 June 2023

Because the vast majority of the ArchWiki contains indications that may need clarification for users new to Arch Linux (or GNU/Linux in general), this rundown of basic procedures was written both to avoid confusion in the assimilation of the articles and to deter repetition in the content itself.

Organization

Most articles on the ArchWiki do not attempt to provide a holistic introduction to a single topic; they are instead written in adherence to the "Don't Repeat Yourself" principle, under the assumption that the user will seek out and read any supporting material that they do not yet understand. Where possible, such supporting material is indicated in the article via special formatting, see #Formatting.

Because of this organization, it may be necessary to examine several related sources in order to fully understand an ArchWiki article. In particular, users who are new to Arch (or GNU/Linux in general) should expect to end up reading a great number of articles even when solving simple problems. It is especially important to study the supporting material before seeking additional help from other users.

Formatting

Regular user or root

Some lines are written like so:

# mkinitcpio -p linux

Others have a different prefix:

$ makepkg -s

The numeral or hash sign (#) indicates that the command needs to be run as root, whereas the dollar sign ($) shows that the command should be run as a regular user.

Note The commands prefixed with # are intended to be executed from a root shell, which can for example be easily accessed with sudo -i. Running sudo command from an unprivileged shell instead of command from a root shell will also work in most cases, with some notable exceptions such as redirection and command substitution, which strictly require a root shell. See also sudo.

A notable exception to watch out for:

# This alias makes ls colorize the listing
alias ls='ls --color=auto'

In this example, the context surrounding the numeral sign communicates that this is not to be run as a command; it should be edited into a file instead. So in this case, the numeral sign denotes a comment. A comment can be explanatory text that will not be interpreted by the associated program. Bash scripts denotation for comments happens to coincide with the root PS1.

After further examination, "give away" signs include the uppercase character following the # sign. Usually, Unix commands are not written this way and most of the time they are short abbreviations instead of full-blown English words (e.g., Copy becomes cp).

Regardless, most articles make this easy to discern by notifying the reader:

Append to ~/path/to/file:

# This alias makes ls colorize the listing
alias ls='ls --color=auto'

Append, add, create, edit

When prompted to append to, add to, create, or edit one or more files, it is implied that you should use one of the following methods.

To create or modify multiline files, it is suggested to use a text editor. For example, using the nano command to edit the file /etc/bash.bashrc is:

# nano /etc/bash.bashrc

To create or overwrite a file from a string, it may be simpler to use output redirection. The following example creates or overwrites the contents of the file /etc/hostname with the text myhostname.

# echo myhostname > /etc/hostname

Output redirection can also be used to append a string to a file. The following example appends the text [custom-repo] to the file /etc/pacman.conf.

# echo "[custom-repo]" >> /etc/pacman.conf

When prompted to create directories, use the mkdir command:

# mkdir /mnt/boot

Make executable

After creating a file, if it is meant to be run as a script (whether manually or called by another program), it needs to be set as executable, for example with:

$ chmod +x script

See chmod. Some applications such as file managers may provide graphical interfaces to do the same.

Source

Some applications, notably command-line shells, use scripts for their configuration: after modifying them, they must be sourced in order for the changes to be applied. In the case of bash, for example, this is done by running (you can also replace source with .):

$ source ~/.bashrc

When the wiki suggests modifying such a configuration script, it will not explicitly remind you to source the file, and only in some cases will it point to this section with a reminder link.

Installation of packages

When an article invites you to install some packages in the conventional way, it will not indicate the detailed instructions to do so; instead, it will simply mention the names of the packages to be installed.

Note Frequently, the install or installed links are used to point to this article section. However, JavaScript has to be enabled for these links to work.

The subsections below give an overview of the generic installation procedures depending on the package type.

Official packages

For packages from the official repositories, you will read something like:

Install the foobar package.

This means that you have to run:

# pacman -S foobar

The pacman article contains detailed explanations to deal with package management in Arch Linux proficiently.

Arch User Repository

For packages from the Arch User Repository (AUR), you will read something like:

Install the foobarAUR package.

This means that in general you have to follow the foobarAUR link, download the PKGBUILD archive, extract it, verify the content and finally run, in the same folder:

$ makepkg -si
Note The base-devel group of packages is required to build packages from the AUR or with the ABS.

The Arch User Repository article contains all the detailed explanations and best practices to deal with AUR packages.

Control of systemd units

When an article invites to start, enable, stop or restart some systemd units (e.g. a service), it will not indicate the detailed instructions to do so, but instead you will read something like:

Start example.service.

This means that you have to run:

# systemctl start example.service

The systemd article contains all the detailed explanations to interact with systemd units in Arch Linux proficiently.

System-wide versus user-specific configuration

It is important to remember that there are two different kinds of configurations on a GNU/Linux system. System-wide configuration affects all users. Since system-wide settings are generally located in the /etc directory, root privileges are required in order to alter them. For example, to apply a Bash setting that affects all users, /etc/bash.bashrc should be modified.

User-specific configuration affects only a single user. Dotfiles are used for user-specific configuration. For example, the file ~/.bashrc is the user-specific configuration file. The idea is that each user can define their own settings, such as aliases, functions and other interactive features like the prompt, without affecting other users' preferences.

Note ~/ and $HOME are shortcuts for the user's home directory, usually /home/username/.

Common shell files

Bash and other Bourne-compatible shells, such as Zsh, also source files depending on whether the shell is a login shell or an interactive shell. See Bash#Configuration files and Zsh#Startup/Shutdown files for details.

Pseudo-variables in code examples

Some code blocks may contain so-called pseudo-variables, which, as the name says, are not actual variables used in the code. Instead they are generic placeholders and have to be manually replaced with system-specific configuration items before the code may be run or parsed. Common shells such as bash and zsh provide tab-completion to auto-complete parameters for common commands such as systemctl.

In the articles that comply with Help:Style/Formatting and punctuation, pseudo-variables are formatted in italics. For example:

  • Enable the dhcpcd@interface_name.service for the network interface identified from the output of the ip link command.

In this case interface_name is used as a pseudo-variable placeholder in a systemd template unit. All systemd template units, identifiable by the @ sign, require a system-specific configuration item as argument. See Systemd#Using units.

  • The command dd if=data_source of=/dev/sdX bs=sector_size count=sector_number seek=partitions_start_sector can be run as root to wipe a partition with the specific parameters.

In this case the pseudo-variables are used to describe the parameters that must be substituted for them. Details on how to gather them are elaborated on in the section Securely wipe disk#Calculate blocks to wipe manually, which features the command.

This article or section needs expansion.

Reason: Mention other examples, ideally from other device categories (e.g. storage), with links to background articles. The examples are meant to avoid duplicating existing explanations in other articles. (Discuss in Help talk:Reading)

In case of file examples, pasting pseudo-variables in real configuration files might break the programs that use them.

Ellipses

In most cases, ellipses (...) are not part of the actual file content or code output, and instead represent omitted or optional text that is not relevant for the discussed subject.

For example HOOKS="... encrypt ... filesystems ..." or:

/etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
    ...
    Option      "CircularScrolling"          "on"
    Option      "CircScrollTrigger"          "0"
    ...
EndSection

Be aware though that, in a few instances, ellipses may be a meaningful part of the code syntax: attentive users will be able to easily recognize these cases by the context.

遗传物质是什么 pde是什么意思 卫生局是什么单位 血氨低是什么原因 524是什么意思
越什么越什么 鼻塞流清鼻涕吃什么药 什么可以治早泄 肺部结节吃什么好 性冷淡什么意思
月经期间适合做什么运动 o型血阳性是什么意思 一金有什么用 高会是什么意思 脸上长扁平疣是什么原因引起的
高净值什么意思 持续是什么意思 大腿两侧疼痛什么原因 消化性溃疡吃什么药好 结婚14年是什么婚
肝左叶囊性灶什么意思hcv8jop2ns0r.cn 不走寻常路是什么意思hcv7jop9ns0r.cn 杏仁和什么不能一起吃hcv8jop2ns0r.cn 忘年恋是什么意思hcv8jop4ns3r.cn 小孩肚脐眼周围疼是什么原因hcv8jop1ns7r.cn
什么羽毛球拍最好hcv8jop6ns3r.cn asia是什么意思hcv9jop1ns2r.cn 男人不尊重你说明什么hkuteam.com 眼镜是什么时候发明的hcv8jop9ns9r.cn 早上口干苦是什么原因hcv8jop7ns0r.cn
囊肿是什么东西hcv8jop4ns6r.cn 人参和什么泡酒最好hcv8jop9ns1r.cn 美白吃什么hcv9jop2ns2r.cn 上颚起泡是什么原因hcv9jop4ns9r.cn 钡餐是什么zhongyiyatai.com
梦见洗脚是什么意思hcv7jop5ns2r.cn 小朋友手指脱皮是什么原因sanhestory.com puppies什么意思hcv9jop5ns6r.cn 低钾有什么症状和危害hcv9jop5ns5r.cn 头皮屑挂什么科hcv9jop4ns9r.cn
百度