Ed on the Linux command line

Dear all,

I tried to use the ed command to open an editor to update my sql Linux instructions. Please can someone tell me how I can implement it in the Linux command line.

Thanks in advance,

Ash

How can I open the vi under Linux to do the same thing at sqlprompt please?

Try

$ export EDITOR=vi
$ sqlplus /

You can add this line (export EDITOR = vi) to the profile of the user of your operating system.

Tags: Oracle

Similar Questions

  • How to run the linux command line sql script

    Hi all!

    Just quick question. On my server I have to install the crontab script which will be eexecute some sql statements.
    How can I undergo command which will execute the script file without asking for password?


    sqlplus user/pass... and then what?


    Thank you

    dlugasx

    sqlplus user/pass @yourscript.sql

  • I'm looking for documentation on the Firefox command line arguments.

    I'm looking for documentation on the Firefox command line arguments. I use Ubuntu.

    http://KB.mozillazine.org/Command_line_arguments

    This doesn't seem to be what you're looking for?

  • How can I remove the pop up next to my iMac? "to continue the 'java' command line tool, that you must install the JDK

    I can't seem to make the tour of the following pop up: "to use the"java"command line tool, you must install JDK.  I downloaded Java for many times, but the pop-up Guard reappear.  Is there any solution to get rid of this pop up, it makes me crazy?  Help, please!

    What java you have download and install.  To install is TIME legacy java 6 Apple for OS X, which can be downloaded here: Download Java for OS X 2015-001

  • I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    I get a message: to use the 'java' command line tool, you must install a JDK.  I tried 10 times to install without success.  Help, please.

    You probably have some of the older than the needs/desires software legacy Java installed.

    Please see these sons of community message:

    After the installation of El Capitan, I get the message: to use the 'java' command line tool, you must install a JDK

    Just found this last Java does not work with El Capitan

    This is the Apple link to the legacy version of Java 6.

    Download Java for OS X 2015-001

    First of all, I would like to try to identify what application generated the next message and update (delete) this request as the case may be. If you need to run Java then, as the Apple Support page says it's certainly preferable that your installation of Java entirely up-to-date with the Oracle's Java course. If you can get without Java, you should install it not - like the Flash, it should not be installed unless you have no choice.

  • In bulk to rename files in a folder by using the DOS command line or a batch file.

    Can someone help with this problem, please?  I remember seeing the DOS command line to do a mass renaming of files in a folder or a batch file. for example, vacation photos are all in the format DSC00001.jpg to DSC001234 and I want to change it to something like, say, Rome0001.jpg to Rome1234.jpg.

    How about this:
    Go to the folder of your files in that.  Create a text file, and open it (Windows should use Notepad, that very well).
    in the file type:
    Ren dsc*.jpg rome*.jpg
    Now, save the file as:
    renamethem.bat
    (Make sure you call it ".bat" and save it as a txt document, which will make a simpel file and not add a strange formatting)
    From there, just double-click this file and it renames all your pictures accordingly.
    :)

    Old timer

  • MAR3200: access to the WMI command-line

    Hello

    I'm setting up a MAR3200 (C3230ENC - 2WMICE - K9 V01 / Version 12.4 (2) T4, VERSION of the SOFTWARE (fc2)). I can access the router through Telnet and the CLI, but I have not found a way to access the WMI command-line for Setup (ssid...). Can anyone give an indication?

    Thank you in advance

    Best regards

    Alain-Claude

    Hello:

    The MAR has a console interface to enclusre series for each WMI command-line. These are normally at the top and labeled by WMIC, i.e. WMIC1, WMIC2. Console in this interface as you would the MARC and configure it as a 1200 AP. WMIC 1 should be connected F0/0 inside the compound. WMIC 2 is usually connected to F2/3 on the FESMIC. If you use a command line WMI uplink to a solution of Mesh 1500 series or any other non - Cisco AP, consider the universal solution of bridge as detailed in the Enterprise Mobility 3.0 SRND working group. Note also that the "mobile station" command when it is used on a radio interface causes flow challenges (caveat) if the MAR is not the uplink to another MAR or IOS AP.

  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to deal with the plugin command line options?

    Hello

    I am currently working on a plugin c ++ for Adobe Acrobat 7 with the version 7.0.5 SDK.

    I let the user opens a specific pdf file by clicking on a link in the browser.

    to this end, I signed an additional protocol in the windows registry. Works very well.

    But now, I mean my plugin for specific things when calling acrobat.exe in this way.

    So is it possible to get the specified command line parameters given to acrobat.exe Self?

    It would also help if my plugin can be added with URL parameters.

    I could also use.

    I found nothing on this issue.

    Kind regards

    Sebastian

    No, your plugin does not access to the command line.  Look for other methods of IAC (COM, DDE, memory shared, shared files, etc.).

  • How to update the data of the CLI command line interface store

    Dear friends

    I use VMWare Server 2.0 on a debian linux server.

    I need to be able to update the store data from the command line, this because I put the command Refresh within a bash script.

    Of course, I know how the web management, but as you understand, I need to do from the console.

    Thanks for the answer, help or advice

    Robert

    Post edited by: FAsTec

    Hello

    Try vmware-vim-cmd.

    As in:

    vmware-vim-cmd /hostsvc/datastore/refresh
    

    You may need to add the store of data as a parameter.

    See also:

    http://www.VI-Toolkit.com/wiki/index.php/hostsvc/datastore/refresh

    Beware that your username must have good credentials to run the command.

    Hope this helps

    --
    Wil
    _____________________________________________________
    VI Toolkit & scripts wiki at http://www.vi-toolkit.com

    Writer to the blog www.planetvm.net

    Twitter: @wilva

  • Running a Seq file when running the GUI (command line option) return an error

    Hello

    I use a LabVIEW based UI to run/execute a file in sequence by using the command line option. My command line is "Test DUT' D:\QF\GUI-test-Sequential.seq D:\QF\GUI-Test.exe - runEntryPoint

    When I ran the get 3 popup saying that some of the perameters 'is not a valid file of LabVIEW"(see attachments). No idea how to avoid these messages? (The user interface works very well and runs the entrypoint of the USE Test)

    LabVIEW 8.5

    TestStand 4.1

    Thank you.

    Hi Tom,

    When you create a new application to your specification to Build, you must set the 'Pass all arguments for application command line' in the Advanced tab.

    Once you do that it should all work.

    Concerning

    Ray Farmer

  • Run the VI command line in Windows 7

    I try to open a VI and do it run whenever called from the command line.  I am running Windows 7 and LabVIEW 2009.

    I followed this guide to get me started.

    First, I marked my VI "run the opening:

    I therefore call on my command prompt similar program:

    "C:/Program Files/National Instruments/LabVIEW 2009/LabVIEW.exe" "C:/User/Desktop/test.vi"
    

    If I already open LabVIEW and running in the main menu, then it opens my VI perfectly without any problems.

    However, if I don't already have LabVIEW open, it opens LabVIEW as she normally does, but it only loads to the main menu.  It doesn't load any of my VI.

    Does anyone know if this is expected behavior, or how can I fix this so that it opens upward Although LabVIEW is currently closed?

    Well... I managed to do work haha.  If you come to ignore the document and open the file via the command line, it opens fine.  I don't know why they say that you can use the command line argument LabVIEW.exe.

    "C:\User\Desktop\test.vi"
    
  • Audit of the process command line

    Someone had a bit of luck with Windows activation command-line process audit as indicated in the article: https://technet.microsoft.com/en-us/library/dn535776.aspx

    I tested this out on a Windows 7 system of teacher to see how the commands executed via the command line are saved in the case where newspapers. I was able to allow all parameters of strategy, as stated in the article however from the test I noticed that not all orders are saved. For example del, rename, and copy commands are not counted while the other type of sys-admin commands (ipconfig, netstat, nslookup, etc.) are being saved. My question is does anyone know why these commands are not counted since according to the example in the article, they should be? Is this normal?

    Thank you

    'Start' is an internal command to the shell.

    You do not say so, but I suspect that you have not run the previous commands at the command prompt. You have executed from within a batch file, which is another way to invoke a shell.

  • How to extract all the drives SAS/SATA and Ethernet port speed of the link command line?

    Hello

    Do you know if supports Windows OS built in order to extract all the SAS/SATA drives and ports Ethernet link speed?

    i.e. for SATA3 drive it show 6 Gbps, for DIS3 drive it will show 12 Gbps, to present the current link speed.

    i.e. for Ethernet 10 G, it will show 10 Gbit/s while the current connection speed is at 10 Gbps.

    I need the command to create a batch file to run bike test to check all connection speeds are correct in each cycle the system power runs, if the Windows operating system does not support built in order to achieve this, please send us any tool of 3rd - party with the support of the command line to do this.

    Thanks in advance.

    Jacky

    Hello

    This is a forum for Windows and you can't find the experts here, so your question will better suit in the TechNet forum where members of the community who have the expertise to help you. Check out the link and post your query:

    https://social.technet.Microsoft.com/forums/en-us/f4a3a72b-21e4-45fc-b623-eb1d99215c79/command-prompt-and-bat-files?Forum=w7itprogeneral

  • "Error: unknown protocol: c ' on the install command line + launch, after 'Throw error' on FB4 install + launch

    Just try to get AIRHelloWorld.as installed and launched on the Simulator, and I encountered some problems.

    With the help of FB4 (v4.0.1), I get the following by following the instructions at http://docs.blackberry.com/en/developers/deliverables/21877/Testing_your_application_from_FB4_134713...

    for the configs of type "Run", he pretended to install and launch, but does nothing. ".

    for the launches of type "Debug", after he sat down to "Waiting for Adobe Flash Player to connect to the debugger" for awhile:

    "The launch has failed."

    "Failed to connect; session has expired.

    Ensure that:

    1. you have compiled your Flash application with debugging on

    2. you run the debug version of Flash Player. »

    The advice of the thread here - http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Launch-Failed-Launching-Error/m-p... - I went to try from the command line with the following command:

    > blackberry-airpackager-bin-debug package AIRHelloWorld.bar - installApp - launchApp - C AIRHelloWorld - app.xml AIRHelloWorld.swf - device 192.168.152.128

    That I get:

    "Error: unknown protocol: c.

    Any help is appreciated.

    Alrighty, for those who wish to learn from my mistake, do not use the default path to your workspace in Windows XP. Place your project files in a path that has no spaces in it. Otherwise the code that reads XML application descriptor will throw and give you this completely useful message on the "unknown protocol".

    For more information...

    According to SUN ( http://bugs.sun.com/view_bug.do?bug_id=6506304 ), it's a regression of jdk1.5, so it can be bound to the version of Java that was used to create the blackberry airpackager. My recommendation to any dev BBPB watch this forum is to use another (earlier? Since jdk6 won't necessarily be released because of the Oracle) jdk for the set of tools... you know, if you want to support default Windows XP installed and you have the time. The solution is pretty easy once you know.

    Alrighty, now off to see if things work!

Maybe you are looking for