You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-how-to-use-files-linux.md
+38-22Lines changed: 38 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,32 +44,40 @@ uname -r
44
44
* <aid="install-cifs-utils"></a>**Ensure the cifs-utils package is installed.**
45
45
The cifs-utils package can be installed using the package manager on the Linux distribution of your choice.
46
46
47
-
On **Ubuntu** and **Debian**, use the `apt` package manager:
48
47
49
-
```bash
50
-
sudo apt update
51
-
sudo apt install cifs-utils
52
-
```
48
+
# [Ubuntu](#tab/Ubuntu)
53
49
54
-
On **Red Hat Enterprise Linux 8+**use the `dnf` package manager:
50
+
On Ubuntu and Debian, use the `apt` package manager:
55
51
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)
59
57
60
-
On older versions of **Red Hat Enterprise Linux** use the `yum` package manager:
58
+
Same applies for CentOS or Oracle Linux
61
59
62
-
```bash
63
-
sudo yum install cifs-utils
64
-
```
60
+
On Red Hat Enterprise Linux 8+ use the `dnf` package manager:
65
61
66
-
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
62
+
```bash
63
+
sudo dnf install cifs-utils
64
+
```
67
65
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
+
---
71
79
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).
73
81
74
82
***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.
75
83
@@ -257,28 +265,36 @@ sudo mount -a
257
265
### Dynamically mount with autofs
258
266
To dynamically mount a file share with the `autofs` utility, install it using the package manager on the Linux distribution of your choice.
259
267
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:
261
271
262
272
```bash
263
273
sudo apt update
264
274
sudo apt install autofs
265
275
```
276
+
# [RHEL](#tab/RHEL)
277
+
278
+
Same applies for CentOS or Oracle Linux
266
279
267
-
On **Red Hat Enterprise Linux 8+**, use the `dnf` package manager:
280
+
On Red Hat Enterprise Linux 8+, use the `dnf` package manager:
268
281
```bash
269
282
sudo dnf install autofs
270
283
```
271
284
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:
273
286
274
287
```bash
275
288
sudo yum install autofs
276
289
```
277
290
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:
0 commit comments