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


ADVERTISEMENT

Ubuntu :: Quickly Add Swap Space Over Command Line?

Mar 7, 2010

Working with a scientific code that uses more RAM+swap then i generally have (system has 12GB RAM + 24GB swap, but this thing is crazy)It's kind of a one use problem, so I'm not looking to get more RAM, is there a quick way to add more swap space (not on the swap partition, because i have that set at 24GB) so that my system can use it immediately?I don't want to drive up to the office tonight to get this fixed, so a command line setup would work best.

View 7 Replies View Related

Debian Configuration :: How To Remove 150MB Of Packages Related To Package?

Aug 13, 2011

VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.

View 4 Replies View Related

OpenSUSE :: Possible To Remove Multiple Packages Listed In A Text File?

Sep 15, 2011

Is it possible to remove multiple packages listed in a text file? Similar to "cat orphan.txt | zypper rm" or "zypper rm <orphan.txt." Neither worked.

View 8 Replies View Related

Ubuntu Installation :: 10.04 - Command Line (No Packages To Install)

May 6, 2010

Just installed Lucid from CD ROM. I have 2 HDDs. When the install screen came to ask about partitions, it didn't seem to want me to install it onto the same HDD as my XP/Ubuntu 9.10 partitions, so I installed it onto my other HDD. After it finished, I restarted and it appeared on GRUB. It takes me to a command line where it asks me for my desktop login and then my password.

It allows me to type in my login, but the password isn't so easy. It won't let me type it in. It's as if the keyboard stops working apart from the return key. I have no understanding of command line. As soon as I'd entered my password, it went on to tell me that there were no packages to install, and then stayed on command line as if I'd just opened a terminal. How would I get it to take me to my desktop?

View 3 Replies View Related

Ubuntu Installation :: Installing Packages Via Command Line?

Sep 1, 2011

i am trying to install upgrades for my ubuntu server via webmin, and i put in the command apt-get install imagemagick and when i do that i see the output and it asks me if i want to install, is there a command that will automatically force the installation so that way i dont have to hit yes or Y?

View 2 Replies View Related

Ubuntu :: Find Multiple Files In The Command Line?

Mar 2, 2010

command line, I have a server for work that I ssh into and I need to be able to find multiple files (they have the leading text just the date identifier changes) and then zip the files (with bzip) them and then finally scp(Secure copy) them to another server.

These files are always in the same directory and this is a daily task and just want to make into a script that I run once I am logged into the remote server.

View 4 Replies View Related

Ubuntu :: Use Multiple Cut Command To Print Output On A Line?

Apr 27, 2010

how to use multiple linux cut comman to display on same line ?

e.g ls -il | cut -f6 d:
ls - il cut -f9 -d:

The linux script output is

filename
123

How to use cut to display on same line ?

View 1 Replies View Related

Ubuntu :: Move Multiple Files Via Command Line?

Sep 15, 2010

I liked the idea of the "cosmos" screensaver/desktop, but wanted to add my own pictures to the application. I navigated to /usr/share/backgrounds/cosmos and tried to drag and drop. I quickly found that I did not have permission to do this.

I googled my problem and found some command line tutorials telling me to sudo cp. My problem is that I have about 30 pics that I want to move in there, and I don't think I can just move the directory, they have to be in that folder as the pictures themselves.

I don't really feel like typing the cp line multiple times with multiple randomly named image files.

Is there a way to have the command line cp all of my files from one directory to another?

View 4 Replies View Related

General :: Multiple Lines At The Command Line?

Feb 22, 2011

I've seen a few tutorials that have commands and parameters on multiple line, like the one below:

Code:
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

I can copy and paste this in Putty, but what if I want to manually type it? If I press return, the first line gets processed, so how do I insert a new line?

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

Debian :: Multiple Commands Displayed On A Command Line?

May 21, 2011

I am trying to get 2 things to operate on the same line, for example echo Current Version: [cat /file/ver.txt] is there a way to do this?

View 1 Replies View Related

General :: Command-line On Multiple Monitors, ScreenWM?

Mar 26, 2010

I have an older computer with Arch installed that I want to use to accomplish most of my daily tasks using the command-line (Mailgrab, IRSSI, mpg123, Elinks, Vi, etc). I realize that there are many lightweight WMs out there that support multiple monitors, but it'd be nice if I could just use Screen or something to that effect to distribute my windows across two or three displays.

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 :: Command Line - Find And Replace Text Within Multiple Files?

Aug 28, 2010

I'm pretty sure this is doable from the command line, but my CLI skills have degraded a lot since my pre-Y2K admin days. The goal is to search all the files in the directory for a very long string of text and replace it with another string of text. The text being searched for is my Google Adsense code (which will be stripped from my website) and it will be replaced with a placeholder so I can easily tack something else in there in the future.

Seeing how I have that long snip of code on about 100 pages, automating the process would make life easier.
If I was searching for a single word, I can see ways to do this.
If I paste the code I'm searching for into a text file, is there a way to:
find (contents of oldstring.txt) and replace with (contents of newstring.txt)?

View 9 Replies View Related

General :: Inserting Multiple Files To Mysql On Command Line?

Mar 5, 2011

I am using ubuntu and mysql.I have a list of many .sql files, like 1.sql, 2.sql, 3.sql ... 100000.sqlI need to insert them into the database mysql mydb < *.sqlGives me: -bash: *.sql: ambiguous redirect

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

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

OpenSUSE :: Count Lines In Multiple Text Files From Command Line?

Apr 27, 2010

I want to (from the command line) be able to counte lines in a bunch of files of a specific type in a folder and all its sub-folders. How would I do this?

View 1 Replies View Related

General :: How To Program The Command Line To Run A Piece Of Code Multiple Time

Dec 4, 2010

So, I usually write/find a test case generator for any code that I write. This type of code generally leads to some file output. To be thorough, I try and generate many different files to test my code on.

Say the command is like this:

Is there a way to automate this for many different values of the parameters and generate many different files?

I tried:

I wasn't able to use the $i in the filename, and without it the command gave me no errors, but did nothing else either. I know the Unix command line is very powerful, and I have a feeling that this should be possible, but I just don't know how to do it.

View 3 Replies View Related

General :: Making Multiple Duplicate File Copies Using Cp On Command Line?

Jul 21, 2011

I want to take a graphics file and make 10 copies of it to the same directory, each with 001, 002, or some such designation at the end of each file name so they have discrete files names. Is this possible using cp?

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

Ubuntu :: Uninstalled Some Packages Related To The Clock?

Aug 13, 2011

Somehow I lost the clock in the panel; maybe I uninstalled some packages related to the clock.

Anyone know which package I should install?

View 5 Replies View Related

Debian :: How To Uninstall Java Related Packages

Jan 26, 2011

I just blindly install 'java' in GNU/Linux Debian SID -- so I could use it as a plugin for iceweasel -- Unfortunately, things didn't work as expected. I was used to Debian's APT to take care of things for me as it had done for more years than I could remember. (Being a desktop user/programmer and a beginner system network admin). I want a clean install of java plugin for iceweasel. So I want to remove completely all java related packages --

How do I know which is which and if they are safe to remove without affecting any other part of the system? Now, to install -- what do I need to install in order for iceweasel to have the Java plugin and let java work as it should? I prefer from the Debian package. But if it doesn't work, I'll accept JRE from the java site and install them myself.

View 8 Replies View Related

Ubuntu :: Remove All Folders Related To Mono?

Sep 17, 2010

I installed Mono 2.4 and I am struggling myself to remove all folders related to mono.. I didn't install from Synaptic so it's not just 'apt-get autoremove mono', I used the tarball.. how to remove all files from the installation?

View 3 Replies View Related

Ubuntu :: Command Line Alternative For "Safely Remove Drive"

Aug 9, 2011

Ubuntu Server 10.04 LTS

Is there a command line alternative to clicking on "Safely Remove Drive" in nautilus?

When I click on "Safely Remove Drive" in nautilus, the USB HDD attached (WD Elements) vanishes from the nautilus "places" list, the drive spins down, and the light on the drive dims to indicate that it is powered down.

I have tried the "umount" command as well as the "eject" command from the terminal, but they both only seem to unmount the drive, as it is still shown in the nautilus "places" list and the light on the drive stays bright.

View 4 Replies View Related

Software :: General Protection In /var/log/messages - Find Related Source Line?

Nov 11, 2010

SuSE SLES10, 32 bit. I have an app which crashes with general protection often.

There is message every time in /var/log/messages:
2010-10-22T08:49:49.350476+02:00 HostName kernel: ProgramName[28023] general protection rip:404575 rsp:7fffc5656270 error:0

How do I establish relation between this message and source code? Error was observed on another host where some tests were running, now license is expired and I can't get more info nor core dump. I have to investigate what I have and try to reproduce it locally. Unfortunately original binary was stripped.Now I prepared non-stripped version. Does it has the same addresses for function as original? Is it possible to use symbol information for finding where RIP points to?

View 2 Replies View Related

Ubuntu Installation :: Allows To Install/remove Software And To Perform Other Package Management Related Tasks?

Jul 14, 2011

I added a code into terminal and restarted, then I tried to install Java and this came up.'There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.'

PHP Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate

[code]....

View 1 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related







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