Mount PenDrive Using Command-Line

Hello,
I'm a C++ developer and i'm a Ubuntu user, but i installed Arch Linux and i want tp mount my pen-drive, but i don't know what is the driver assing, because when i want to mount something i know what is the driver name like sda1, but i don't know now, but the command to mount i know.
Thanks,
Nathan Paulino Campos

nathanpc wrote:
The pen-drive is in /dev/sdb, but here i the log of the console:
# mount /dev/sdb /mnt/pen
mount: you must specify the filesystem type
What parameter i have to add, because in Ubuntu we have GNOME that mount all to you, i only use the console to install programs and to compile my programs using g++.
Hm, you're missing the filesystem type. Try
# mount -t vfat /dev/sdb1 /mnt
for a FAT partition, or
# mount -t ntfs-3g /dev/sdb1 /mnt
for a NTFS partition (you have to have ntfs-3g installed for that).

Similar Messages

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • Error while creating pool using command line

    I am trying to create connection pool using command line as :
    %JAVA_HOME%\bin\java weblogic.Admin -url %serUrl% -username %serUser% -password %serPwd% CREATE_POOL "XXXXXXXX" url=%DB2Url%,driver=com.ibm.db2.jcc.DB2Driver,testConnsOnReserve=true,testTableName=SYSTABLES,initialCapacity=2,maxCapacity=50,capacityIncrement=2,allowShrinking=true,props=user=%DB2Usr%;password=%DB2Pwd%
    This was working fine in 8.1 ,but when i am using same in 9.2 it gives following error in console:
    ======================================================
    <Feb 2, 2007 9:58:11 AM IST> <Error> <Deployer> <BEA-149265> <Failure occured in
    the execution of deployment request with ID '1170390490712' for task 'weblogic.
    deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:268)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
    loymentCallbackFlow.java:56)
    Truncated. see log file for complete stacktrace
    weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
    com.ibm.db2.jcc.DB2Driver
    at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:2
    92)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(Connect
    ionEnvFactory.java:77)
    =====================================================
    when i am again trying to start server , its unable to start.
    Anybody have idea why this exception is coming.

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • How to open url in acrobat reader using command line

    Hi,
    I need to open file from url using command line, but I'm still getting some error (wrong filename).
    I've tried for example this command:
    AcroRd32.exe http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf
    Can anyone help me and tell me what's wrong?

    You can't use a URL as parameter for AcroRd32.exe.

  • How to duplicate a target and add resources in xcode using command line?

    I am trying to use command line tools to create, add resources, build, archive and export to ipa in xcode. I could do the Build, Archive and Exporting to IPA through the command line tools(xcodebuild). But I also wanted to duplicate the target in the same project,add a new Info.plist to the duplicated target resource through command line itself. How to do it? I could not find any valuable answers by Googling. I could not find any proper documentation also in Apple Sites.
    Is there any tools that can be used to perform these? I don't want to use the UI. Please, help me out.

    The Mac App Store is not appropriate for command line tools. You can use any language you want.

  • Split PDF by pages using command line options

    Hi,
    I am after a product to split a PDF file by pages / bookmark using command line options.  It would be good, if the product comes with functionality to call from VB/.NET SDK.
    I googled and came across many products, out of these following looks good.  Has anyone used this.  Please suggest me.
    www.neeviapdf.com
    www.coherentpdf.com
    Thanks
    Sarav

    You are posting in the wrong forum. This forum is for Acrobat Scripting.

  • Read in file name + path using command line arguments

    Hi guys,
    I am trying to use command line arguments to read in the name of two files. The code below works as long as the files are on the class path.
    public class cmdLineArguments {
         public static void main(String[] args) {
              String xmlFile1 = args[0];
                    String xmlFile2 = args[1];
              System.out.println ("\nXmlFile1: " + args[0] + "\nXmlFile2: " + args[1]);
    }I would like to be able to read files that are not on the class path as well by entering their full path along with their names.
    In other words, It works if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs file1.xml file2.xmlbut not if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlWould anyone please explain how I can edit the code to make it work? I guess I could take them both as a String, modify them manually (add a \ to it etc) but is there an easier way to do it? Even a reference to a tutorial, article etc about this would be very much appreciated.
    Also, any idea why a code would compile and run fine in Eclipse but would create an error from command line?
    Thanks a lot.

    You need to learn about cmd.exe which is used to process the command line. The arguments passed to any program is the command line split at white space so your command line arguments of
    c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlis turned into an array of
    "c:\Documents", "and", "Settings\user\desktop\file1.xml", "c:\Documents", "and", "Settings\user\desktop\file2.xml"In other words instead of 2 arguments you actually have 6.
    To get round this the file names need to be quoted
    java cmdLineArgs "c:\Documents and Settings\user\desktop\file1.xml" "c:\Documents and Settings\user\desktop\file2.xml"

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to call a ODI Job using Command line?

    Hello All,
    Please help me on this..
    How to call an ODI Job using Command line?
    Thanks
    Ravikiran

    Generate a scenario of your package. Then go to <ODI_HOME>/oracledi/agent/bin in command prompt and invoke startscen command .
    startcmd.sh OdiStartScen -SCEN_NAME=scn_load_data -SCEN_VERSION=001 -CONTEXT=GLOBAL -AGENT_CODE=odiSchedAgent001
    Bhabani
    http://dwteam.in

  • Print using command line

    Hello experts,
    As mentioned in http://support.adobe.com/devsup/devsup.nsf/docs/52080.htm we can use command line instruction to open a pdf file in Acrobat Reader and print it.
    Does anyone know if this works both in Windows and in UNIX?
    Thank you.
    Gie Kian Siauw

    Hi Gie,
    On Unix, you can use commandline instruction to create ps files from the pdf files.
    for eg. "acroread -toPostScript -pairs a.pdf a.ps"
    You can also pipe the ps output to a printer.
    for eg: "acroread -toPostScript -pairs a.pdf - | lp -d <Printer Name>
    This is a headless process of printing pdf files without the launching of acroread.
    The file is not opened in the acroread and just printed.
    Regards,
    Rishi

  • Compiling FLA and AS files to SWF file using command line

    I need to encorporate the .as sources and .fla file, into my
    build environment, to compile the SWF file.
    Right I have to Open Flash 8 to perform this and copy the SWF
    created through the compilation process.
    Compiling FLA and AS files to SWF file using command line is
    my main purpose. If there such a utility there, does it exist for
    Linux and Windows.

    Try
    Flash
    Command or
    Flash
    Shell Extension
    We use an enhanced version of Flash Command internally, of
    which we fixed the bug of Mike Chamber's Flash Command which cannot
    be run in .NEt 2.0 and added some other functionality. Once we are
    comfortable with it, we will release it to the public.

  • How to use command line with acrobat to extract page(s) from pdf file?

    I have adobe acrobat, and have a pdf file with over 500 pages. I need to extract small chunks of pages from it as seperate pdf files. I was hoping I could use command line interface to do this faster.
    Something like:
    acrobat src des start end
    so for example
    adobe file.pdf my_folder 3 5
    Is this possible? There are many chunks and I don't want to manually do it for every chunk. Command line would be much easier...
    Thanks

    I can't find any programs... sorry.
    Can you create one for me please.
    It should at least have these 5 arguments: (well the first one is not neccessary since were not using acrobat anymore...)
    [program] [src path/src file] [destination path/file name] [start page (inclusive)] [end page (inclusive)]
    for example:
    acrobat ./my_file.pdf ./my_folder/chunk1.pdf 3 5
    if start page == end page, then it only extracts that one page.
    So this way I can just stack these comands on a .bat file or something (maybe like 100 commands), then run the bat file, and it will create all the files.
    Thanks for doing this, it is appreciated.

  • Is ther any program similar to Process Monitor(Procmon) to use command line?

    Hi.  I need to find some kinds of program like process monitor in terms of using command line
    there is a little bit restrictions to use ProcMon for exploiting command line.
    well, I tried to find such programs like multimon, yapm and so on..
    They are really good. However I couldn't use command line for them.
    Any guys can solve my problem?
    help me

    I agree, the procmon forum is the best place to ask about this.
    You do have command line options available to you:
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • I want to use command line to execute an oracle report?

    Dear all,
    I am using Oracle Application. Does anyone know how to use command line to execute an oracle report?
    I mean execute command from client to server.
    Please advice,
    Amy
    Edited by: amychan60 on Dec 13, 2009 11:33 PM

    Hi,
    Using Oracle Application Server the standard way for a client to request a report is via a HTTP request. This doesn't really lend itself to use directly on a command line on a client however you could use the following:
    explorer "http://your_server/reports/rwservlet?report=report_name.rdf&userid=userid/password@db_sid&paramform=no&destype=FILE&desname=c:\temp\filename.pdf&desformat=pdf"
    This will load explorer and submit that URL for you and request the report. You can change the parameters depending on the report output you require.
    If you need something that is silent (ie doesn't load in explorer) you'll need to investigate other ways of submitting that URL request, perhaps using Java. You could also use SRW.run_report (Event Driven Publishing) to submit the request using SQL.
    Cheers,
    Toby.

Maybe you are looking for