Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Monday, October 26, 2015

How to Ping a Printer for a Mac


Click the 'Finder' icon in the Dock at the bottom of the window.
Highlight 'Applications' from the 'Places' list on the left side of the 'Finder' window.
Open the 'Utilities' folder and then double-click the 'Terminal' icon. An empty command prompt window will appear.
Type 'ping' followed by a space and then the IP address of your network printer. For example, if your printer's IP address is 10.1.1.7, you would type 'ping 10.1.1.7' into the command prompt.
Hit 'Return' on your keyboard to run the command.
Wait for the ping results to start loading in the window and then hold down the 'Control' and 'C' keys to halt the 'ping' command. If the results say the device responded to the data bytes, it means your network printer is online and connected.
VPS Hosting

Wednesday, September 9, 2015

How to Change the Serial Number With the Mac OS X Terminal Command


Open a terminal by clicking the “Finder” icon on the dock, clicking “Applications,” double-clicking the “Utilities” folder and double-clicking the “Terminal” icon.
Type the following command into the terminal window, replacing “Serial-Number” with the serial number you want to use, separated by dashes, and “Name” and “Organization” with the name and organization associated with the serial number. The name and organization are optional.sudo serversetup -setServerSerialNumber Serial-Number Name Organization
Type your password at the password prompt and press “Enter.”
VPS Hosting

Friday, September 4, 2015

How to Change Boot Camp Partition Size


Install a recent version of Mac OS if necessary. Resizing existing partitions requires Mac OS 10.4.6 or later. Most Intel-based Macs shipped with this or a later version already installed, so this step is unlikely to be necessary for most users.
Back up your drive by copying important files to another drive. This is always a good idea before doing anything to your main hard drive.
Open the Mac OS Terminal by double-clicking on 'Terminal' in your 'Utilities' folder. This gives you access to the UNIX commands that run underneath the graphical interface of a Mac.
Find your partition by typing 'diskutil list' and pressing 'Enter.' You will see a list of all partitions on the hard drive. The boot disk is '/dev/disk0,' while others will be listed as 'disk1,' 'disk2,' and so on, each with an identifier header that tells you the name of that partition. Look for the one that matches the name of your Boot Camp Drive.
Discover the possible size for your partition by typing in:diskutil resizeVolumedisk_identifier limitsReplace 'disk_identifier' with the name of your Boot Camp partition and hit 'Enter' to view a list of the current, minimum, and maximum sizes for the partition.
Change the partition size by typing 'diskutil resizeVolume' followed by the identifier for your Boot Camp Partition and the size you want it to be. This size is written in gigabytes, but the command drops the 'B' to become simply 'G.'For example, to resize a partition entitled 'BootCamp' to 100 gigabytes, the command is: 'diskutil resizeVolume BootCamp 100G'Once you have typed your command, hit 'Enter' to resize the partition.
VPS Hosting