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
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,18 @@ 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
+
48
+
# [Ubuntu](#tab/Ubuntu)
49
+
47
50
On **Ubuntu** and **Debian**, use the `apt` package manager:
48
51
49
52
```bash
50
53
sudo apt update
51
54
sudo apt install cifs-utils
52
55
```
56
+
# [RHEL](#tab/RHEL)
57
+
58
+
Same applies for CentOS or Oracle Linux
53
59
54
60
On **Red Hat Enterprise Linux 8+** use the `dnf` package manager:
55
61
@@ -62,13 +68,14 @@ uname -r
62
68
```bash
63
69
sudo yum install cifs-utils
64
70
```
71
+
# [SLES](#tab/SLES)
65
72
66
73
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
67
74
68
75
```bash
69
76
sudo zypper install cifs-utils
70
77
```
71
-
78
+
---
72
79
On other distributions, use the appropriate package manager or [compile from source](https://wiki.samba.org/index.php/LinuxCIFS_utils#Download).
73
80
74
81
***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.
@@ -257,12 +264,17 @@ sudo mount -a
257
264
### Dynamically mount with autofs
258
265
To dynamically mount a file share with the `autofs` utility, install it using the package manager on the Linux distribution of your choice.
259
266
267
+
# [Ubuntu](#tab/Ubuntu)
268
+
260
269
On **Ubuntu** and **Debian** distributions, use the `apt` package manager:
261
270
262
271
```bash
263
272
sudo apt update
264
273
sudo apt install autofs
265
274
```
275
+
# [RHEL](#tab/RHEL)
276
+
277
+
Same applies for CentOS or Oracle Linux
266
278
267
279
On **Red Hat Enterprise Linux 8+**, use the `dnf` package manager:
268
280
```bash
@@ -275,10 +287,13 @@ On older versions of **Red Hat Enterprise Linux**, use the `yum` package manager
275
287
sudo yum install autofs
276
288
```
277
289
290
+
# [SLES](#tab/SLES)
291
+
278
292
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
0 commit comments