Ubuntu :: Open A File With Command Line?
May 29, 2010
is it possible to open a file with a terminal without specifying the application it will use ? In fact I mean what is the equivalent of the double click on the file manager for a terminal.
View 9 Replies
ADVERTISEMENT
Apr 6, 2010
I would like to open the file manager by command line using sudo, but I just can't remember the name of it!! I can "almost" remember it... but it escapes me. And I am afraid I don't know where to look for it.
View 9 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Oct 18, 2010
I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.
Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)
I have written the following code but it does not work:
View 14 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
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
Oct 20, 2010
I was wondering, is it possible to open Ubuntu's main menu from the command line? I've been searching for the answer for about 30 min's now but no luck.
View 3 Replies
View Related
Feb 21, 2010
I use a few command line programs quite often such as nano and mpc. I'd like to create a shortcut icon to open them rather than opening a terminal and then typing in the program name to open it. For example, how could i open konsole with nano opened in one step?
View 5 Replies
View Related
Mar 12, 2011
I would like to Close/Open port 21 using command line. I have an FTP server and I don't want to have the port open all the time. I need only two hours by week to be open port 21 from outside to inside.So I need to know the command line for opening and closing the port 21 then I will implement this in a script into cron.hourly.
View 2 Replies
View Related
Apr 7, 2011
Yesterday I installed OpenOffice on my Linux server. But when I go to run it through the command line, it says command cannot be found. I've also tried other things like OOWriter, etc. Has anyone had this problem? Installation process went like below: root@aserver [OOO330_m20_native_packed-1_en-US.9567/RPMS]#
rpm -i *.rpm
package openoffice.org-ure-1.7.0-9567.i586 is already installed
package ooobasis3.3-core01-3.3.0-9567.i586 is already installed
package ooobasis3.3-en-US-3.3.0-9567.i586 is already installed
package ooobasis3.3-core02-3.3.0-9567.i586 is already installed
[Code]...
View 2 Replies
View Related
Mar 15, 2010
On my ubuntu 9.10 pc i am not running a GUI.
Every thing is run from command line.
How do i start a second telnet session from command line.
Plus can i have 4 telnet session open and move from one to the next and back again.
View 5 Replies
View Related
Nov 24, 2010
How can I open a folder in a window from the command line. I don't want to list the contents of the folder by the "ls" command, but want to open the folder through the command line, like it opens when we double click on the folder.
View 12 Replies
View Related
Apr 29, 2011
Some of my short cut keys seem not ot be working. Ex Alt +F2 dose not open a pop up command line. Also would like to add some short cuts. Like Ctrl + Alt+ Backspace for reboot. I went to the short cut app and I can add a short cut key, name it, but can't seem to figure out how to assign it a function. Didn't seem intuitive to me. I'm using the UNE version on a asus eel 1000.
View 1 Replies
View Related
Mar 9, 2010
Is there any open source, command line, subtitle converter, prefferably for linux?
View 2 Replies
View Related
Sep 11, 2010
In order to avoid switching user, is it possible to open dolphin in root mode. If yes, what is the command, and the keyboard shortcut to enter it.
View 3 Replies
View Related
Apr 6, 2011
I need to execute evince from command line or from a shell script and open it directly in full screen, or start some program for presentation.
I mean:
$ evince (this opens evince)
$ evince /dir1/dir2/file.toview (this opens evince and the file.toview but not in full screen)
$ evince /dir1/dir2/file.toview 'in mode presentation'
View 1 Replies
View Related
Oct 28, 2010
I would like to convert a .ods file to a .csv file via command line on a server running ubuntu with no graphical interface.
xls2csv does a perfect job on xls files; is there something similar for ods files?
View 1 Replies
View Related
May 3, 2010
My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.
View 5 Replies
View Related
Aug 23, 2011
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
View 1 Replies
View Related
Jul 24, 2010
I'm trying to run a perl script found at http://wiki.scribus.net/index.php/Web_optimised_PDF.
running "compress-newsletter.pl input.pdf" produces the result:
-bash: compress-newsletter.pl: command not found
View 4 Replies
View Related
Jun 3, 2011
I have some large log files that I would like to search for a specific text via command line in the file. I know I can open the file in GUI but is there command that I can run against the file path then make it search in the file in command line?
View 7 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Oct 18, 2010
I have a jar, and I need to replace a class in it, at this moment, I can only open it with "archive manager" and then drag and drop the new compiled class into the jar, but I think this is really boring, if I can do with with just a command ?
View 1 Replies
View Related
Apr 23, 2010
i need a good lesson in using file manipulation tools on the command line
View 2 Replies
View Related
May 13, 2010
how to unpack a .deb file on server, I tried tar, but doesn't work
View 4 Replies
View Related
May 13, 2010
I put command sudo dpkg - unpack file.deb
server say need an action option
View 1 Replies
View Related
Nov 16, 2010
I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder. When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe. Before I run it vai crontab I tried it via command line as the www-data user and I receive errors:
Fatal Error: Allowed memory size of 8388608 bytes expired (tried to allocate 232 bytes).
But when I run it as the root user I get no errors and everything works correctly. The file cron.php is used to process automated tasks in my CRM. So I don't really want to have the root user running a crontab every few minutes for this.
Must the www-data user be given more permissions? I am using Ubuntu 6.06LTS
PHP - 5.1.2
Apache - 2.0.55
MySQL - 5.0.22
View 4 Replies
View Related
Dec 9, 2010
Is there a way to copy a file from the desktop to /usr/lib/ICAclient folder that I have, by using drag and drop.For some reason, I thought I was able to do this in Mint.
View 9 Replies
View Related
Jul 13, 2011
I have bound over the command line all for my work related jar files to my CLASSPATH
and can now execute the command javac HelloRDFWorld.java and there comes noerror messages. I assume javac command can be executed without any problems:
/workspace/JenaTutorial/src/main/java/tutorial$ javac HelloRDFWorld.java
/workspace/JenaTutorial/src/main/java/tutorial$
But there are still one problem; although my java file can run in Eclipse environment without any problems it does not run over the command line:
//workspace/JenaTutorial/src/main/java/tutorial$ java HelloRDFWorld.java
Exception in thread "main" java.lang.NoClassDefFoundError: HelloRDFWorld/java
Caused by: java.lang.ClassNotFoundException: HelloRDFWorld.java
[code]...
View 3 Replies
View Related
Jan 16, 2011
i want to know how to change file property using linux command line?
View 3 Replies
View Related