Useful Commands/Remote File Access

From Fundamental Ramen
< Useful Commands
Revision as of 01:32, 17 September 2026 by Tacoball (talk | contribs) (Created page with "{| class="wikitable" ! Tool || Example |- | Samba (Linux) || <syntaxhighlight lang="bash"> sudo mount -t smbfs {remote} {local} -o \ iocharset=utf8, \ user={user}%{password}, \ uid=`id -u {local user}`, \ gid=`id -u {local group}` </syntaxhighlight> |- | Samba (MacOS) || <syntaxhighlight lang="bash"> mount_smbfs //'{group};{user}':{password}@{remote}/{shared dir} {local dir} smbutil view //Guest@192.168.91.65 smbutil view //'WORKGROUP;Administrator':12345@192...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Tool Example
Samba (Linux)
sudo mount -t smbfs {remote} {local} -o \
   iocharset=utf8, \
   user={user}%{password}, \
   uid=`id -u {local user}`, \
   gid=`id -u {local group}`
Samba (MacOS)
mount_smbfs //'{group};{user}':{password}@{remote}/{shared dir} {local dir}
smbutil view //Guest@192.168.91.65
smbutil view //'WORKGROUP;Administrator':12345@192.168.1.2 # for Windows 2K3
Samba (FreeBSD)
mount -t smbfs -o '-N' //raymondwu@RaymondWu-PC/TikaSamples /var/tika/samples # Using ~/.nsmbrc
mount_smbfs -I 192.168.91.65 //raymondwu@RaymondWu-PC/TikaSamples /var/tika/samples
smbutil view -I 192.168.91.65 //raymondwu@RaymondWu-PC