周知是什么意思| 九月份有什么节日| 一直腹泻是什么原因| 诸多是什么意思| 组织液是什么| 缓刑什么意思| 胰岛素偏高是什么意思| 葡萄糖偏高是什么意思| 打呼噜是什么引起的| 精湛是什么意思| 腹主动脉壁钙化是什么意思| yair是什么牌子的空调| 什么病不能吃绿豆| 墨菲定律是什么| 什么是pid| 阴道有褐色分泌物是什么原因| 肖可以加什么偏旁| 月经不调去医院挂什么科| 一直干呕是什么原因| gsp全称是什么| 四肢麻木是什么原因引起的| 六角恐龙吃什么| 每天喝一杯豆浆有什么好处| 王母娘娘叫什么名字| 属马与什么属相最配| 胸闷气短可能是什么病| 宝石蓝是什么颜色| 没有奶水怎么办吃什么能下奶| 三甲医院是什么意思| 纹眉需要注意什么| 多汗症是什么原因| 胎神是什么意思| 家里出现蚂蚁预示什么| 胆囊炎输液用什么药| 青光眼是什么| 黑枸杞和红枸杞有什么区别| 什么容易误诊为水痘| 免贵姓是什么意思| 吃汤圆是什么节日| 农历10月份是什么星座| 赤道2什么时候上映| 以马内利什么意思| 多吃蒜有什么好处和坏处| 吗啡是什么| 一步两步三步四步望着天是什么歌| 老鼠跟什么属相最配| 贤惠是什么意思| 血管炎吃什么药最有效| 煲汤放什么药材补气血| 肠胃炎吃什么药好| 十月二十七是什么星座| 犹怜是什么意思| 日什么月什么的成语| cvm是什么意思| 夏天脚底出汗是什么原因| 什么是红颜知己| 子宫内膜异位症是什么意思| 副鼻窦炎症是什么意思| 傧相是什么意思| 虫草适合什么人吃| 黄加黑变成什么颜色| 天蝎座和什么座最配| 女生的胸长什么样子| 马非读什么| 包浆是什么意思| 花椒木有什么作用与功效| 肾阳虚吃什么药好| 阳光是什么颜色| 湍急是什么意思| 珍珠鸟吃什么食物| 内径是什么意思| 木加鬼念什么| 脚掌心发热是什么原因| 吃三七粉有什么效果| 93年属鸡是什么命| 小哥哥是什么意思| 卜在姓氏里读什么| 文火是什么火| 延年是什么意思| 益母草能治什么病| 脱盐乳清粉是什么| 女性痔疮挂什么科室| 肩周炎看什么科| 为什么不建议治疗幽门螺杆菌| 西洋参有什么功效和作用| 什么是激光| 吃什么排黑色素最强| 蓝眼泪是什么意思| 儿童头痛挂什么科| 孕期吃什么水果好| 爱出汗的人是什么原因| 皮疹和湿疹有什么区别| 刘诗诗是什么样的人| ash是什么牌子| 唐筛检查什么| 水柔棉是什么面料| 碳素笔是什么笔| 疯狂动物城狐狸叫什么| 6月25什么星座| 拜读是什么意思| 和田玉籽料是什么意思| 气的什么| 溯溪是什么意思| 1972年是什么年| 狗咬了不能吃什么| 出汗多吃什么好| 产前诊断是检查什么| 早上尿黄是什么原因| 国防部长有什么权利| 老是打喷嚏是什么原因| 胃疼可以吃什么食物| 野趣是什么意思| 我的梦想是什么| 甲亢是什么意思| 心里紧张吃什么药缓解| 蝙蝠吃什么| 诸葛亮号什么| 十月初八是什么星座| 大便有酸味是什么原因| 不遗余力的遗是什么意思| 腿痛挂什么科| 海南的海是什么海| 笃定什么意思| 低聚糖是什么| 红枣有什么功效和作用| pin是什么意思| 降结肠在什么位置| 大山羊是什么病| 牛瓦沟是什么部位| 吃什么菜| 天下无不是的父母是什么意思| 2月27是什么星座| 全能神是什么| 变化无常的意思是什么| 晚上9点半是什么时辰| rpr是什么检查项目| n代表什么| 里长是什么官| 后厨打荷是干什么的| 长公主是皇上的什么人| 吕洞宾属什么生肖| 燊什么意思| 什么是荨麻疹| 日本为什么偷袭珍珠港| 尿酸高适合喝什么汤| 抽筋是什么病| 婳是什么意思| 白开水喝多了有什么危害| fov是什么| 胆结石有什么治疗方法| 新疆是什么气候| 鱼爱吃什么食物| 拔牙可以吃什么| cbp是什么意思| 坚果补充什么营养成分| 绿巨人是什么意思| 快乐的反义词是什么| 胎儿腹围偏大说明什么| 副处是什么级别| 屎发黑是什么原因| 天癸是什么意思| 百香果有什么好处| 牙齿酸痛是什么原因| joy什么意思| 什么的太空| comma是什么意思| 十二月四号是什么星座| 孕妇缺铁对胎儿有什么影响| 彧读什么| 死精吃什么能调理成活精| 艺高胆大是什么生肖| 咳嗽有血是什么原因| 喜人是什么意思| 狗翻肠子什么症状| 新型冠状病毒有什么症状| 来褐色分泌物是什么原因| 红蜘蛛是什么虫| 什么是维生素| 手作是什么意思| 小腿胀痛是什么原因| 为什么会长牙结石| 什么是性早熟| 盐酸利多卡因是什么药| 什么是缓刑意思是什么| 小腿浮肿是什么原因女性| 石斛什么功效| 孤军奋战是什么意思| 胰腺在人体起什么作用| 看胸部挂什么科| 蜂蜜有什么功效和作用| 五月十七是什么星座| 观音殿求什么| coa是什么意思| 福泽深厚什么意思| 朔字五行属什么| 慢性阑尾炎挂什么科| 盆底肌松弛有什么症状| 粉色是什么颜色配成的| 怀孕什么时候有反应| 乐五行属性是什么| im医学上是什么意思| 喜怒无常是什么意思| 山姆是什么| 建档立卡是什么意思| 八段锦什么时候练最好| 活字印刷术是什么时候发明的| 什么花什么门的成语| 为什么要当兵| 吃什么补充dha| 个子矮吃什么才能长高| 后厨打荷是干什么的| loho眼镜属于什么档次| 男人射精快什么原因| 有才是什么意思| 一进去就射是什么原因| 吃什么油最健康排行榜| 宝宝手脚冰凉是什么原因| 熟啤酒是什么意思| 什么实实| 大泽土是什么生肖| 血糖高是什么症状| 被是什么偏旁怎么读| 为什么天天做梦| 肠胃功能紊乱什么症状| 祛湿吃什么药| 祸祸是什么意思| 甲胎蛋白是检查什么的| 摆拍是什么意思| 阑尾有什么作用| 打点是什么意思| 桂花什么时候开花| 男士去皱纹用什么好| 易烊千玺什么星座| tia是什么| 面粉是什么做的| 焦糖色是什么颜色| 城隍庙是什么神| 为什么会梦到蛇| 糖尿病是什么原因造成的| 蚊子喜欢什么血型的人| 跨界歌手是什么意思| 乳头变大是什么原因| 情人总分分合合是什么歌| 屏蔽一个人意味着什么| 氟是什么| 什么牌子的充电宝好| 地瓜是什么| 以前没有狐臭为什么突然就有了| 前三个月怀孕注意什么| 酒后头疼吃什么| 子午相冲是什么生肖| 打碎碗是什么预兆| 休学需要什么条件| 什么防晒霜好用| 窦性心动过速是什么意思| 什么是邮箱地址应该怎么填写| 滤泡性咽炎吃什么药| 寒胃有什么症状| 低血压的人吃什么好| 角弓反张是什么意思| pbr是什么意思| 什么是导管| 狮子长什么样| 汪峰什么星座| 百度
Jump to content

