MAC OS X Tutorial
MAC Free Utilities
UNIX History
Apple Developers Tools
Install Apache Tomcat 6 on MAC
Mac OS X (Darwin) Releases
What is a MAC OS?
Creating a login hook
MAC VIM
SSH on MAC
Macintosh, Apache, Mysql and PHP
MACMALL
MAC Pro Manual
MAC Developer Program (Students)
MACOSXHINTS
TV Tuner
Cross Platform Software
Unix Open Source to Darwin
Zatto - TV on Your MAC
iSlimPhoto
December 3, 2008
Linux
Configuring a static IP address
Open configuration file
$ sudo ifconfig [interface] down
$ sudo dhclient -r [interface]
$ sudo ifconfig [interface] up
$ sudo iwconfig [interface] essid “ESSID_IN_QUOTES”
$ sudo iwconfig [interface] key HEX_KEY <<<-------- If using ASCII Equivalent, this is s:ASCII_KEY (please make note of the prefix s:)
****Additional Comand that may be needed -- sudo iwconfig [interface] key open <<<----See note below
$ sudo iwconfig [interface] mode Managed
$ sudo dhclient [interface]
Open configuration file
$ sudo vi /etc/network/interfaces
Find and remove
iface eth0 inet dhcp
Append new configuration
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
Save and close file. Restart the network
$ sudo /etc/init.d/networking restart
Shutdown immediately:Manual configuring a WEP connection
shutdown -h now
Reboot immediately:
shutdown -r now
Shutdown at 8 pm:
shutdown -h 20:00
Shutdown in 10 minutes:
shutdown -h +10
Determine internal devices
$ lspci -v | less
Information concerning network devices
$ lshw -C network
$ sudo ifconfig [interface] down
$ sudo dhclient -r [interface]
$ sudo ifconfig [interface] up
$ sudo iwconfig [interface] essid “ESSID_IN_QUOTES”
$ sudo iwconfig [interface] key HEX_KEY <<<-------- If using ASCII Equivalent, this is s:ASCII_KEY (please make note of the prefix s:)
****Additional Comand that may be needed -- sudo iwconfig [interface] key open <<<----See note below
$ sudo iwconfig [interface] mode Managed
$ sudo dhclient [interface]
Labels:
Linux
October 2, 2008
Perl
To see what modules are running on your unix machine
> find `perl -e 'print "@INC"'` -name '*.pm' -print
To use the CPAN shell tool:
> sudo perl -MCPAN -e shell
> perl -v
To print the configuration summary
> perl -V
> find `perl -e 'print "@INC"'` -name '*.pm' -print
To use the CPAN shell tool:
> sudo perl -MCPAN -e shell
> install Spread***::WriteExcel
With this command, the CPAN shell will automatically download the
module, find & retrieve any dependencies like Parse::RecDescent and
File::Temp, and unpack, configure, make, test, and install for you.
> perl -v
To print the configuration summary
> perl -V
Additional Information
Labels:
Programming
Subscribe to:
Posts (Atom)