• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net ยป sh
Trace:

sh
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Search

You can find the results of your search below.

Contains
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info:mac
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Fulltext results:

MacPorts
4 Hits, Last modified: 11 years ago
= 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 =... ou can see a list of all installed ports: <code bash> port echo installed </code> After you run MacPo... of duplicate ports. You can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admi
rmdir for OSX
4 Hits, Last modified: 11 years ago
from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ ... ore $ /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"... ion you can remove the directory at once: <code bash> $ rmdir test removing test/.DS_Store </code> {{
Command Line Audio
3 Hits, Last modified: 14 years ago
I needed a command line tool which I can use via ssh. I've found it here: [[http://osxdaily.com/2007/0... from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You c... mand line audio player]]. You just enter <code bash> afplay file.wav </code> More information on how
Clear DNS Cache
2 Hits, Last modified: 11 years ago
clear the DNS cache on OS X, you first have to flush the cache and then send a signal the the 'mDNSResponder'. dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac
Set a Mac's Hostname
1 Hits, Last modified: 11 years ago
d hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code>
Make your Mac feel at Home
1 Hits, Last modified: 11 years ago
er your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Mac OS
Comapct Sparse Image
1 Hits, Last modified: 11 years ago
====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadm
AirPort Command Line Interface
1 Hits, Last modified: 11 years ago
tworksetup -setairportnetwork {Network} AirPort {{tag>mac osx device wlan cli shell script sysadmin}}

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki