Ubuntu Installation :: Console Command To Remove All <expression>
Feb 11, 2010
My console fu is a bit lacking, as it seems that I can't figure out how to uninstall all packages containing a certain expression.
I tried: apt-get remove *expression*
View 1 Replies
ADVERTISEMENT
May 12, 2010
I am trying to create a regular expression in perl to remove all the delimiters (|) from a file. I was also thinking might I be able to use tr?
View 11 Replies
View Related
Oct 6, 2010
I want to translate this .fdi clause
Quote:
<match key="info.product" string="PS/2 Generic Mouse">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>[code].....
into its Xorg equivalent. What does it look like?
View 1 Replies
View Related
Feb 20, 2010
sed -i 's/EXTRAVERSION =/EXTRAVERSION = -$(date +%D)/g' file would search in the file, file for the string: 'EXTRAVERSION =', and change every instance it finds to 'EXTRAVERSION = -02/20/2010'. BUT IT DOESN'T.It changes it to 'EXTRAVERSION = $(date +%D)', literally. I've tried single and double quotes in almost every possible configuration. Is there any way to tell sed that one desires the command output, not the literal text?
View 7 Replies
View Related
Feb 3, 2011
I am trying the execute the following
#!/usr/bin/python
import os
os.system("sed -e 's#^(.*) (.*)0http://12#' t2.txt > t3.txt")
os.system("cat t3.txt | sort | uniq -c | sort -rn | head > t4.txt")
But I receive the following error message.
sed: -e expression #1, char 27: unterminated `s' command
View 1 Replies
View Related
Aug 12, 2010
I can't update my software in fedora 13 from console with yum command or from kpackagekit
Its always show error :
Quote:
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
[Code].....
View 1 Replies
View Related
Jan 21, 2011
I want to rename some files in one directory and found the command 'rename' most appropriate.
Changing the file extension is easy since there are lot of examples for this.
But now I want to rename my files like this:
'somePrefix_blablabla.ext' --> '0_blablabla.ext'
'somePrefix_blablablablabla.ext' --> '0_blablablablabla.ext'
I DON'T want an incrementation, just the leading prefix '0_'
correct perl expression syntax for this?
View 2 Replies
View Related
Sep 7, 2010
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1
View 1 Replies
View Related
Apr 21, 2010
I have searched and searched in regards to this documented 'special expression '-l STRING' for the 'test' command, and to no avail, have I found out why it does not work on my system.
The example always given is:
Code:
test -l abc -gt 1 && echo yes
And the returned result is:
Code:
bash: test: -l: unary operator expected
The documention is usually as follows:
Numeric tests
Numeric relationals. The arguments must be entirely numeric (possibly negative), or the special expression `-l STRING', which evaluates to the length of STRING. Then examples are given, including the one I provided above. Does anyone else have this issue of getting an error when trying this special expression of 'l STRING' ???
View 4 Replies
View Related
Sep 8, 2011
fedora logo animation splashscreen that appeared when the Live CD was booting? Now when I boot into my Fedora 15 I get an ugly verbose console-like output and am not interested in seeing what's happening behind the scenes!
View 3 Replies
View Related
May 6, 2011
I remember there is a command in the console to test the camera, without having to install any chat clients.
View 4 Replies
View Related
Jul 20, 2010
I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time display in console vim, if so how?
View 1 Replies
View Related
Nov 12, 2010
I'm aware I can do !commands but I'd like to somehow integrate a shell in vim. Or could I use screen and split the screen so that vim takes up say, half of the screen?
View 4 Replies
View Related
Apr 14, 2009
I need to start a xen domain from console with xm command but the 'new' sub command is missing?
[root@sambie xen]# xm new CENTOS-5.3-PDC
Error: Sub Command new not found!
View 1 Replies
View Related
Nov 12, 2009
I installed CLAM AV and also the GUI (CLAMTK).
1). What is the console command to scan all of Fedora, not just a specific directory, but the entire computer?
2). Even tho I have consulted the CLAM AV site on how to update to the latest virus signature database, I don't either understand what they are telling me to do, or I am not "getting" how to do it.
View 11 Replies
View Related
Oct 13, 2010
when I use e. g. cat file.txt | grep --color=tty "pattern" I get the pattern I search highlighted. When I want some more context around each hit, grep has the -A, -B and -C parameters. However, I want to display the whole file (or whatever command output) and highlight a certain pattern. Does such a highlight command or tool exist?
View 5 Replies
View Related
Jun 14, 2011
It used to be with (old) grub you could hit a function key and add a runlevel option to boot a console, but I don't know how to do this here, wanting not to edit the grub config file, as seems the only apparent option: I'm trying to boot into SimplyMepis where there is no rescue menu option, so need the prompt?
View 4 Replies
View Related
Jun 4, 2011
This is a problem regarding VxWorks. Sometimes i am not able to type anything in the command prompt of vxWorks console.
-> if i type anything here, it takes it as an enter key>
-> Why is this behavior? It doesn happen always. Any bug in vxWorks?
View 3 Replies
View Related
May 25, 2010
Normally one can start the Jboss with
Code:
./run.sh -c server-name
But in this way the command console will keep hang. Now I want to write a script which calls u this command and return back to the command console. Here is what I wrote but it doesn't return back to the command console:
Code:
#!/bin/sh
MSGBP_HOME="/opt/jboss/MSGBP"
case "$1" in
start)
[code]...
View 1 Replies
View Related
Dec 6, 2010
I've configured my debian lenny to load first the command line, then if i want I load the X server, but doing this to that way I don't have the suspend/hibernate functions from the gnome menu, so, my question is:
what is the command to suspend / hibernate my system at any moment I decide?
View 1 Replies
View Related
Aug 13, 2010
I am trying to get my standard PS/2 Wheel mouse working on the Console command line, and seem to be having major problems getting it to work.
For the record, I am NOT talking about X, Xterm's or any Graphical Interface, my mouse wheel works fine in these environments.
I am purely concerned with getting the mouse wheel to work on the Console.
After many hours of reading forum posts about getting the wheel to work on the Console, this is what I have tried to date:
1. I have downloaded and installed every version of gpm I could find in the hope that one would utilise the wheel. (No Success).
2. I compiled and installed the latest version of gpm stable (1.20.6) to see if the wheel would work with it. (No Success).
3. I have tried setting up gpm-1.20.6 as a repeater to X, using every string I could find (msc, ms3, pnp .. etc), as well as every /dev entry in xorg.conf /dev/mouse, /dev/input/mice/, dev/gpmdata/, /dev/psaux ... etc). (No Success).
4. Created directories and configured a gpm.conf to both /etc/ and /etc/conf.d/ in the hope that gpm was looking for them there (read that in one forum or another). (No Success).
5. I then tried to find mouse wheel patches for gpm, and then downloaded the relevant version source gpm.***.tar.gz to go with these patches. Nearly every single one of the patches failed to apply (using patch -p1 >), except for one version I tried that did apply ... but then failed to make (stating that the source had a different signedness or some such thing) ??? (No Success).
6. I looked into IMwheel, but that seemed to be a purely X program that was a lazy way of writing ZAxisMapping in xorg.conf. (No Success).
So now I am stumped ... Does anyone know if if is possible to get:
a). A Wheel Mouse Patch for a recent version of gpm (1.20.6) that will actually apply, and then make?
b). A prepackaged recent version of gpm-1.20.6.tgz that has been patched to enable the wheel that I can use?
c). Any other information that may enable the mouse wheel to start working on the console.
View 6 Replies
View Related
Apr 7, 2010
I'm using linux suse 9.3. Recently i try to run execution files but it shows an error try running with the option "-console" or "-silent" When I tried with the -console option, I got the error - The wizard cannot continue because of the following error: Invalid command line option: console is not supported (1001) (403)
[Code]...
View 1 Replies
View Related
May 6, 2010
I have a Asus EEE PC 1005P which I installed a Command-line system on using the Alternate Installer CD of Ubuntu Lucid Lynx. Altough I think this is a general linux and grub2 question. I do not have (or want) the X Window System installed. I want to change my console screen resolution (not inside X) to 1024x600. But it isn't reported when I use vbeinfo inside grub:
grub> vbeinfo
VBE info: version: 3.0 OEM software rev: 1.0
total memory: 8128 KiB
List of compatible video modes:
Legend: P=Packed pixel, D=Direct color, mask/pos=R/G/B/reserved
0x112: 640 x 480 x 32 Direct, mask: 8/8/8/8 pos: 16/8/0/24
[Code]...
Does it mean I have the driver? how to set it to 1024 x 600 in grub2?
View 1 Replies
View Related
Mar 17, 2011
I'm using fedora 12 with sun virtualbox and I want to install texinfo 4.9 from texinfo-4.9.tar.bz2
-I extracted the archive in a folder..........ok
-In a terminal: ./configure......................ok
-In the terminal: make...........................error
I am getting:
info.c: In function 'main':
info.c:161: error: expected expression before '/' token
info.c:327: error: expected expression before '/' token
info.c:327: error: too few arguments to function 'info_add_path' ...
and a lot more. For some personnal reasons I must install it this way, I can't upgrade fedora, gcc...
View 14 Replies
View Related
Mar 19, 2011
How to remove a program by the command
Code:
./configure
make
sudo make install
installed?
View 1 Replies
View Related
Aug 18, 2010
I have just switched to banshee as my media player and imported my films and music. Problem is, the video list is quite hard to read because all the video files have spaces in their names which are replaced by % signs, numbers and letters. I'm wondering if there is a command I can use in the directory that will automatically remove all the spaces from the filenames or better still, replace the spaces with hyphens or underscores?
View 6 Replies
View Related
Jan 29, 2010
How do I remove all of kde in one command except for the kde packages that I have installed before doing apt-get install kde?
View 14 Replies
View Related
Sep 8, 2010
How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.
View 6 Replies
View Related
Jan 31, 2010
I wanted to know command to triggered "Safely Remove Drive".So I could implement it on Hardy 8.04
http://ubuntuforums.org/showthread.p...88#post8674988
View 6 Replies
View Related
Mar 6, 2011
If I click right-click on a drive in nautlius and do 'safely remove drive', the external hard-drive stops spinning.
What is the terminal equivalent? If I do 'pumount' it is unmounted, but the hard-drive continues spinning.
View 3 Replies
View Related