Ubuntu :: Shell - Command-dependent <tab> Autocomplete?

Jul 6, 2010

I was using windows recently and noticed that in their command line, the autocomplete is in some ways a little more intelligent (although based on my short experience ours is more robust); for example, if you have a directory named blah and a file name bl, in Linux "cd bl <tab>" will result in "cd bl" while in Windows I get "cd blah" because it recognizes that blah and not bl is the appropriate argument to cd. Similarly unrar will target rar files first.I am not saying Windows command line is better; Windows command line is in general a piece of junk.

View 2 Replies


ADVERTISEMENT

General :: Unable Command Line Autocomplete After Sqlite?

Jun 3, 2010

Once upon a time when I started sqlite from the command line I could using the tabbing autocomplete to enter the database name. This has not worked for a while now.

View 1 Replies View Related

Programming :: Show The Output Of Shell Command Into A Textbox, Ex Ps -efc Command?

Oct 20, 2010

I am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?

View 3 Replies View Related

Ubuntu :: Running VirtualBox Without Being Dependent On VNC

Jul 22, 2011

I currently run VNC with Gnome to run VirtualBox for my VPS's, but the problem I'm facing is that occasionally, the VNC session will die.

Ubuntu - 11.04 Server Edition.

I mean, randomly just die and then through up an error (specially connection refused 10061). The problem caused by this is that after I reset the VNC session, VirtualBox will have stopped and in turn the VPS's.

Is there any way I could run VirtualBox without being dependent on VNC + Gnome? Or at least, beable to stop VNC is dying on me?

If you require any more information, just ask and I'll reply within 5 minutes.

View 1 Replies View Related

Ubuntu :: Using Terminal Autocomplete (Tab) With Apt-Get?

Feb 2, 2011

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) .

View 2 Replies View Related

General :: Where To Dwld The Vlc Dependent Packages

Aug 17, 2010

I'm compiling vlc in Fedora 13 and i'm getting lot of dependent errors. I would like to install the dependencies.getting the vlc dependent packages. I prefer compiling from source codes. Kindly let me know the sites where i can download the codecs

View 5 Replies View Related

Security :: Wireshark Is Dependent On Iptables?

Oct 29, 2010

I am doing security stuff under linux... I've heard of Wireshark and Snort and dsniff and have been reading up on them on wikipedia pages but the big picture is not clear to me yet. Are things like Wireshard and Snort BASED on the functionality of iptables in Linux? I read that you have to be root to run iptables, but not to run Wireshark right? Yet Wireshark is dependent on iptables.

View 3 Replies View Related

Slackware :: Slack Dependent On Lilo?

May 4, 2010

I understand that making any changes wrt to kernel on Slackware one has to rerun Lilo. If an install was made onto a disk already using other distros and Grub and wanting to keep Grub, do I still need to install Lilo?I believe that one could use the 'chainloader' entry in Grub to boot the Slackware. And Lilo can be installed to its own / root partition.I suppose really what I'm asking is Slackware totally dependent on Lilo?

View 26 Replies View Related

Ubuntu :: Tab Autocomplete Stopped Working?

May 4, 2011

I did a bunch of uninstalls and reinstalls lately, trying different distros. Now I'm back to Ubuntu but tab autocomplete in terminals doesn't work anymore. It is quite less convenient now to use the terminal. I tried changing interpreter to /bin/bash and it doesn't work. I use guake.

View 2 Replies View Related

Software :: Vim - Config Dependent On Current Directory?

Jul 13, 2010

I recently got involved in a project which uses brain-dead GNU indentation style.

So I need to set vim to 2-char tabs when working on that project, but otherwise I want to keep my original configuration.

Is there a way to have options in .vimrc that depend on the current working directory, so I don't have to switch back and forth manually?

View 3 Replies View Related

Ubuntu :: Evolution Autocomplete Feature (Like Outlook NK2)

Jul 10, 2010

I use evolution a lot during my working day, I work in IT so my work is heavily email driven. I have used ubuntu on my personal computers for a while now and last week decided to migrate my work computer from Windows to ubuntu. For my work email, contacts and calendars I use google apps for business (highly recommended by the way!) and evolution syncs all 3 brilliantly. As outlook uses the nk2 file to autocomplete email addresses when you begin to type them into the to, cc or bcc bar.

