Fulltext results:
- Formatting Syntax @wiki
- autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf
- Compare directories @info:script
- f the directories, generate a digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C so... er that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2.txt </code> Or you use Meld as graphical diff tool: <code bash> meld shasums1.txt shasums2.txt </code> {{tags>c
- List Open Ports @info:sysadmin
- rts together with the listening processes: <code bash> netstat -tulpn </code> Here is an example outpu
- Disable a Service @info:linux:debian
- le a Service ====== To disable a service: <code bash> service <service> stop update-rc.d <service> ena... With ''systemd'' (starting with Debian 8): <code bash> systemctl disable <service> </code> To (re)enable a service: <code bash> update-rc.d <service> enable|disable service <se... With ''systemd'' (starting with Debian 8): <code bash> systemctl enable <service> </code> {{tag>linux
- Cursor Size @info:linux:gnome
- the value ''32'' with your prefered size. <code bash> gsettings set org.gnome.desktop.interface cursor
- SSH @info:sysadmin
- make sure to restart sshd to activate ist: <code bash> service ssh restart </code> {{tag>sysadmin ssh
- rmdir for OSX @info:mac
- es from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ ... Store $ /bin/rmdir test </code> I wrote a small bash function to remove directories together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_Store"... ction you can remove the directory at once: <code bash> $ rmdir test removing test/.DS_Store </code> {{
- MacPorts @info:mac
- === List Ports ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping =... You can see a list of all installed ports: <code bash> port echo installed </code> After you run MacPo... ot of duplicate ports. You can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admi
- Start and Stop the Apple File Server from Command Line @blog:2011
- ple File Server ("Personal File Sharing"): <code bash> sudo /sbin/service com.apple.AppleFileServer start </code> And likewise stop it: <code bash> sudo /sbin/service com.apple.AppleFileServer sto
- Set a Mac's Hostname @info:mac
- red hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code>
- Make your Mac feel at Home @info:mac
- ther your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Mac OS
- Comapct Sparse Image @info:mac
- ====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadmin
- bash @tag
- ====== bash ====== ===== Pages ===== {{topic>bash&nouser&tags}} ===== Bookmarks ===== {{rss>http://www.andunix.net/link/rss/all/bash}}
- Shell Script Variables @info:script
- er ===== Get the last character of ''$a'': <code bash> ${a: -1} </code> ===== Remove Slash from the En... ===== Remove a trailing slash from ''$a'': <code bash> a=${a%/} </code> {{tag>scripting bash sysadmin variable}}
- Download a Server Certificate @info:cryptography:openssl
- oad the certificate chain from the server: <code bash> openssl s_client -showcerts -connect www.example