Replace net use command on linux

I have this command on Windows, I want to change it to linux command

net use O: \ 10.2.6.72 \ aaa_bbb_1 / USER: corp \ first.last "secret"

(command used: network usage) (location from: O: \ 10.2.6.72 \ aaa_bbb_1) (username: corp \ first.last) (password: "secret")

how to write this code as linux command ?!

+3


source to share


1 answer


mount.cifs //10.2.6.72/aaa_bbb_1 ~/drive-o -o username=domain\username,password=password

      

Note that the "drive-o" (mount point) directory must exist in your home. You may need to add sudo

.



Which Linux is it?

+3


source







All Articles