SMBUTIL(1)
π SMBUTIL(1) β the girlies' guide to the SMB requester β¨
okay so first things first, bestie: this is smbutil(1) from the General Commands Manual, and it's literally your interface to the server message block (SMB1/CIFS) requester. yes, that old one. she's vintage, she's iconic, we love her π
πΈ SYNOPSIS πΈ
smbutil [-hv] command [options] [args]
like, that's the whole vibe. one tool, a bunch of commands, go off π
β¨ DESCRIPTION β¨
so smbutil is the command you use to control the SMB requester and fire off various commands at it. it's giving main character energy for the whole SMB situation π«Ά
here's the thing you gotta know: there are two types of options β global ones, and local ones that only belong to the specific command you picked. do not mix them up, i'm begging π
β Global options (these go with everything)
-hβ prints a short help message. the "help me help you" flag π-vβ verbose output. she's chatty, she tells you everything π£οΈ
π The commands & their local options
crypt [password]β encrypts a clear text password for use in the~/.nsmbrcfile. the encrypted password starts with theβ$$1βsymbols. > β οΈ warning, bestie: the encryption function is very weak and is intended only to hide clear text password. it's a curtain, not a vault, ok? π if password is omitted from the command line,smbutilwill prompt for one. so you don't have to paste your secrets into your shell history like a menace πhelp commandβ prints usage information about command. that's it. that's the whole gig β¨lcβ lists active connections and their parameters. lowkey the most useful one ngl, it's the "who's connected rn" check πlogin [connection_options] //user@server[/share]β logs in / attaches to the specified server and/or share as user. this command will create and authenticate a connection to an SMB server, and will leave it active after exit. so like β you can login only once and then use other SMB commands without authentication procedure and additional connections. one and done, slay π for the description of connection_options refer to themount_smbfs(8)manual page (all uppercase options are connection options). yes, ALL UPPERCASE = connection options, that's the rule, iykyk π₯logout //user@server[/share]β logout / detach from the specified server and/or share as user. this command will destroy a connection created by thelogincommand. > π«Ά heads up: a connection may not be closed immediately if it is used by other programs. she's not ghosting you on purpose, she's just busy πlookup [-w host] nameβ resolves the given name to an IP address. the NetBIOS name server can be directly specified via the-woption. it's giving "who is she" but with DNS energy π¦print [connection_options] //user@server[/share] fileβ sends the given file to the specified queue on the remote server. and if file isβ-β, then standard input will be used. pipe it, bestie πview [connection_options] //user@serverβ lists resources available on the specified server for the user user. window shopping but make it network π
π¦ FILES π¦
~/.nsmbrcβ keeps description for each connection. see/usr/share/examples/smbfs/dot.nsmbrcfor details. it's the little notebook where your connections live π
π SEE ALSO π
go read those too, they're the supporting cast and honestly they ate π
π AUTHORS π
Boris Popov <bp@butya.kz>, β¨bp@FreeBSD.orgβ©
we stan a legend π«Ά
π BUGS π
please report any bugs to the author. don't suffer in silence, tell him directly, periodt π£
β¨ and that's the whole page, bestie β¨ this little gem comes to you from Debian, dated November 14, 2018 β SMBUTIL(1), forever iconic, no cap ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms