Ubuntu :: Unable To Find Any List Of Arguments That Can Be Added In The Command Line

Aug 23, 2010

I am able to start up firefox just fine out of my terminal, but i have not been able to find any list of arguments that can be added in the command line. what i'm looking for is that it starts up in Full Screen mode right off. is there an argument that can be added to ti to do that?

View 2 Replies


ADVERTISEMENT

Programming :: Set For A Group Of Command Line Arguments?

Oct 11, 2010

i was wondering if someone could help me figure out a script for global variables i'm trying to set for a group of command line arguments:

basically i'm trying to set: if $# = 3 then i want to search for each all string $1 $2 $3

if $# = 4

then i want to search for each all string $1 $2 $3 $4

View 2 Replies View Related

Programming :: Parsing Command Line Arguments In PHP?

Feb 1, 2010

I want to know how to get eg. the contents of a form on a webpage which has been passed to a server side PHP script, inside for example an array which I can read. I've been reading a ebook on PHP which as far as I can see doesn't cover this inside it.

View 1 Replies View Related

General :: Passing An Array As Command Line Arguments?

Apr 2, 2011

how to pass an array as a command line argument in a shell script?

View 5 Replies View Related

CentOS 5 :: Parport_pc Command Line Arguments Ignored During Bootup?

May 9, 2011

I am having trouble trying to get the kernel to accept some command line arguments for parport_pc during bootup. I have a custom base board with a PC-104 CPU board connected to it through the ISA bus. On the base board I have 3 parallel ports mapped to addresses, 0x150, 0x158, and 0x160. Only the first one needs interrupts, the second two do not. So, on bootup I load the parport_pc module like this modprobe parport_pc io=0x150,0x158,0x160 irq=3,none,none I have been running an older RedHat kernel, 2.6.11 for the past few years and this has been working flawlessly. I had the above modprobe call in /etc/rc.d/rc.local.

Now I am trying to set the system up to use CentOS 5.5, kernel 2.6.18-194.el5. What happens is, the module inserts OK, but the system never recognizes the ports. (i.e, they do not show up in /proc/ioports)
But, if I log into the system, then rmmod parport_pc, then re-modprobe it as above, it works just fine and now my ports are visible. This is an embedded system, expected to just come up and run, so kicking it into action by hand is not an option.

I have tried putting a parport_pc.modules file in /etc/sysconfig/modules so that it will be seen by rc.sysinit, (some site I found while googling said modprobes need to be done earlier than in rc.local),and again, the module gets inserted but the ports are not seen. I have also tried putting rediculously long pauses between each step of the modprobing of the parport stuff;

[Code]...

View 7 Replies View Related

Programming :: Passing Command-line Arguments To Qglviewer Application?

Jul 13, 2009

how to use QGLviewer. I want to give my program a file name as a command line argument. All of the sample programs I find have a main.cpp file like this:

Quote:

#include <QApplication>
#include "window.h"
int main(int argc, char *argv[])

[code]....

Then the Window class, which is derived from QGLViewer, does all the program's actual work. If I want access to argc and argv, for example, to open and read a file that's passed as an argument, what would handle that? Is there a built-in way to get the arg variables to the window class, or do I need to just write a loadfile function and pass them?

View 1 Replies View Related

CentOS 5 Server :: Mysqld Won't Accept Command Line Arguments?

Mar 28, 2009

I have recently installed MySQL Server on my CentOS box.

CentOS 5 MySQL 5.0.45 (installed using 'yum install mysql-server') I can start the daemon without error by issueing the following command: service mysqld start

The problem is that I want to use a number of the command line options available to mysqld, such as --verbose and When I issue '/etc/init.d/mysqld --verbose --help' I get the following output:

[Code]...

View 1 Replies View Related

OpenSUSE Multimedia :: Using Flash Stream Dumpers - Command Line Arguments

Aug 5, 2010

Has anyone used rtmpdump or flvstreamer? They compile well (there is also a package on Packman for rtmpdump, but not for the latest version) and have man pages listing a bunch of command line arguments, but I have not yet figured out how to use them in connection with browser and flash plugin.

View 1 Replies View Related

General :: Bash : Pass Command Line Arguments Containing Special Characters?

Jul 14, 2010

I've written myself a linux program "program" that does something with a regular expression. I want to call the program in the bash shell and pass that regular expression as a command line argument to the program(there are also other command line arguments). A typical regular expression looks like "[abc]_[x|y]".Unfortunately the characters [, ], and | are special characters in bash. Thus, calling "program [abc]_[x|y] anotheragument" doesn't work. Is there a way to pass the expression by using some sort of escape characters or quotation marks etc.?

