General :: Can Open A File Without Path Via Terminal
Mar 5, 2011
Usually in Gnome, under Ubuntu, the terminal command I use is:
Code:
gnome-open (path)
In most cases, I won't know the path and I'd rather not search for it with:
Code:
locate (file name)
View 1 Replies
ADVERTISEMENT
Nov 24, 2010
I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory
View 5 Replies
View Related
May 20, 2011
This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because people do this all the time inside of other programs (NetBeans, or rails server, for example).
View 2 Replies
View Related
Apr 7, 2011
p { margin-bottom: 0.08in; } I don't know how to give the path and file name for the 'dd' command in a terminal window.I'm trying copy a file (smb.bin) on my cd file (in the install directory) to a floppy disk.
The command format is:dd if=in-file of=out-file
in dos it would be dd if=D:/install/sbm.bin of=A:/sbm.bin
You can see I'm a nubee if I can't even give a path and file name in linux!
View 8 Replies
View Related
Oct 8, 2010
I use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
View 6 Replies
View Related
Jan 27, 2011
I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies
View Related
Mar 23, 2010
Atleast I think it's a terminal program. I remember several years ago while using Redhat 7 when working in the terminal it would automatically complete the pathnames and filenames for you. If I was typing in the terminal "cd downloads" but I only typed "cd do" it would automatically complete my command with "cd documents" but if I continued to type "cd dow" it would know that I don't mean the documents folder and it would know the only other folder path with a dow in it is downloads. I'm not sure if my description is 100% accurate but I think you get the idea. Ubuntu doesn't seem to have this by default and I'm curious if I can get it. Is it a terminal program/client I need to use, or just an option? I don't know what it's called so I've had a hard time googling for it!
View 9 Replies
View Related
May 30, 2010
is there a Terminal command to open a Target file (same as the one opens when you want to upload a file), let user choose the file and when he clicks open, be able to save his choice?for example:echo "Choose source file"--> command needed to browseand then open or save path to that file
View 1 Replies
View Related
Apr 7, 2011
Just like the title says, it always asks me to go to the direct path.
ie:
iwconfig doesn't work. I have to type /usr/sbin/iwconfig
View 2 Replies
View Related
Aug 3, 2011
I am using CentOS5.5 & everytime it is showing command not found. If I export the path as below it will be working fine until a reboot. Again same error i.e command not found if I open new terminal. Every time I am exporting as below:
#export PATH=/sbin/:$PATH
#export PATH=/usr/sbin/:$PATH
#export PATH=/usr/bin/:$PATH
#export PATH=/bin/:$PATH
How can I set these permanently as that the paths should automatically be exported for everyone user whenever the system boots. And command completion also should happen for eg. #fdi (press tab), then it should show available options such as fdisk, etc.
View 7 Replies
View Related
Mar 2, 2010
I want to know the procedure to set java path in open suse to get it into working state.
View 2 Replies
View Related
Jul 8, 2010
How to open a file or application in terminal?
View 4 Replies
View Related
Sep 16, 2010
In Gnome, How do I open a file browser in the current directory? I assume its [command] . Whats the command?
View 3 Replies
View Related
Feb 17, 2010
How to open the file below in terminal to extract.
/home/dave/Downloads/mplayer-vaapi-20081223.tar.bz2
View 2 Replies
View Related
Jun 14, 2011
I am playing around with OpenFOAM which is an application for CFD Analysis but anyway, I have a cshrc file which contains all the environment variables for running the program but rather than source these all the time as some of them conflict I want to be able to use a launcher program which opens a gnome-terminal and then sources this cshrc file. This is what I have so far but I am struggling:
Code:
gnome-terminal --command="source /etc/openfoam.cshrc"
When I run this command nothing happens! I have also tried this:
Code:
gnome-terminal
source /etc/openfoam.cshrc
This opens the terminal but does not source the file.
View 3 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related
Jun 3, 2010
I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies
View Related
Oct 1, 2010
i trying to install firefox with the terminal but i Having Problem with the installation [URL]... libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
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
Jan 27, 2011
I have file which consists of many files with their path,i need to check for the file exists in the given path,how to check?
View 12 Replies
View Related
Aug 13, 2010
Does executable file contains the precise path to SO file? Should it be compiled with precise knowing of SO file location?
View 8 Replies
View Related
Apr 13, 2011
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
View 1 Replies
View Related
Jan 16, 2011
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
View 14 Replies
View Related
Nov 14, 2010
I am trying to load a driver (xxx.ko) and uncertain if the path given is correct.
I do not have any direct access to my linux device, so I need a small script that will create a text file telling me if the file was found or not.
View 6 Replies
View Related
Oct 13, 2010
i can download but i cant run anything because there is no ar file path for ark. please dont tell me to download something to get the ar file path because if i download it i can't open it
View 1 Replies
View Related
Jul 21, 2011
what is the file and path name of the configuration file to which you would add to the AllowUsers charlie linus lucy?
View 3 Replies
View Related
Dec 17, 2010
Kernel 2.6.21.5, slackware 12.0 For a given app run by me as user john to be able to create a file in /foo1/foo2/, what do I need? (a) john to have write permissions in /foo1/? (b) john to have write permissions in /foo1/foo2/? (c) john to have write permissions in both /foo1/ and /foo1/foo2/? Any hint will be welcome. Note: No. It's not homework. KTorrent complains when trying to create the files being downloaded, saying 'permission denied'. But I think he is being run by another user. I can explain in a different thread.
View 3 Replies
View Related
Feb 11, 2011
I want to assign the path of a sourced sub.bashrc file to an environment variable. E.g. if I type (or execute) from a known relative location
$ source ../../someDir/sub.bashrc
the sub.bashrc should set a variable like
export MyOwnLocation=/home/user1/unknownlocation/someDir
The problem is I can't use $0 as reference because the script is only sourced not executed. I also don't want to hardcode the path because the location might change and there will be more copies. Is there an easy way to create this information from within the the sourced bashrc file? I use Gnu bash 2.05b on Suse Linux 9.
View 6 Replies
View Related
Aug 24, 2010
I have installed a software and set the variables in the .bashrc file to avoid setting them everytime I would like to run te software. Now I have installed a new software and would like to do the same thing in the .bashrc file.How can I add the path to the new software directory without affecting the first software path.
View 2 Replies
View Related
Nov 4, 2009
I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:
homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA
I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?
View 1 Replies
View Related