Using terminal to patch an iso (?)

Can someone help me with a slight problem?
I need to get terminal to recognize my sol-10-u1-ga-x86-v1.iso on my desktop so that I can run my perl line to patch it:
perl -pi -e 's#GenuineIntel#Virtual CPU#g' sol-10-u1-ga-x86-v1.iso
I'm sure it's a simple task but I'm fresh with terminal and just need some quick advice.
PowerMac G5 Dual 2.5   Mac OS X (10.4.4)  

I'm not sure what you mean by getting the terminal to recognize the file. It is saying the file is not found? If so, navigate to the directory the file is in with the cd command.
For instance:
To goto the desktop: cd ~/Desktop
To goto the root of the hard drive: cd /
To go up one level: cd ..
You could also type this part into the terminal perl -pi -e 's#GenuineIntel#Virtual CPU#g' and drag the iso file to the terminal window, which will fill in the complete to the iso.

Similar Messages

  • Using terminal to uninstall program

    I have instructions to uninstal a program using terminal commands...but it won't let me get to the directory were the uninstall program is:
    cd /Library/Application Support/SecurID
    It won't let me go to Application Support folder even though when I list files in the Library directory, it shows up?

    My question might not be clear....trying to get to Application Support folder using terminal and it won't let me.
    Macintosh-3:Library Melissa$ ls
    Acrobat User Data          Favorites                    Printers
    Address Book Plug-Ins          FontCollections                    PubSub
    Application Support Fonts                              Receipts
    Assistants                    Icons                              Recent Servers
    Audio                              Input Methods                    Safari
    Autosave Information          Internet Plug-Ins          Saved Searches
    Caches                              Keyboard Layouts          Screen Savers
    Calendars                    Keychains                    Sounds
    ColorPickers                    LaunchAgents                    Spelling
    ColorSync                    Logs                              Voices
    Colors                              Mail                              iMovie
    Compositions                    Mail Downloads                    iTunes
    Cookies                              PreferencePanes
    Documentation                    Preferences
    Macintosh-3:Library Melissa$ cd Application Support
    -bash: cd: Application: No such file or directory

  • How to download a file from the internet using terminal

    how to download a file from the internet using terminal
    does any one know how to download afile from the internet using the Terminal application?

    Use curl. Something like this:
    curl -O http://www.example.com/filename.zip
    For more info, type +man curl+.

  • How to use Terminal with KeySpan USB serial adaptor cable?

    I own a KeySpan model USA-19HS to use with our MacBookPro when working on clients networking equipment that require serial communication. I have used ZTerm with excellent luck, but it costs, and is yet another application that I dont really want. I would like to know if any one out there has exacing instructions on how to use Terminal with this adaptor. If I could write a file that had, say, the couple most common settings (9600-8-n-1, 57600-8-n-1, et cetera) that I could simply click on, to open a new Terminal window with those settings, then simply close that, and open a new window (apple+n) in order to get back to a default settings terminal window. All feedback is most appreciated.
    Thanks so much, Jason Sjobeck

    Hi, Jason. Welcome to the Discussions.
    You wrote: "All feedback is most appreciated."OK.
    1. Have you considered discussing this with Keyspan Support?
    2. Have you read the section "OSX has Terminal.app - why do I need ZTerm?" on the ZTerm Home Page? That seems to explain why one needs an app like ZTerm.
    3. A quick search of Keyspan's FAQ for your product and terminal doesn't yield much more than how to find the serial ports using Terminal.
    Likewise, this Google search also yields little, and variants of that search of such weren't particularly help either.
    It appears your inquiry seems to be a somewhat esoteric topic.
    4. Apparently, ZTerm X is a bit long in the tooth and there's no Universal Binary for it. It sounds, however, like you've tried it running on your MBP under Rosetta, yes?
    5. In researching alternatives to ZTerm for you, I note the followng:• The comment from "Reverb" on this page suggests C-Kermit or Kermit as a free alternative.
    • This tip on Mac OS X Hints cites Minicom as another option.6. You may want to try your question on the Unix Discussion.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Using terminal to change IP address

    One emac has gone odd. It refuses it acknowledge the server and it has locked its IP address off the network. It retains the server prefs and won't let me use the sys prefs to open network. (I work in a school - obviously I lock them 80 ).
    Can anyone tell me which file(s) I need to find on the client to change the IP address using terminal please. I've been looking at files in /etc where I think it should be but can't find anything.
    Muchos gracias,
    Danke viel mals
    Merci bien
    Thanks
    Mark

    Hi Candor,
    try man ifconfig !

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    The reason that threadjacking is frowned on (as mentioned in the terms use which you can read by clicking the link to the right on this page) is for the most part a practical one:
    By starting your own thread your problem can get individual attention, focussed on your particular set of circumstances.
    By joining somebody else's thread it becomes tricky to answer more than one question at the same time, and can lead to confusion for both parties.
    So if you don't mind the minor inconvenience, please start your own thread (in the correct forum) so we can get to grips with your particular problem!

  • Installing Adobe Dreamweaver CS5.5 and PhotoShop 5.5 on windows 2008 R2 SP1 using Terminal services

    Hi All,
    Is it possible to install Adobe Dreamweaver CS5.5 and PhotoShop 5.5 on windows 2008 R2 SP1 using Terminal services. We are planning to use xenapp to publish these application.
    Please let me know if this is a supported environment.
    Regards
    Radhika

    As far as I know you will NOT be able to access OpenGL functionality through Terminal Services. as the OpenGL implementation provided in that environment is software, version 1.1 - not GPU-accelerated.
    I seem to recall there was a thread about a year ago here where someone was trying to do what you are asking.  I vaguely remember they were able to make it work, but I'm not sure.  You might try doing a search of this forum.
    -Noel

  • Using Terminal in Mac OSX to program and test java

    I bought a book on java and it says I should not use a JDK like Net Beans when first learning java.
    Right or wrong I would like to know how to use terminal to program and compile simple scripts.
    So my question is:
    How do you go about setting up the computer to use terminal to write and compile a java program? I know my Mac sees java in terminal because tells me Im running "version 1.5.0_07"
    I just need a link to some info on how to get started using Terminal for my command line with java.
    I think if I could get a path set up from the command line to my text file and have javac see it I would be in pretty good shape. At least for now.
    If I use a text saved plain text file (.java) how do I set up a path to it using javac from the command line?
    Where can I find or link to this kind of info?
    Macbook Pro Mac OS X (10.4.10)

    ayusman_dikshit wrote:
    Hi,
    seems like you have not tried out a few things.
    1. Set up the JAVA_HOME environment variable. (I assume you pretty much know it) the folder where java is installed.
    2. set up the environment variable to point to the bin folder inside the java installation folder.
    3. open up a console (it seems from your post you know it.), type java -version see the java version.
    4. type in javac, press enter: you should get the javac options.
    5. type in java, you should see the java options.
    Write your programs in a text editor, save it as somename.java.
    open a console, change to the directory containing the java file.
    type: javac somename.java <PRESS ENTER>
    you should get the compilation errors if any.
    if not
    type in: java somename.java
    Hope this helps.
    Regards,
    AyusmanStep 1 and 2 are generally not needed. Mac OS X comes with Java configured up and running right out of the box.

  • Using Terminal to Find Locked Files

    Hello all,
    I am a photographer and often use the locking feature on my camera to lock certain images, ones that are good shots.  With Windows, I was able to sort by whether a file was locked or not.  However I am finding that Mavericks does not have this feature.  Therefore I have resorted to using terminal to find locked files.  However I was wondering if I could get assistance in creating a script/command that would take the results of the files I found locked and either copy or move them into a subfolder.
    IE: I have an event folder called BRB-Team1VsTeam2.  I use the command "find . -flags uchg" to find the locked files.  What I need to do now is get the returned result and either copy or move into a subfolder called "locked".
    I tried "find . -flags uchg && cp /locked" but I know the logic isn't quite there but I haven't played with terminal too much to know what I am doing.
    So anyone have a solution to this?  Or know of an application to at least let me search/filter/sort by the file status (IE: Locked vs unlocked)?

    Here is the basic idea, adjust as necessary. The -d option limits the depth into the folder you are searching. You don't need it; I just added if you want to limit the depth into subfolders.
    find /search/path -d 1 -flags uchg -exec cp {} /destination/path \;
    You could roll this up in an Automator workflow, Service, or Folder Action if you want:
    By checking the "Show this action when the workflow runs" you can choose the destination folder at run time. If always the same, leave it unchecked.
    A Folder Action would work on the items added to a particular folder. The find command would have to be modified.
    A Service could be used to pick the source folder, or to add a shortcut command.

  • Installing FCP using terminal

    friends: i want to try and install final cut pro HD 4.5 on my macbook air 11 inch running 10.7.2 (if possible). this same program is running great on my other macbook air 11 inch using a slightly earlier OS X (Lion?). 10.7.2 as you know does not support 10.7.2, but i have heard that sometimes it is just the installer that needs the powerpc so i am trying to install it via terminal. the problem is, i do not know how to configure my string properly. when i drop the .app into the terminal window i get this location:
    /Users/mycomputername/Desktop/Final\ Cut\ Pro\ HD.app
    and i was using variations of this:
    sudo installer -package /Users/mycomputername/Desktop/Final\ Cut\ Pro\ HD.app -target /
    try not to laugh, i am not a coder, just trying to get my computer to run this program that i love. the new FCP is too expensive and i don't even like it. if you can assist me in creating the proper string i would be grateful. i know that someone was able to install final cut studio using this method.
    thanks so much for your help!

    I do not use Final Cut Pro, but I play one on Television!
    Here is a quote from Wikipedia:
    In April 2004, version 4.5 of Final Cut Pro was introduced and branded by Apple as "Final Cut Pro HD" due to its native support for Panasonic's tape-based DVCPRO HDformat for compressed 720p and 1080i HD over FireWire. (The software had been capable of uncompressed HD editing since version 3.0, but at the time had required expensive video cards and high speed storage.)
    Any program written in 2004 would have been a PowerPC application.  After Apple migrated all of its future Macs to the Intel platform in 2006, it included in OS X Tiger (and later Leopard, and optionally in Snow Leopard) emulation software that would allow most PowerPC apps to continue to run in Intel.  This sofware was based upon technology that Apple licensed from a 3rd party and which Apple called Rosetta.
    Apple's license to include Rosetta in newer versions of OS X expired with Lion and now Mt. Lion.
    Hence no matter how well you use Terminal, or even Pacifist to install FCP 4.5, it just will NEVER run under Lion on your Mac.
    If your MacBook Air 11" is old enough (2010, MacBookAir3,1) to boot and run Snow Leopard, you can either partition your hard drive or add an external hard drive and install Snow Leopard into it.  You can then "dual-boot" into Snow Leopard when you want to run FCP 4.5 or into Lion when you need iCloud or otherwise.
    Alternatively you can install Snow Leopard Server into Parallels 8 on any 11" MacBook Air and have FCP 4.5 running concurrently with Lion, such as here where the PowerPC app Appleworks is running on a Lion Mac:
                                  [click on image to enlarge]
    Apple is now selling Snow Leopard Server for $19.99 + sales tax & shipping costs at 1.800.MYAPPLE (1.800.692.7753) - Apple Part Number: MC588Z/A (telephone orders only).
    Parallels offers a 14 day free trial download from its website.  It sells retail for $79 but can be found for a discount on the internet.
    NOTE: You are confusing your version with Final Cut Express 3.5 and Final Cut Studio 2, both of which will run in Lion, but whose installers have problems in Lion and Mt. Lion due to a "bug" in the installer program.  For those versions, as pointed out in Jeremy Johnstone's blog, using Terminal (or alternatively, using Pacifist) to install will achieve success in using those versions in Lion.

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

  • Using terminal to recover files

    I have a new MacBook Air running OS X v. 10.10.2.  It will not boot.  I have a day-old Time Machine backup, but would like to recover work I did today using Terminal before I restore from backup. Is there any way to do this?

    Try resetting password.
    OS X 10.7 Lion, 10.8 Mountain Lion & 10.9 Mavericks
    Reset Password starting from Recovery HD
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • Mass filename changes using terminal? How?

    Hello,
    I recently put a Linksys NAS on my network. Unfortunately, the EXT3 format used on the disks does not like filenames with special characters such as "/" or "?". So I cannot copy files from my PowerBook to the NAS with these characters in their names.
    A search of my hard drive shows 800+ files with these forbidden characters.
    Is there a way to use terminal (or any aspect of OS X) to do a mass change of these characters to a more acceptable character (i.e. changing all instances of "/" to "-")?
    Thanks for the help.
    Jim

    Jim
    tcsh: Invalid null commandAh, you're using tcsh. Bad news! I'm sure it could be made to work, but I've switched to bash because it is better for this sort of stuff. Gary will tell you to switch to zsh, but for now bash will do. I just tried the command as posted and tcsh complained loudly!
    First point: often when you try to copy/paste from a browser window, you get an extra space appended to the line. It often doesn't matter, but it could here (may explain the "tcsh: Invalid null command" message). So copy the commands into a TextEdit document, which you have changed to Plain Text from the Format menu. Then be sure not to include any trailing space.
    Second point, we'll scrap the use of sudo since it is only your Home directory that you are interested in.
    Third point: as I said, we'll use bash. The prompt will change to a '$' instead of a '%'. When you've finished, you can return to tcsh with a plain exit command.
    So, copy and paste the following into the Terminal window, one line at a time, with a return after each line:
    <pre>bash
    find -d ~/Documents \( -name "?" -o -name ":" \) -exec echo 'mv "{}" `echo "{}" |
    sed -e "s^\?^_^g" -e "s^:^-^g" ` ' \; | sh</pre>This should work—it did for me!
    Note:
    it returned a > prompt with nothing else on the line.It will do this after the second line above—it is an invitation to complete the command

  • I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared

    I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared without Doing anything!!
    And now I can't use the " tap an click " from my tack-board and no nothing was spilled on my mac.
    Please help  

    Check your login items in the Users & Groups preference pane. Remove any that you don't recognize.

Maybe you are looking for