(Calling program "[abc]_[x|y] anotheragument" isn't working either, because it interprets the two arguments as one.)

View 7 Replies View Related

General :: Bash: How To Pass Command Line Arguments Containing Special Characters

Jun 24, 2011

I've written myself a linux program "program" that does something with a regular expression. I want to call the program in the bash shell and pass that regular expression as a command line argument to the program (there are also other command line arguments). A typical regular expression looks like "[abc]_[x|y]". Unfortunately the characters [, ], and | are special characters in bash. Thus, calling "program [abc]_[x|y] anotheragument" doesn't work. Is there a way to pass the expression by using some sort of escape characters or quotation marks etc.? (Calling program "[abc]_[x|y] anotheragument" isn't working either, because it interprets the two arguments as one.)

View 8 Replies View Related

Software :: Create A Command Line Inside A Bash Script That Contains Arguments?

Dec 9, 2010

I'm having problems with bash quoting. Maybe someone can tell me what's going on.. Basically, I need to create a command line inside a bash script that contains arguments that contain spaces and bash variables that need to be expanded.

[Code]...

View 5 Replies View Related

General :: Running Shell Script Taking Command Line Arguments In A Jsp Page?

Feb 10, 2011

how to run a shell script taking command line arguments in a jsp page.

View 1 Replies View Related

General :: Write Shell Script That Takes A File Path As Command-line Arguments?

Dec 14, 2010

How can i write a shell script that takes a file path as command-line arguments.and it should report whether the path denotes a file or a directory.

View 2 Replies View Related

General :: Identify File Types - Command Line Arguments - And Count - How Many Of Them Are Regular Files

Feb 20, 2010

Write a script that will take a list of filenames as arguments and output a count of how many of them are regular files, and how many of them are scripts (if the file is executable, it will be assumed to be a script file)

Counts always come back as 0

View 5 Replies View Related

General :: Reusing Find Command Results In Mplayer Arguments?

Jan 22, 2010

I wanted to supply mplayer with the output of find command as arguments. The error returned showed spliced names of files whenever spaces occurred. I have subdirectories in my /home/my_user_name/Music/ directory, and in them multiple *.oga music files. The actual command that I issued was

Code:
mplayer $(find /home/my_user_name/Music/ -name "*.oga")

mplayer started but then was looking for broken file names. I am thinking quoting has to do with it to preserve the filename as one string but different attempts were met with inroads:

Code:
mplayer `find /home/my_user_name/Music/ -name "*.oga"`
gave me the same result and
Code:
mplayer `"find /home/my_user_name/Music/ -name *.oga"`

complained about wrong mplayer syntax.

View 1 Replies View Related

CentOS 5 :: Added Gnome And X To Command Line Only Install - How To Make X Start At Boot

Nov 5, 2009

I've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?

View 3 Replies View Related

Programming :: Get "Unmodified" Command-Line Arguments?

Sep 10, 2010

Is there a way to retrieve the arguments in one big string, rather than split into a "char*[]" in C/C++?

It would be nice to get this: "appname --option=value argument argument", rather than "appname", "--option=value", "argument", "argument", etc...

Simply concocting the strings together will not do, since I would like to get the arguments before any OS interaction (i.e.,

Code:
appname --option="hello"
translates into
Code:
appname --option=hello
(quotes are lost). Here is the output of just such a problem:

[Code]....

View 1 Replies View Related

General :: Command Line - Use Find To Find Text Files?

Jul 15, 2011

Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.

View 2 Replies View Related

Programming :: BASH: Each Line Of Multiple Text Files Gets Added To One Line?

Sep 12, 2010

I currently have 3 files with floating point data that I wish to have in a single file with the format:

Code:

F1 F1 F3 Output
a1 b1 c1 a1 b1 c1
a2 b2 c2 a2 b2 c2
a3 b3 c3 a3 b3 c3
a4 b4 c4 a4 b4 c4

View 3 Replies View Related

Software :: List All Postfix User Accounts In Command Line?

Mar 14, 2010

how to list all postfix user accounts in command line?

View 10 Replies View Related

Ubuntu :: Find Command For Multiple Filenames Stored In List?

May 3, 2011

I searched the forum and didn't find any threads that seemed to answer this question. I have a large directory of files, and dozens of subdirectories on a remote box I have ssh access to. I need a subset of these files copied to another folder.

Example:

directories
parent
-sub1
-sub2
-sub3

files I want (the files are all the same format, but some have extensions and others dont)
1100
1215
1322
1442
1500
1512

Unfortunately, I need a lot of files, and plan to do this on a regular basis (the files I need will be different each time) I was thinking it would be nice to be able to put the filenames in a text file (one filename per line) and use the find command to copy the files (I don't necessarily know which subdirectory the file will be in).

[Code]...

View 2 Replies View Related

Ubuntu :: Find Multiple Files In The Command Line?

Mar 2, 2010

command line, I have a server for work that I ssh into and I need to be able to find multiple files (they have the leading text just the date identifier changes) and then zip the files (with bzip) them and then finally scp(Secure copy) them to another server.

These files are always in the same directory and this is a daily task and just want to make into a script that I run once I am logged into the remote server.

View 4 Replies View Related

OpenSUSE :: Find Files In 11.2 Without Using The Command Line

May 25, 2010

How do I find files in opensuse 11.2 without using the command line. I see in dolphin "nepomuksearch", but it doesn't work. Even in the command line you cannot whereis a file like Monday, Monday.mp3. whereis also seems to be case sensitive.

View 5 Replies View Related

Ubuntu :: Find And Use File Manipulation Tools On The Command Line?

May 14, 2010

How do you find and use file manipulation tools on the command line?

View 1 Replies View Related

Ubuntu :: Command Line - Find And Replace Text Within Multiple Files?

Aug 28, 2010

I'm pretty sure this is doable from the command line, but my CLI skills have degraded a lot since my pre-Y2K admin days. The goal is to search all the files in the directory for a very long string of text and replace it with another string of text. The text being searched for is my Google Adsense code (which will be stripped from my website) and it will be replaced with a placeholder so I can easily tack something else in there in the future.

Seeing how I have that long snip of code on about 100 pages, automating the process would make life easier.
If I was searching for a single word, I can see ways to do this.
If I paste the code I'm searching for into a text file, is there a way to:
find (contents of oldstring.txt) and replace with (contents of newstring.txt)?

View 9 Replies View Related

Ubuntu :: Nothing In Gwibber Works / Account Is Never Added To The List?

Jul 9, 2010

Never really used Gwibber before and I'm rather lost here. Whatever I do I can't seem to get anything to actually work. I'm not getting any error messages, but my Gwibber window remains blank no matter how many accounts I'm adding...

Facebook - I click add "add", I select Facebook, I enter my details and they successfully authorize my account, but the account is never added to the list. After closing the accounts window it's completely gone.

Twitter - Click add just like with Facebook, enter my details and it's added to the list. When I close the accounts window it shows up to the left of my main screen like it's suppose to. I notice Gwibber is refreshing, but nothing appears! Completely blank screen, completely empty inbox. I can type an update, but when I click send it's just cleared. Nothing is updated and nothing appears on my Twitter profile.

I try entering a phony account and it's the same deal. No error messages, Gwibber is refreshing but nothing is appearing.

Flickr - All I can do here is to enter my username. I don't know what's suppose to show up in my inbox, but again, nothing. No error, no feedback, not messages... nothing.

View 5 Replies View Related

General :: Sed Command - Find Line Not Beginning With Double Quote

Mar 15, 2011

I need to find each line in a file which does NOT begin with a double quote (") and append that line to the previous line. I have been successful doing this using the following command:
cat filname.csv | sed -e :a -e '$!Ns/
[^"]//;ta -e 'P;D' > newfilename.csv

My issue is the substitution. As you would expect after the line is appended to the previous line the first character is removed. I need it to not be removed. I tried:
cat filname.csv | sed -e :a -e '$!Ns/
[^"]/&/;ta -e 'P;D' > newfilename.csv
but it just hangs.

Goal:
Input:
"line 1"
line 2
Output with existing sed command is:
line 1ine2
I need it to be line1line2.

View 9 Replies View Related

Slackware :: Can't Find Pdf Reader That Works In Command Line Mode

May 13, 2010

So, in finishing my nFlux slack current edition.I have set it up for users to do certain things in console
and one of the things I want is a way to view slackbook-2.0 in runlevel 3 console.I cant find a pdf reader that works in command line mode and I cant figure out how to either convert slackbook 2.0 pdf into html/text Or find a slackbook download that is html or text?I tried converting it using pdftotext, which didnt work very well So, I need a command line pdf viewer or a converter that works good?

View 5 Replies View Related

Ubuntu Servers :: Running Straight Command Line And Can't Find The Info Need To Reformat The Second HDD?

Apr 14, 2010

i'm trying to setup my server box.. it's being setup as a web server, file server, and setup for me to be able to access it remotely (aka i do pc repair for windows users and it'd be nice to just know where ALL of my software tools are and get to them from there)anyways.. these things are almost all setup right now.. but the one thing i'm having issues with.. is the fact that this box does have 2 hard drives in it and i want to use both of them.. now i'm running straight command line and i can't find the info i need to reformat the second HDD (which is currently NTFS formated) and use it in this system... i'm running 9.04 as a server.. NO GUI INSTALLED! i need this with straight command line...What do i need to look for to figure this out? i'm having trouble figuring this out and it's really getting annoying..

View 5 Replies View Related

Ubuntu :: Unable To Open Documents From Command Line?

Jun 3, 2010

Previously I was able to open any document I wanted in the CLI by typing:

Code:
open some_document.txt
Now when I try to do this I get the following:

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved