小孩血糖高是什么原因引起的| 胎儿永存左上腔静脉是什么意思| 什么野果| 梦见大蟒蛇是什么预兆| 嗓子痒痒吃什么药| 活检是什么意思| beaf什么意思| 跑步对身体有什么好处| 阉人什么意思| 阴道炎吃什么| 什么叫留守儿童| 梦见大水是什么预兆| 千斤拔泡酒有什么功效| 广基息肉是什么意思| 医保卡什么样子| 特工是什么意思| 运动系统由什么组成| 犬瘟吃什么药管用| 梦见打死猫有什么预兆| 心内科是看什么病的| 煞是什么意思| 额头出汗是什么原因| 感冒喝什么饮料| a型血的孩子父母是什么血型| 指甲有凹陷是什么原因| 睾酮素低了有什么症状| 婴儿头发长得慢是什么原因| rh阳性是什么意思| 报应不爽什么意思| 赵国是现在的什么地方| 铁皮石斛治什么病| 晚上喝牛奶有什么好处和坏处| 贝贝什么意思| 避孕环是什么样子图片| 什么地指挥| 雨水是什么季节| 场面是什么意思| 小孩半夜哭闹是什么原因| 为什么一站起来就头晕眼前发黑| 中国国鸟是什么鸟| 希望孩子成为什么样的人| 来月经头疼是什么原因| 沙发适合什么发型| 儿童反复发烧什么原因| 什么是音节什么是音序| 用什么洗脸可以祛斑| 益母草长什么样| 孕妇什么情况下打肝素| 体内湿气重用什么药| 沧海桑田什么意思| 血热是什么原因| 登革热是什么病| 舌头尖有小红点这是什么症状| 制片人是做什么的| 囊肿是什么东西| 女人腰疼是什么原因引起的| 音译是什么意思| 刘字是什么偏旁| 老夫聊发少年狂什么意思| 动不动就出汗是什么原因| 77代表什么意思| 风疹是什么原因引起的| 肚子疼恶心想吐吃什么药| 精神小伙是什么意思| 右手臂发麻是什么原因| 八月二号是什么星座| 做四维需要准备什么| 什么的西瓜| 贾琏为什么叫二爷| 男生第一次什么感觉| 脚底灼热是什么原因| 黏膜是什么| 铁瓷是什么意思| 高压高低压正常是什么原因| 肝郁吃什么食物好| 心律不齐是什么意思| 吃什么食物降低转氨酶| 黑猫警长是什么猫| 尿胆原阳性是什么病| 迪赛尼斯属于什么档次| 茵芙莎属于什么档次| 早餐吃什么不会胖| 一直不来月经是什么原因| 大小姐是什么意思| 金牛女喜欢什么样的男生| 纹眉失败擦什么淡化| 嘴发麻是什么原因引起的| 晚霞是什么意思| 破执是什么意思| 早搏心律不齐吃什么药| 公积金有什么作用| 喝酒吃头孢有什么反应| 高血糖吃什么| 抽搐吃什么药| 为什么会得近视眼| 什么情况需要打破伤风| 月经不调去医院要做什么检查| 豚是什么意思| 痛风吃什么菜好| 葡萄糖偏高是什么原因| 华在姓氏里读什么| amh是什么意思| 上海的市花是什么花| 1968属什么生肖| 老年人腿无力是什么原因导致的| 绅士是什么意思| 阿胶不能和什么一起吃| 牛肉和什么蔬菜搭配好| 依西美坦最佳服用时间是什么时间| 手指腱鞘炎是什么原因造成的| 气管炎吃什么药好| 素质教育是什么| 瓜婆娘四川话是什么意思| 刚生完宝宝的产妇吃什么好| 症瘕病是什么病| 女性私处痒是什么原因引起的| 发烧可以吃什么| 千里走单骑是什么意思| 睡觉老是流口水是什么原因| 葫芦娃的爷爷叫什么| 木安读什么| 醋泡脚有什么好处| gi是什么意思| 冰糖和白糖有什么区别| 雅诗兰黛属于什么档次| 葡萄糖是什么糖| mbti测试是什么| 神隐是什么意思| 睡眠不好吃什么中成药| 血糖高什么不能吃| 羯羊是什么羊| hook是什么意思| nl是什么单位| 白头发多吃什么食物能变黑| 生物碱是什么| 什么节日吃汤圆| OD是什么| 山竹有什么营养| edm是什么意思| 心梗是什么症状| 1946年属什么生肖属相| 止语是什么意思| 茼蒿和什么相克| 什么的草地| 胆红素三个指标都高是什么原因| 煞笔是什么意思| 建档立卡是什么| 10月12是什么星座| 胆脂瘤是什么病| dan是什么意思| 左室舒张功能减低什么意思| acth是什么激素| 便便是绿色的是什么原因| 三角区长痘痘是什么原因| 为什么身上有红色的痣| yy什么意思| 游手好闲是什么意思| 什么样的大地| 烂脚丫用什么药最好| 棉花代表什么生肖| zara属于什么档次| 三个女人一台戏什么意思| 红曲米是什么| 火腿是什么动物的腿| 梦见自己坐车是什么意思| 樱桃是什么季节的水果| 女人肾虚是什么原因| 晚餐吃什么好| 食管炎是什么原因引起的| 早晨起来手肿是什么原因| 7月22日什么星座| 角化异常性疾病是什么| 紫癜病是什么症状| 早起的鸟儿有虫吃是什么意思| 决明子配什么喝最减肥| 肝右叶钙化灶是什么意思| 免费查五行缺什么| 高血压喝什么茶| 精索静脉曲张是什么原因导致的| 学中医需要什么学历| 素女经是什么| 三叉神经痛吃什么药好| 为什么筋膜炎一躺下才会疼| 从容的反义词是什么| 生物制剂对人体有什么副作用| 聊胜于无什么意思| 泳字五行属什么| 光顾是什么意思| 什么是有意义的东西| 铁锈用什么能洗掉| 尿路感染吃什么药最见效| 灯火通明是什么生肖| 孩子脾胃虚弱吃什么药| 眉毛上方有痣代表什么| 今年43岁属什么生肖| 1959年是什么年| 包皮过长有什么危害| 什么津乐道| 胸膜炎是什么病| 小孩子流鼻血是什么原因引起的| 堪称什么意思| 食人鱼长什么样子| 柳丁是什么| 香港商务签证需要什么条件| 猪鞭是什么| 经常打嗝是什么原因| 凭什么姐| 右肺下叶纤维化灶是什么意思| 红花泡水喝有什么功效和作用| 月经每个月都推迟是什么原因| 二八佳人是什么意思| 真菌感染皮肤病用什么药最好| 溶栓是什么意思| 虎虎生风是什么意思| 茱萸什么意思| 非那雄胺片是什么药| 验光pd是什么意思| 框框是什么意思| 走马观花的走什么意思| oversize是什么意思| 女性尿酸低是什么原因| 6月份生日是什么星座| 食指戴戒指代表什么| 蜂蜜跟什么不能一起吃| 什么的世界| 肾宝片是什么| 吃桑葚有什么好处| 手足口病什么症状| 上焦火吃什么药最有效| 早孕试纸和验孕棒有什么区别| 舌苔厚黄是什么原因| 小孩眼屎多是什么原因引起的| 一什么云彩| 肌酐高是什么问题| 越南古代叫什么| 什么叫原研药| 吃什么肉好| 用什么泡脚可以脸上祛斑| 命里缺水取什么名字好| 吃茶叶蛋有什么好处和坏处| 心悸是什么原因引起的| 耳朵痒痒是什么原因| 小孩舌头白是什么原因| 马革裹尸是什么意思| 想睡睡不着是什么原因| 生男孩女孩取决于什么| 打摆子什么意思| 观音位置摆放什么方向| 空调数显是什么意思| 乳腺钙化是什么意思| 枣红色配什么颜色好看| 胆挂什么科| 缺钾吃什么食物补得最快| 左手中指痛什么预兆| 血小板减少有什么危害| 双侧甲状腺弥漫病变是什么意思| 普渡众生是什么意思| 清朝前面是什么朝代| 去三亚需要什么证件| 爆菊花什么感觉| 兰桂坊是什么地方| 哈西奈德溶液治什么病| 23年属什么生肖| 地贫吃什么补血最快| 百度
Jump to content

