• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » code
Trace: • Projects • Notes for the Solaris 10 System Administration Exam (CX-310-200 & -202) • Home Server Goals • Change Encoding with iconv • Hello Drupal • Travian Village Planner • version_control • software • ReLAX • VBoxManage (The VirtualBox CLI)

code
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.

Exact match
  • 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
10 Hits, Last modified: 10 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 ===== When ports are updated, the old port is onl
rmdir for OSX
6 Hits, Last modified: 10 years ago
ctories from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ rm test/.DS_Store $ /bin/rmdir test </code> I wrote a small bash function to remove directo... together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_S... fi /bin/rmdir "${d}" || ls -al "${d}" done } </code> With this function you can remove the directory
Make your Mac feel at Home
5 Hits, Last modified: 10 years ago
s whether your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Ma... MESSID}\$") # # Branch depending on grep's return code. if [ "$?" == "0" ]; then # in home wlan echo "... # not at home echo "on the road again..." fi </code> To use this code, set the ''HOMESSID'' to your ''SSID'' (the name of the wireless network) and replac
Command Line Audio
4 Hits, Last modified: 13 years ago
volume from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You can enter numbers from 0 (mute) to 10 (maximum). ... -in command line audio player]]. You just enter <code bash> afplay file.wav </code> More information on how to use afplay is available via afplay -h. {{tag
Set a Mac's Hostname
2 Hits, Last modified: 10 years ago
desired hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code> === Credits === * http://osxdaily.com/2010/09
Comapct Sparse Image
2 Hits, Last modified: 10 years ago
====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadmin cli apple mac osx}}

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