Skip to content

Commit ebadd62

Browse files
Merge pull request #233715 from msaenzbosupport/patch-11
[Doc-A-Thon] Updating Markdown for Distro
2 parents 38e0332 + c63407f commit ebadd62

File tree

1 file changed

+38
-22
lines changed

1 file changed

+38
-22
lines changed

articles/storage/files/storage-how-to-use-files-linux.md

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,32 +44,40 @@ uname -r
4444
* <a id="install-cifs-utils"></a>**Ensure the cifs-utils package is installed.**
4545
The cifs-utils package can be installed using the package manager on the Linux distribution of your choice.
4646

47-
On **Ubuntu** and **Debian**, use the `apt` package manager:
4847

49-
```bash
50-
sudo apt update
51-
sudo apt install cifs-utils
52-
```
48+
# [Ubuntu](#tab/Ubuntu)
5349

54-
On **Red Hat Enterprise Linux 8+** use the `dnf` package manager:
50+
On Ubuntu and Debian, use the `apt` package manager:
5551

56-
```bash
57-
sudo dnf install cifs-utils
58-
```
52+
```bash
53+
sudo apt update
54+
sudo apt install cifs-utils
55+
```
56+
# [RHEL](#tab/RHEL)
5957

60-
On older versions of **Red Hat Enterprise Linux** use the `yum` package manager:
58+
Same applies for CentOS or Oracle Linux
6159

62-
```bash
63-
sudo yum install cifs-utils
64-
```
60+
On Red Hat Enterprise Linux 8+ use the `dnf` package manager:
6561

66-
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
62+
```bash
63+
sudo dnf install cifs-utils
64+
```
6765

68-
```bash
69-
sudo zypper install cifs-utils
70-
```
66+
On older versions of Red Hat Enterprise Linux use the `yum` package manager:
67+
68+
```bash
69+
sudo yum install cifs-utils
70+
```
71+
# [SLES](#tab/SLES)
72+
73+
On SUSE Linux Enterprise Server, use the `zypper` package manager:
74+
75+
```bash
76+
sudo zypper install cifs-utils
77+
```
78+
---
7179

72-
On other distributions, use the appropriate package manager or [compile from source](https://wiki.samba.org/index.php/LinuxCIFS_utils#Download).
80+
On other distributions, use the appropriate package manager or [compile from source](https://wiki.samba.org/index.php/LinuxCIFS_utils#Download).
7381

7482
* **The most recent version of the Azure Command Line Interface (CLI).** For more information on how to install the Azure CLI, see [Install the Azure CLI](/cli/azure/install-azure-cli) and select your operating system. If you prefer to use the Azure PowerShell module in PowerShell 6+, you may; however, the instructions in this article are for the Azure CLI.
7583

@@ -257,28 +265,36 @@ sudo mount -a
257265
### Dynamically mount with autofs
258266
To dynamically mount a file share with the `autofs` utility, install it using the package manager on the Linux distribution of your choice.
259267
260-
On **Ubuntu** and **Debian** distributions, use the `apt` package manager:
268+
# [Ubuntu](#tab/Ubuntu)
269+
270+
On Ubuntu and Debian distributions, use the `apt` package manager:
261271
262272
```bash
263273
sudo apt update
264274
sudo apt install autofs
265275
```
276+
# [RHEL](#tab/RHEL)
277+
278+
Same applies for CentOS or Oracle Linux
266279
267-
On **Red Hat Enterprise Linux 8+**, use the `dnf` package manager:
280+
On Red Hat Enterprise Linux 8+, use the `dnf` package manager:
268281
```bash
269282
sudo dnf install autofs
270283
```
271284
272-
On older versions of **Red Hat Enterprise Linux**, use the `yum` package manager:
285+
On older versions of Red Hat Enterprise Linux, use the `yum` package manager:
273286
274287
```bash
275288
sudo yum install autofs
276289
```
277290
278-
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
291+
# [SLES](#tab/SLES)
292+
293+
On SUSE Linux Enterprise Server, use the `zypper` package manager:
279294
```bash
280295
sudo zypper install autofs
281296
```
297+
---
282298
283299
Next, update the `autofs` configuration files.
284300

0 commit comments

Comments
 (0)