Skip to main content

Posts

Some examples of using UNIX find command

Some examples of using UNIX find command. Contents: Introduction Search for file with a specific name in a set of files (-name) How to apply a unix command to a set of file (-exec). How to apply a complex selection of files (-o and -a). How to search for a string in a selection of files (-exec grep ...). Introduction The find command allows the Unix user to process a set of files and/or directories in a file subtree. You can specify the following: where to search (pathname) what type of file to search for (-type: directories, data files, links) how to process the files (-exec: run a process against a selected file) the name of the file(s) (-name) perform logical operations on selections (-o and -a) Search for file with a specific name in a set of files (-name) find . -name "rc.conf" -print This command will search in the current directory and all sub directories for a file named rc.conf. Note: The -print option will print out the path of any file that is found with that name....

What's the difference between 802.11a, 802.11b, and 802.11g?

What's the difference between 802.11a, 802.11b, and 802.11g? The first difference is that 802.11a uses the 5GHz radio frequency (RF) spectrum while 802.11g and 802.11b share the 2.4GHz spectrum. Therefore 802.11a will not interfere with 802.11g or 802.11b. Since 802.11a uses the 5GHz spectrum, it will have less distance capabilities due the physical nature of electromagnetic radiation. 802.11b and 802.11g use an RF spectrum that allows for 3 non-interfering channels (in North America). 802.11a uses a wider spectrum that allows for 12 non-interfering channels which will be 23 non-interfering channels with soon to be released standard. The idea of non-interfering (or non-overlapping) channels allows more wireless users to be concentrated in an area without having to share the transmission medium. 802.11b, while sharing the same 2.4GHz frequency spectrum as 802.11g, has lower transmission rates and different modulation techniques than 802.11g. For a discussion of transmission ra...

Becoming an ASIC Design Engineer

Becoming an ASIC Design Engineer Asic Design Engineer is a very popular portal for those hoping to start and build a long-term career as an Asic Engineer. The portal lists vacant jobs, a resume bank (with a tutorial on how to register and create your own profile), and other resources for you to snatch up a job. A number of employers also use the website to post job vacancies, as they have learned that members and applicants on that site specifically fit their technical (Asic Design Engineer) needs. Here is a guide and some reminders that can help you get an edge and become closer to your dream career in Asic Design . Know your skills. Before you sit in front of potential employers asking you specific questions, know the full depth of your skills. With this, you can sell yourself properly, as you can discuss your qualifications as an Asic Design Engineer. Sometimes, there are applicants who have not done this well, and fall short in the application process only to realize later on that ...

Resizing a .dmg image - os x

1. Mount the image 2. Delete the files you don't need. 3. Dismount image. 4. From the terminal : hdiutil resize -size xx{m or g} /PATH/TO/DISKIMAGE.dmg xx= the size you want the image to be. Use either M for MG or G for GB i.e. hdiutil resize -size 25g ~/Desktop/mystuff.dmg

The Seven Habits

The Seven Habits Habit 1: Be Proactive - Changes starts form within; highly effective people make the decisions to improve their lives through the things that they can influence rather than simply reacting to external forces. Habit 2: Begin with the end with mind. - Develop a principle– centered personal mission statement into long- term goals based on personal principle. Habit 3: Put first thing first. - Spend time doing what fits into your personal mission, observing the proper balance between production and building production capacity. Identify the key roles that you take on in life, and make time for each other. Habit 4: Think win / win - Seek agreements and relationships that are mutually beneficial. In cases where a win / win deal cannot be achieved, accept the fact that agreeing to make “no deal”, may be the best alternative. In developing the organizational culture, be sure to reward win / win behavior among employees and avoid inadvertently rewarding win / lose behavior. Habi...

Installing itune 9.x on Windows Server 2003

[1] Download itune from apple.com [2] expand iTunesSetup.exe into a directory Open CMD windows to expanded folder. e.g D:\DL\BROWSERS\iTunesSetup>dir Directory listing of iTunesSetup AppleApplicationSupport.msi AppleMobileDeviceSupport.msi AppleSoftwareUpdate.msi Bonjour.msi iTunes.msi MobileMe.msi QuickTime.msi SetupAdmin.exe [3] delete MobileMe.msi and now install iTune by typing [4] iTunes.msi /passive
Convert .bin + .cue -> .iso on Mac OSX Download this : http://jamesnsears.com/code/bchunk.zip or http://he.fi/bchunk/ and compile Download the utility, extract it to your Home directory and issue the following command from a shell prompt: sudo cp bchunk /usr/bin/ To make sure your newly installed utility has the correct execute permissions and that its accessible to you through the terminal, run this code: sudo chmod a+x /usr/bin/bchunk This will copy the file into a location where the system can find it at will (a.k.a. the path). Then, to convert a .bin/.cue pair to a .iso, you can issue this command: bchunk myinputfile.bin myinputfile.cue myoutputfile Short, sweet, and simple — and lightweight too, weighing in at only 20k. Sources: [1] http://gavin.mclelland.ca/2007/10/04/convert_bincue_to_iso_on_mac_osx/ [2] http://jamesnsears.com/2007/04/convert_bin_cue_iso_on_mac_osx.php