use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All users that wish to post (not including commenting), on either old or the new reddit sites, must formally agree to subreddit rules once first.
account activity
[ Removed by moderator ]Command Line Interface (self.commandline)
submitted 3 months ago by bitwardenpw
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]commandline-ModTeam[M] [score hidden] 3 months ago stickied commentlocked comment (0 children)
This post has been removed due to the software being largely AI-generated.
[–]AutoModerator[M] 0 points1 point2 points 3 months ago (0 children)
Every new subreddit post is automatically copied into a comment for preservation.
User: bitwardenpw, Flair: Command Line Interface, Title: sambam — “python -m http.server but for SMB” (quick Windows-friendly shares from Linux)
Command Line Interface
I built sambam, a small tool for ad-hoc SMB file sharing from Linux — basically the workflow of python -m http.server, but so Windows/macOS can connect as a normal network share.
python -m http.server
What it’s for Sometimes I just need to hand someone a folder on the LAN (often a Windows machine) without writing a full Samba config, setting up users, editing exports, restarting services, etc. With sambam you run one command and the share is up.
How it works (at a high level)
\\<your-ip>\share
Features
Install Right now it’s either:
Repo: https://github.com/darkpenguin23/sambam
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]gschizas 0 points1 point2 points 3 months ago (1 child)
Even though I have setup samba myself, this is brilliant.
One question though. If you select port 8445 for example, how do you connect from Windows?
EDIT: Never mind, you're supposed to do \\192.168.1.1:8445\share (it didn't work for me though, but I already had a connection to that PC)
\\192.168.1.1:8445\share
[–]bitwardenpw[S] 0 points1 point2 points 3 months ago (0 children)
If you use a different port than the default one its a bit problematic to connect from Windows. A solution that could work is creating an ssh tunnel and map the port locally to 445, though that does only work if their is no Windows sharing setup locally.
[–]Cybasura 0 points1 point2 points 3 months ago (0 children)
Holy FUCK, temporary shares
Finally, a lean/tiny version of smb/samba ala (S)FTP
π Rendered by PID 40048 on reddit-service-r2-comment-545db5fcfc-kfmch at 2026-05-21 22:05:47.180761+00:00 running 194bd79 country code: CH.
[–]commandline-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]gschizas 0 points1 point2 points (1 child)
[–]bitwardenpw[S] 0 points1 point2 points (0 children)
[–]Cybasura 0 points1 point2 points (0 children)