I can't seem to enable the same feature in evolution. I have gone into Edit > Preferences > Mail Preferences > Automatic Contacts. I have then put a tick in the check box "create address book entries when sending emails" and I have selected the ubuntu one address book (don't want my gmail contacts being clogged up). After sending some emails it doesn't seem to store the addresses in the 'history'.

View 2 Replies View Related

Ubuntu :: Autocomplete Breaks Ability To Type?

Nov 4, 2010

When I type into a box that auto-completes, the window stops letting me type as soon as a suggestion comes up. I have to tab out of the window and come back to it.

This is mildly annoying for browsing on the internet and almost debilitating trying to use programs like Eclipse.

This occurred for me on 10.04, so I upgraded yesterday to 10.10 and the problem still occurs (and more problems!).

View 3 Replies View Related

Ubuntu Networking :: How To Run Ssh Shell Command

May 10, 2011

command1:
ssh pt@192.168.1.101 ls
command2:
ssh pt@192.168.1.101 totem ~/t1

Cannot open display: Run 'totem --help' to see a full list of available command line options. command1 can run, command2 can not run,would you mind to tell me why?

View 2 Replies View Related

Debian Installation :: Have To Manually Track Down All Dependent Packages

Dec 18, 2010

I'm trying to force open office to the 3.2.1 version that is available in backports. When I force the openoffice.org package, and try to install it ( with synaptic ), it complains. I assume this is because the dependencies aren't right. Do I have to manually track down all the dependent packages and force their versions to comply as well?

View 4 Replies View Related

Fedora Installation :: Trying To Install Dependent Packages For Oracle 11g

Feb 24, 2009

I have wasted lot of time in installing rpm packages which are needed for oracle 11g on Fedora 10. Packages dependencies are going in circle. Is there any better to handle this package install and its dependencies? I was using rpm -ivh command. Following are required packages. Tried to down load packages which are not present in /var/log/rpmpkgs.

In some cases I got higher versions of the following packages.
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
gcc-4.1.1-52
gcc-c++-4.1.1-52
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0

View 1 Replies View Related

Hardware :: Is Capacity Dependent On Burn Settings Or DVD Media Itself?

Sep 13, 2010

my brother was trying to burn some dvds, and he asked me about capacity. I told him that they only held 4.7 GB, but he found some that advertised 8 GB and 8.5 GB. Then, I saw the wikipedia article. According to that, there are even 17 GB disks? I knew about Dual Layer but not all this. Is the capacity dependent on the burn settings or the DVD media itself? I have a newer SATA DVD burner, so it should support everything.

View 1 Replies View Related

Ubuntu Networking :: Likewise Open Autocomplete Terminal?

Sep 7, 2010

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.

View 4 Replies View Related

Ubuntu :: Gedit Autocomplete Plugin - How To Edit Library

Oct 27, 2010

We All know Gedit Autocomplete plugin (nagaozen / gedit-plugin-autocomplete 0.10.1). It has a cool feature where it reads words from a "Library". How to Edit that library?

View 2 Replies View Related

Ubuntu :: Shell Command To Monitor Power Use?

Mar 16, 2010

Im trying to find out if my computer is whats got my power bill so high. Im not sure it is, but Id like to know if there is a shell command to monitor my power use.

View 3 Replies View Related

Ubuntu :: Command To Access A Secure Shell?

Aug 20, 2010

What's the command to access a secure shell?

View 2 Replies View Related

Ubuntu :: Opening Script In Shell With One Command?

Aug 22, 2010

How can I open a script in a shell (konsole/terminal) with one command?

View 6 Replies View Related

Ubuntu :: Test Command In Shell Script?

Aug 29, 2010

I was trying to write a script, but for some reason I can't test two variables using -gt:

a=`expr $currentSize + 0`
b=`expr $fileSize + 0`
[$a -gt $b]
this is what I get:
[22234534: not found

what is the problem? It seems like I can't check if a variable is greater than another but only if a variable is greater than a fixed number. Is that so? By the way the variables $fileSize and $currentSize exist and $a and $b have a value.

View 9 Replies View Related

Ubuntu :: Shell Scripting Command Doubt?

Jan 1, 2011

How do i find out if a particular item is a file or a folder through the terminal ls -la gives 'd' before the permissions for every folder and '-' before every fileLike i want to write a script that backup data if it is a folder and deletes if it is a file

View 2 Replies View Related

Ubuntu Servers :: Run A Shell Command As Another User?

Apr 26, 2011

The short version: I have to manage some virtual machines using php shell_exec function, so far I cant do this because apache is run by the user www-data and virtualbox by the user vboxuserFrom what I've read so far, I've thought of 3 possible solutions: 1.- Create a script on my vboxuser that I can call from php to manage the Virtual Machines.2.- Change the apache user from www-data to vboxuser so I can manage the Virtual Machines through php
3.- Reinstall VirtualBox, this time using www-data as my user. I'm not sure if any of these will work and I'm not too sure of which would be the best solutionNow the longer more detailed version:

I have a remote server running Ubuntu 10.04.2, in that server I have set up VirtualBox so I can run several instances of WinXP to perform different tasks. Everything is setup and I can manage the virtual machines through SSH. If I want to run them as a different user than the one that created them (a user that so far only has been used to create the Virtual Machines) I have to do sudo -u vboxuser.Now, I need to create a PHP script to manage these virtual machines (I know about phpVirtualBox, but it's not what I need). If I try to run the virtual machines using shell_exec() from php, I get no answer at all (And I have tested that shell_exec is working on my server).

View 6 Replies View Related

Ubuntu :: Emacs -- Run Shell Command W/o Output?

Jul 12, 2011

I write LaTeX in Emacs and then run a shell script to process the LaTeX code. I used to run a subshell buffer with M-x shell and then execute the script from within there, but this results in a lot of switching between buffers, which seems unnecessary. Then, I found out about executing shell commands with M-! cmd RET, as described here:[URL]The problem with this is that the output from the script splits my screen. It's a nuisance, and I would like to run the script without any output. I've tried appending > /dev/null to the command, but it doesn't work.For example, when from within Emacs I enter M-! followed by

Code:
sh make.sh > /dev/null
it splits my screen so that one portion displays output from the make.sh script. I want it to run silently, and leave my Emacs buffers alone

View 3 Replies View Related

OpenSUSE :: 11.4 - Konsole Tab Autocomplete Feature

Mar 13, 2011

I notice that in 11.4 when I try to autocomplete (Tab Key) to /etc or /etc/init.d/ it auto completes differently than the way it did in other 11.x openSUSE versions. i.e.
Code:
sudo /et
Then hit tab; it auto completes to /etc (space on the end of it)

Also,
Code:
sudo /etc/init.
Then hit tab; it auto completes to /etc/init.d (space on the end of it)

If I simply try:
Code:
/et
Then hit tab; it auto completes properly to /etc/

View 3 Replies View Related

Debian :: Sudo Tab Autocomplete Does Not Work

Jun 10, 2011

When I use sudo, command does not auto-complete with 'tab'. Perhaps its some sort of security measure? I'd like to turn it off, because its just annoying. Older versions of debian didn't have such problem. Using debian_testing_amd64.

View 4 Replies View Related

General :: Autocomplete In MC Not Working In USB Keyboard

May 9, 2011

I've a really strange problem with the auto-complete in midnight commander. I've linux installed in a laptop, and when I do Esc-TAB with the keyboard of the laptop, the autocomplete works. But, if a connect an USB keyboard to the laptop, the autocomplete of the mc doesn't work in the USB keyboard, but stills work in the laptop keyboard.

View 1 Replies View Related

Software :: How To Get Autocomplete Function Back (Apt-Get)

May 27, 2010

I used to run Sidux and every time I wanted a package I could use the auto-complete with tab like I'm used to in BASH. My girlfriend uses Ubuntu and it didn't work there. Now I switched to Debian, and it doesn't work there either. I tried the usual suspects (man bash, man apt, man apt-get, info, --help and google). How I can switch the completion back on?

View 2 Replies View Related

Software :: Dependent Libraries And Header Files In Non System Folder?

Apr 5, 2011

I've a source code of a program and I know that to compile and install that program I've to do:
./configure --prefix=/opt/test
make
make install

Now I want the program to look for dependent libraries and header files first in a non system folder. Now how can i instruct "configure" and "make" script to look for dependencies first in a different folder without editing configure and Makefile. And after these folders are searched for dependencies by the script it can look in system folder. Is there any environment variable that i can supply to "configure" and "make"? Will that work without any conflict? what are these environment variables? And also if I use these environment variables do I need to edit the source code files?

I mean do I need to change these lines
Code:
#include <test1.h> ...
to
Code:
#include "test1.h" ...

If yes then is there any other way to compile them without modifying the source code?

View 2 Replies View Related







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