Applying the snake_case convention throughout the repo (#967)

* Applying the snake_case convention throughout the repo

- Also removing the file extension where not needed
- Adding {{ }} on a few old pages

* Addressing concerns

- Added {{ }} where they were missed out
- Removed spaces inside {{ }}
- Reverting "file" to "filename" to make it clearer

* Fixing the comments on nc page
This commit is contained in:
Agniva De Sarker
2016-07-23 01:54:06 +05:30
committed by Leandro Ostera
parent 1a40b65b77
commit 3da76e4150
38 changed files with 66 additions and 66 deletions

View File

@@ -16,11 +16,11 @@
- Install a new package, with confirmation:
`emerge -av {{package-name}}`
`emerge -av {{package_name}}`
- Remove a package, with confirmation:
`emerge -Cav {{package-name}}`
`emerge -Cav {{package_name}}`
- Remove orphaned packages (that were installed only as dependencies):

View File

@@ -8,7 +8,7 @@
- Start htop displaying only processes owned by given user:
`htop -u {{user-name}}`
`htop -u {{user_name}}`
- Get help about interactive commands:

View File

@@ -4,7 +4,7 @@
- Create array:
`mdadm --create {{/path/to/raid_device_file}} --level {{ raid level }} --raid-devices {{ number of disks}} {{/path/to/disk_device_file}}`
`mdadm --create {{/path/to/raid_device_file}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/path/to/disk_device_file}}`
- Stop array:

View File

@@ -8,4 +8,4 @@
- Create a ROM filesystem with a volume-name:
`mkfs.cramfs -n {{volume-name}} {{/dev/sdb1}}`
`mkfs.cramfs -n {{volume_name}} {{/dev/sdb1}}`

View File

@@ -8,8 +8,8 @@
- Create filesystem with a volume-name:
`mkfs.exfat -n {{volume-name}} {{/dev/sdb1}}`
`mkfs.exfat -n {{volume_name}} {{/dev/sdb1}}`
- Create filesystem with a volume-id:
`mkfs.exfat -i {{volume-id}} {{/dev/sdb1}}`
`mkfs.exfat -i {{volume_id}} {{/dev/sdb1}}`

View File

@@ -8,11 +8,11 @@
- Create filesystem with a volume-name:
`mkfs.fat -n {{volume-name}} {{/dev/sdb1}}`
`mkfs.fat -n {{volume_name}} {{/dev/sdb1}}`
- Create filesystem with a volume-id:
`mkfs.fat -i {{volume-id}} {{/dev/sdb1}}`
`mkfs.fat -i {{volume_id}} {{/dev/sdb1}}`
- Use 5 instead of 2 file allocation tables:

View File

@@ -8,7 +8,7 @@
- Create filesystem with a volume-label:
`mkfs.ntfs -L {{volume-label}} {{/dev/sdb1}}`
`mkfs.ntfs -L {{volume_label}} {{/dev/sdb1}}`
- Create filesystem with specific UUID:

View File

@@ -8,11 +8,11 @@
- Create filesystem with a volume-name:
`mkfs.vfat -n {{volume-name}} {{/dev/sdb1}}`
`mkfs.vfat -n {{volume_name}} {{/dev/sdb1}}`
- Create filesystem with a volume-id:
`mkfs.vfat -i {{volume-id}} {{/dev/sdb1}}`
`mkfs.vfat -i {{volume_id}} {{/dev/sdb1}}`
- Use 5 instead of 2 file allocation tables:

View File

@@ -8,11 +8,11 @@
- Install a new package:
`pacman -S package-name`
`pacman -S {{package_name}}`
- Remove a package and its dependencies:
`pacman -Rs package-name`
`pacman -Rs {{package_name}}`
- Search the package database for a keyword:
@@ -28,7 +28,7 @@
- Find which package owns a certain file:
`pacman -Qo filename`
`pacman -Qo {{filename}}`
- Empty package cache to free up space:

View File

@@ -4,8 +4,8 @@
- Install a local software package:
`pkgadd {{package-name}}`
`pkgadd {{package_name}}`
- Update an already installed package from a local package:
`pkgadd -u {{package-name}}`
`pkgadd -u {{package_name}}`

View File

@@ -8,7 +8,7 @@
- List files owned by a package:
`pkginfo -l {{package-name}}`
`pkginfo -l {{package_name}}`
- List the owner(s) of files matching a pattern:

View File

@@ -4,4 +4,4 @@
- Remove an installed package:
`pkgrm {{package-name}}`
`pkgrm {{package_name}}`

View File

@@ -4,19 +4,19 @@
- Install a package:
`prt-get install {{package-name}}`
`prt-get install {{package_name}}`
- Install a package with dependency handling:
`prt-get depinst {{package-name}}`
`prt-get depinst {{package_name}}`
- Update a package manually:
`prt-get upgrade {{package-name}}`
`prt-get upgrade {{package_name}}`
- Remove a package:
`prt-get remove {{package-name}}`
`prt-get remove {{package_name}}`
- Upgrade the system from the local ports tree:
@@ -24,7 +24,7 @@
- Search the ports tree:
`prt-get search {{package-name}}`
`prt-get search {{package_name}}`
- Search for a file in a package: