Debian :: Remove All Of Kde In One Command?

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


ADVERTISEMENT

Ubuntu :: Remove A Program By The Command ?

Mar 19, 2011

How to remove a program by the command

Code:
./configure
make
sudo make install
installed?

View 1 Replies View Related

General :: Downgrade And Remove Rpms In The Same Command?

Mar 22, 2011

I have a problem where in order to satisfy RPM dependencies, I need to remove packages and downgrade them in the same command. Imagine the following situation Before

A v2.0 depends on B,C
B v2.0 depends on C > 1.0
C v1.1

After

A v1.0 depends on C
C v 1.0

If I issue a

$ rpm -Uvh --oldpackage Av1.0.rpm Cv1.0.rpm

it will fail with "B depends on C > 1.0" If I issue a

$ rpm -e B

it will fail with "A requires B" so I appear to be in a catch-22. The obvious solution is to use a "--nodeps" and remove B before doing the downgrade, but I am creating these commands programmatically so I was hoping to use dependency resolution as a sanity check against an incorrect script. Is there any way to perform this downgrade without breaking the RPM dependency sanity checks by force?

View 2 Replies View Related

Ubuntu :: Command To Remove Spaces From Filenames?

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

General :: Bash Command To Remove Spaces

Sep 14, 2010

I am reading the output of /proc/acpi/thermal_zone/ATF0/temperature in a program to read my CPU temp. I am using cat like the following:

Code:
#cat /proc/acpi/thermal_zone/ATF0/temperature
temperature: 49 C

I basically want to get rid of the spaces in between temperature and the actual temperature. Is there a command I can pipe the cat output to, to remove the spaces. I have seen suggestions for sed, or tr, but for some reason I cannot get them to work properly.

View 14 Replies View Related

General :: Remove Words In A File Using Sed Or Any Other Command?

Nov 30, 2009

i want to remove words "Max" and "constrained" in a file given below:

Max 0.003745 constrained
Max 0.004549 constrained
Max 0.001689 constrained

[code]....

and further want to replace "Max" by line number so that i can plot the resulting file. i searched in forum, but couldn't do what i wanted to do. e.g. i used

1)grep command

grep -v "Max" inputfile >outputfile

deletes whole line,and hence whole text.

2) sed command

cat inputfile |sed 's/ .{1,12} //g' >outputfile

gives output

0.003745constrained
0.004549constrained
0.001689constrained

[code]....

View 4 Replies View Related

General :: Pr Command How To Remove Page Numbering

Mar 26, 2010

When using the pr command for formatting simple text files for printing, page numbers are included in the header by default. I figured out how to remove the date from the header (pr -D ""), and how to remove the title (pr -h ""), but for the life of me I can't figure out how to remove page numbering from the header. Anybody know how/if this can be accomplished?

View 1 Replies View Related

General :: Route Command - Remove Iapddress

Jan 24, 2011

I am using this command for blocking some ipaddress. but now i want to remove iapddress. when i try # route delete 64.126.45.122 SIOCDELRT: No such process

View 1 Replies View Related

Fedora :: Yum - Command To Remove No Longer Needed Dependencies?

Jan 27, 2010

I can't find a Yum command to clean up no longer needed dependencies, you know similar to apt-get autoremove. Or does yum do this with the erase or remove command? btw: yum-clean-all just flushes out the cache right?

View 2 Replies View Related

Ubuntu :: Command Trigger Safely Remove Drive?

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

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 View Related

Ubuntu :: The Terminal Command For 'safely Remove Drive'

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

General :: Script Or Command To Find And Remove All KDE Traces From /usr/bin/?

May 2, 2011

1. Find everything that belongs to KDE in /usr/bin/

2. Show me what it is

3. (Give me an option to) delete it

A note about what did not remove mentioned;

Code:

apt-get remove kde --purge
apt-get autoremove

View 1 Replies View Related

Programming :: Unix Command To Remove White Spaces?

Sep 18, 2010

Im using this unix command(in a php file) to remove a certain string and then remove the whitespace left by that string. Unofrtunately in many cases, the files get completely erased. Is there a workaround?

Code

<?php
$dir = "./";
$rmcode = `find $dir -name "*.php"

[cod3e]....

View 14 Replies View Related

CentOS 5 :: Remove Temporary Files Through Command Line?

Jan 16, 2010

Where exactly are the temporary files stored, in /tmp or /var/tmp. How can i remove temporary files through command line? What is the difference between these two directories?

View 2 Replies View Related

CentOS 5 :: Is It Safe To Run Command To Remove All I386 Packages

Apr 21, 2011

I have a centos server x86_64 arch installed - i am getting some issues where i want to update rpms but because there is a equivliant i386 package installed i get dependency errors.Is it safe to run this command to remove all i386 packages - will my system still boot after this yum remove *.i?86

View 1 Replies View Related

Fedora Hardware :: Remove Via The Command Line Prior To Actually Starting?

Feb 17, 2010

Yesterday i finally got around to installing my graphics card (NVIDIA GeForce 8400M CS) on fedora 12 by using the command yum install kmod-nvidia the terminal then told me that it installed correctly so i rebooted my system. Now when i boot up into fedora, it loads and when the sign in window is about to appear instead my screen shows random colors all over the place. I am hoping someone can tell me how to remove this via the command line prior to actually starting fedora.

View 2 Replies View Related

Fedora :: Remove An Application From Gnome Startup Using Command Line?

May 27, 2011

I've just added an application to load on startup in gnome.At first gnome loads properly,but after few seconds that application starts automatically and I can see its icon on taskbar , then gnome freezes and I can't do anything in gui.

How I can remove that application from starup of gnome using command line?

View 1 Replies View Related

OpenSUSE Install :: Command To Use To Remove Orphaned Packages Or Units?

Mar 8, 2011

What command should I use to remove orphaned packages or units?

View 3 Replies View Related

Ubuntu :: Remove All Foldernames Which Contains Spaces In Desktop With A Single Command?

Jun 8, 2011

How to remove all foldernames which contains spaces in Desktop with a single command?

View 7 Replies View Related

Programming :: Bash Command To Remove All Files Within A Specific Folder?

Oct 19, 2010

I want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:

useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf

The command as it appears is:

find . -type f -exec rm -rf {} ;

how to delete only the files contained within the folder called "folder" for example?

View 4 Replies View Related

General :: Bash Command Needed To Remove Failed Install?

May 11, 2010

An app failed to load properly and now i'm stuck in a sequence I don;t understand the solution for.

sudo apt-get autoremove

dpkg was interupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

View 1 Replies View Related

General :: Del Command To Remove Files To Directory Instead Of Completely Deleting Them?

Dec 2, 2010

how to write a script so that when I use the 'del' command it removes/sends the files / folders to a I specify for example 'dustbin'

View 1 Replies View Related

CentOS 5 :: Command To Find And Remove Specific Letters From A File?

Nov 4, 2009

I have a file with tens of thousands of lines. I need to remove specific letters eg eggs, from every line that has the letters in it. Is there a command which can help me do that easily?

View 4 Replies View Related

Ubuntu :: Quickly Remove Multiple Related Packages From Command Line?

Feb 15, 2011

Is there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.

View 3 Replies View Related

Ubuntu :: Single Command That Will Remove All 'other'permissions From All Files And Directories Under /home?

Sep 10, 2010

What is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.

View 1 Replies View Related

Fedora :: Remove The Sudo Command Software Packages Without Damaging My System?

Apr 2, 2010

Remove the sudo command software packages without damaging my system?

View 9 Replies View Related

General :: Shell Script Or Command To Remove PDF File From Large Logs?

Jul 13, 2011

I need to remove a large binary file(PDF file) from a large log file which is generated daily.This is seriously hogging space on our servers.I need to remove the large PDF from the logs to make the logs smaller and manageable

I need to take out the texts (or binary file) between the strings

<my:PDF> and </my:PDF>
<applicationForm> and </applicationForm>
<image> and </image>
<extractedSignature> and </extractedSignature>

I am not sure whether sed utility can do this, these are large files and need to be pruned .I am not seeking logrotation advice just a script or command that can strip these large logs of texts between the characters above . I am not sure how to do this.These files are rather large.I am not sure how to achieve this with sed , tail, head , tr or any other facility .

View 2 Replies View Related

General :: Close/remove Message Queues Without Software Or Mq_close / Mq_unlink Command?

Jan 17, 2011

i am working on a project that uses message queues. i am able to successfully create them and they are working fine. now the problem is to close/remove message queues without software or mq_close / mq_unlink command. earlier when i worked on rh9, there is ipcs utility. we use ipcs to see all the existing message queues and ipcrm to remove them. however ipcs is not working for message queues in RHEL 5.3. Neither ipcs shows the exisiting message queues and neither we are able to use ipcrm. Plz guide to close/remove the queues with ipcs or any other command/utility from shell itself.

View 1 Replies View Related

Debian Configuration :: Remove 'debian-sys-maint' Account?

Mar 8, 2010

Does anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?

[Code]...

View 2 Replies View Related







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