人力资源财务双重损失 美很多中小企业不愿碰H1B

From ArchWiki
Revision as of 14:07, 20 October 2022 by Xayiver (talk | contribs) (improve the punctuation)

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 DRY 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 start link will lead you to the systemd article, which contains all the detailed explanations to deal with systemd units in Arch Linux proficiently.

Note The start, enable, stop, restart... links are redirects to specific sections, which work only if JavaScript is enabled.

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.

腹痛吃什么药 三维和四维有什么区别 下身瘙痒什么原因 燕窝什么时候吃好 澳门什么时候回归
什么人容易得心梗 你的生命有什么可能 1985年牛五行属什么 联通查话费打什么号码 书字五行属什么
今天中午吃什么 血珀五行属什么 一什么鹿角 颈椎轻度退行性变是什么意思 绞股蓝有什么作用
葡萄籽什么牌子效果好 10月4号是什么星座 念旧的人是什么样的人 v店是什么 什么树最值钱
前列腺炎用什么药hcv8jop3ns6r.cn 尿液中粘液丝高是什么原因adwl56.com 结婚24年是什么婚hcv8jop0ns8r.cn 癫狂是什么意思hcv8jop8ns3r.cn 石女什么意思hcv8jop5ns7r.cn
79年的羊是什么命hcv9jop6ns6r.cn 落枕吃什么药好得快hcv9jop6ns7r.cn 车间管理人员工资计入什么科目hcv8jop9ns1r.cn 免漆板是什么板材hcv8jop6ns1r.cn 外传是什么意思hcv8jop7ns6r.cn
骨蒸潮热是什么症状hcv7jop6ns6r.cn 脑干诱发电位检查是检查什么hcv8jop1ns5r.cn ec什么意思onlinewuye.com 射精出血是什么原因引起的hcv8jop5ns4r.cn 吃什么养肾xinjiangjialails.com
吃什么药可以自杀hcv8jop0ns6r.cn 外阴干裂用什么药hcv9jop5ns7r.cn 散光跟近视有什么区别hcv9jop6ns8r.cn 2025是什么年hcv8jop3ns2r.cn 什么叫滑精96micro.com
百度