1985年什么命

From ArchWiki
m Adding HUN menuitem
Line 6: Line 6:
[[fi:Help:Reading]]
[[fi:Help:Reading]]
[[fr:Help:Reading]]
[[fr:Help:Reading]]
[[hu:Help:Reading]]
[[it:Help:Reading]]
[[it:Help:Reading]]
[[ja:ヘルプ:読み方]]
[[ja:ヘルプ:読み方]]

Revision as of 15:27, 11 June 2025

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

Root, regular user or another user

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 sudo#Login shell.

When the commands need to run as a specific user, they will be prefixed by the username in square brackets, for example:

[postgres]$ initdb -D /var/lib/postgres/data

This means you should use a privilege elevation tool, e.g. with sudo:

$ sudo -u postgres initdb -D /var/lib/postgres/data

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
Note Text files must end with a newline because a line is terminated with a newline. Most text editors insert an ending newline by default.

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 meta package is required to build packages from the AUR or with the Arch build system.

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, etc., some systemd unit (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

A notable command that does not follow this exact pattern is systemctl daemon-reload which will be called without arguments.

The systemd#Using units section contains structured list of available actions (like start, enable, enable and start, etc.) with their corresponding systemctl commands.

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 should be able to recognize these cases by the context.

什么情况下吃奥司他韦 神经肌电图检查什么 皮肤瘙痒是什么病的前兆 用牛奶敷脸有什么好处和坏处 留低是什么意思
天蝎和什么星座最配 梦见和别人结婚是什么意思 摩丝是什么 air是什么意思 恨铁不成钢是什么意思
尿酸高肌酐高是什么原因呢 巨蟹座和什么星座最配 虱子用什么药可以根除 舌战群儒是什么意思 电磁炉上可以放什么锅
卷柏属于什么植物 心绞痛是什么原因引起的 一什么杏子 糖尿病吃什么主食最好 盆腔炎是什么原因引起的
掌心有痣代表什么hcv7jop5ns6r.cn 天方夜谭是什么生肖hcv8jop6ns3r.cn 小猪佩奇为什么这么火jinxinzhichuang.com 陇是什么意思hcv8jop9ns5r.cn 不宁腿是什么症状hcv7jop5ns4r.cn
第一次坐飞机注意什么hcv9jop2ns1r.cn 派出所所长是什么级别hcv9jop6ns7r.cn 多囊肾是什么意思hcv9jop1ns3r.cn 什么的枣hcv7jop4ns8r.cn 奶奶的妈妈应该叫什么hcv8jop2ns6r.cn
阑尾炎应该挂什么科hcv8jop2ns2r.cn 气血两亏是什么意思hcv9jop5ns6r.cn 劫色是什么意思hcv8jop5ns8r.cn 怕得什么hcv9jop1ns7r.cn 低压高什么原因导致的hlguo.com
身体发烧是什么原因hcv9jop5ns7r.cn 口臭是什么原因hcv9jop3ns0r.cn 八八年属什么生肖hcv8jop1ns4r.cn 脑萎缩挂什么科hcv9jop5ns5r.cn 82年的拉菲是什么意思hcv8jop7ns8r.cn
百度