mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
avahi-browse: update page; avahi-resolve,smbnetfs: add page (#9919)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
e95abcac23
commit
ca026d55be
3 changed files with 26 additions and 2 deletions
|
@ -4,11 +4,15 @@
|
|||
> Avahi is compatible with Bonjour (Zeroconf) found in Apple devices.
|
||||
> More information: <https://www.avahi.org/>.
|
||||
|
||||
- List all services available on the local network along with their addresses and ports while ignoring local ones:
|
||||
- List services available on the local network along with their addresses and ports, ignoring ones on the local machine:
|
||||
|
||||
`avahi-browse --all --resolve --ignore-local`
|
||||
|
||||
- List all domains:
|
||||
- Quickly list services in the local network in SSV format for scripts:
|
||||
|
||||
`avahi-browse --all --terminate --parsable`
|
||||
|
||||
- List domains in the neighbourhood:
|
||||
|
||||
`avahi-browse --browse-domains`
|
||||
|
||||
|
|
12
pages/linux/avahi-resolve.md
Normal file
12
pages/linux/avahi-resolve.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# avahi-resolve
|
||||
|
||||
> Translate between host names and IP Addresses.
|
||||
> More information: <https://www.avahi.org/>.
|
||||
|
||||
- Resolve a local service to its IPv4:
|
||||
|
||||
`avahi-resolve -4 --name {{service.local}}`
|
||||
|
||||
- Resolve an IP to a hostname, verbosely:
|
||||
|
||||
`avahi-resolve --verbose --address {{IP}}`
|
8
pages/linux/smbnetfs.md
Normal file
8
pages/linux/smbnetfs.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# smbnetfs
|
||||
|
||||
> Mount SMB shares interactively.
|
||||
> More information: <https://sourceforge.net/projects/smbnetfs/>.
|
||||
|
||||
- Make shares available at `mountpoint`:
|
||||
|
||||
`smbnetfs {{mountpoint}}`
|
Loading…
Add table
Reference in a new issue