Ubuntu :: Terminal Program That AutoComplete Path And File Names
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!
I'm having an issue when I run apt-get and try to use autocomplete. It seems to only happen when I try to remove or install certain items - like gwibber, gnome stuff, etc. So let me show you what happens: Code: user@mycomp ~ $ sudo apt-get remove gwigrep-status: /var/lib/dpkg/status:13456: expected a colon . So I typed in gwi pressed tab and it came up with the /var/lib/dpkg/status:13456: expected a colon (newline) .
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!
I'm having a bit of a struggle here. I recently installed likewise-open 6 to logon to my company domain. All is working fine but one thing, the gnome-terminal autocomplete function.
All that the terminal shows is a "$" sign and nothing else. When I type in a part of a word and press "TAB" it registers as a tab and does not show the autocomplete options that I normally have. it's very annoying to type a long sentence every time.
I am programming in bash and really stuck finding directory names. I have a script to find all the .php files on my / partition which will return the whole path. Is there a way to print directory hierarchy with all those values leaving out the forward slashes.
This call cant run my fortran program because they output to the screen that the file ' ' (empty) cant be loaded!
So the problem is that my program cant see the file in the long path name above ( the real name is a bit more longer). I try with shorts path names , and the program can run, reading the input file.
I googleit for this type of error and only found that bash have limits on the filenames and inputs, so i change them (/usr/local/linux/limits.h or some like) to a very high value (999) ,but no success.
i create a file with .py extension and run it then on windows it opens up directly in command prompt, but wat to do if i wish to do the same in ubuntu, i.e. i want the .py file to run in terminal as a console program, which does not happen as such.
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:
Found that RedHat Linux supports Context-Dependent Path Names in symbolic links using special reserved CDPN variables. Will it be possible to create a user-defined CDPN variable and use it in creating a symbolic link
1) What is the easiest way to find an applications name so that I can run it in terminal rather than from the apps menu? I have installed programs before and tried to run them using the terminal and couldnt for not knowing the name to put in terminal 2) Does Clam AV automatically update when update manager is run? I sometimes get an "update failed" message when I try to run it from the GUI.
in LQ, what the 'g' in names like gzip, gawk means, becauseassumed the incorrect meaning.Cf. zip, awk. I have now forgotten. An easy answer would be: GNU. Perhaps it's the correct one
When I try to run a program from the terminal, bash reports "No such file or directory", even though the file exists, is executable and I have permission to run it. The same program worked in the past.
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media then typed ls is displayed New Volume <-- This being the name off my pen drive i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
Open a new terminal either in tab or new windows,The default work directory is $HOMEDoes anyone know how to change it to `pwd`, so every time a new terminal starts form the same path as the mother terminal (the terminal user calls new from).
I came across a few articles but nothing really seemed to help me. Here's the problem; anytime I try to open a PDF file from my browser, I get either the "Open With..." option or the "Save to..." option.
If I select "Open With..." the default has been changed to Virus Scanner (ClamTK) which I recently installed. Admittedly, I was fooling around with virus scanners to see how they work in Ubuntu. But now my Document Viewer won't open up the PDF files. If I select "Save to..." and save the PDF file(s) to my desktop, and double-click the PDF file from my desktop, then Document Viewer will open up the file. What is the program path for me to change the default program back to Document Viewer???
in order to play "Gish" - I need to cd .gish./gish- otherwise it won't find it's files - it need the working path, how can I put that in a sigle line in my games menu ?
does anyone else have this error?im on an Alienware m9750in order for me to install ubuntu, i had to change the boot options with thenouvea.modeset=0and i was able to boot to ubuntu 11.04 and then install it from there, and i installed my correct drivers for the video
Is there a way to NOT display the current full directory path in the terminal? I'd like to set the default to be just the current directory instead of everything back to ~.
I want to add a path (/usr/sys) to the global $PATH. I will use this to test commands and scripts, which I don't want to be mixed up with regular commands. I've added the path to /etc/environment. When I start a terminal session under my user account, the path is included in the $PATH variable. However, when I start a root terminal, it is not. Is there a way to to change $PATH on one place where it will also affect the root terminal, or do I have to change it on 2 locations?
I recently upgraded to Ubuntu 11 and a few days later my ecryptfs filesystem began misbehaving in a weird way. In my home directory, many subdirectory names are duplicated verbatim. Here's an ls -F excerpt:
I can no longer access files in those directories (if I ls the directory, it appears empty; I can cd to it, but there's nothing inside). Not all of the directories are duplicated/damaged like this, but most are. A few non-directory files are also duplicated in this fashion, so for example:
I have downloaded the jdk-6u20-linux-i586.bin from their website. I also read the instruction given to install jdk manually but i was not able to run a single program. Can someone give a step by step instruction to install jdk and also tell me how to set the path so i can easily execute the programs.
I am not sure does the title make sense with regards to my query.I am using OS 11.4 gnome.I installed a program (PLINK v1.07) by compiling its source.i compiled the source code in the following folder using "make"
Code: /home/reddy/Downloads/plink/ Which created an executable file plink.
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?