Software :: Send A List Of Items To Apt-get?

Jun 19, 2009

Is it possible to send a list of items to apt-get for example,

cat mylist.txt

A
B
C

and pipe it to apt-get remove?

View 3 Replies


ADVERTISEMENT

Ubuntu Installation :: Get The Big List Of Installable Items?

Feb 24, 2011

When I installed Ubuntu server, I was shown a nice list of services I could add on if required. When I installed Ubuntu through the netboot network installer, I was shown a even bigger list. Now that I have the desktop, how do I see it again? Do they each have a name? I remember seeing LAMP server, DNS server, some cloud hosting services etc ..

View 2 Replies View Related

Debian Programming :: Return How Many Items Occurs In List (Python)

Jan 29, 2014

I going through the Python course on Codeacademy. I have some trouble understanding what I'm doing wrong. This is my code below:

Code: Select alldef count(sequence, item):
    total = 0
    for x in sequence:
        return x
        if x in sequence:
            total += 1
    return total
print count([1,2,1,1], 1 )

The code gives me an error: "Oops, try again. Your function fails on count([1],7). It returns 1 when it should return 0."

It should be outputting 3 because 1 occurs 3 times in the list.

View 7 Replies View Related

Fedora :: Modify The Applications Menu List To Add Or Delete Items?

Sep 19, 2010

How do I modify the Applications menu list to add or delete items? I have tried to right click but with no success.

View 6 Replies View Related

OpenSUSE :: Recently Installed Items Are Not Showing At Add To Panel Item List

Nov 27, 2010

Recently I have installed DockbarX and Cardapio. After installation they are supposed to be found in the Add to Panel items, but both of them are not there.I can run them directly without any problem. Is there anything else I should do manually? I have tried pkill gnome-panel to restart the panel as well.

View 9 Replies View Related

Ubuntu Multimedia :: Ipod Shuffle 2nd Generation And Rythmbox After Upgrading Can't List The Items?

Oct 21, 2010

I own an ipod shuffle and in ubuntu 10.04 worked perfectly, but after upgrading (I did a fresh install) to ubuntu 10.10 rythmbox recognizes the ipod, but it can't list the items and if I try to reload the list, rhythmbox closes irremediably.

View 2 Replies View Related

CentOS 5 :: Whenever Send Emails To List / 511 511 Sorry / No Mailbox Here By That Name

Oct 8, 2009

Howdy. I'm trying to get mailman up and running. I have CentOS 5 (hiab) and qmail. I did yum install mailman and that went fine, I set up apache and can see the mailman pages via htttp.The issue now is with sending mail, whenever I send emails to the list I get: 511 511 sorry, no mailbox here by that name

So I'm assuming my alias files/.qmail fies are in the wrong spot. The contents of my .qmail are (respective to the -admin, -bounces, -etc)

View 3 Replies View Related

General :: Send Email To A List Of People At A Certain Interval?

Jan 16, 2010

I want to send email to a list of people at a certain interval without getting them detected as spam.

View 2 Replies View Related

General :: Using The Expect And Send To Execute List Of Commands Inside A File?

Feb 2, 2011

i am working on some kind of PBX and i have list of telephone numbers inside a file, i have to insert these numbers into the correct command and then telnet to a remote server and execute these commands. i can read the telephone numbers and insert them into the command with no problem, but when i try to insert these commands into the send i face problem. here is the basic code

#!/bin/bash
read msisdn < input
string="ZZZZ:MSISDN=$msisdn;"

[code]....

i can make external loop inside the Bash which read the input file and issue the command and then telnet and execute, but this will make the script connects and disconnects again for each line which cause high load on that server and hardwar problem. i am wondering if there is an option inside the expect interperter which makes the send read directly from a file... somthing like this:

expect "<"
send "input-filename
"
expect "<"
expect eof

View 1 Replies View Related

Security :: Script To Monitor Sizes Of List Of Files And Send Alert If Size Changes?

Mar 28, 2011

I am looking for a utility that would do the following:1. Be run manually on a list of files whose sizes should not change, to get a control file containing the sizes of each file.2. Subsequent manual runs would report any changes in size of any of the files in the list, and allow option to accept the new sizes.3. Be run as a cron job to check for changes in the file sizes and send an email alert if a change has occurred since the last time it was run.The purpose is to detect possible hacks of key files on a website. It would not include files expected to change, but just those that should not change. It would be run manually a few times to get the control list one wants to monitor.

View 3 Replies View Related

Server :: Allow Unsubscribed Email Address To Send Email To Mailman List?

Jul 1, 2010

is there a way to allow unsubscribed email address to send emails to mailman list without having to manually set a filter for that email address?

View 1 Replies View Related

Fedora :: Sendmail - Setup To Send / Send Emails With It?

Aug 17, 2011

I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.

I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.

View 14 Replies View Related

General :: Send The Output Of Send Command To A File?

Jan 20, 2011

in the middle of script, i need to send the output of (send command on line 8) to a file

#!/usr/bin/expect
spawn telnet 172.20.64.133
expect "ENTER USERNAM <"

[cod]....

i treid the below on line 8 :

1- send "show command;

" > logfile.txt : gives an error extra character after the "

2- logsave logfile.txt 'send "show command;

" ': error invalid command

3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only

4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?

View 2 Replies View Related

Server :: How Long Normaly Keep The Mail Server Send Mails On The Outbox Queue And Try To Send

Apr 8, 2010

How long normaly keep the mail server send mails on the outbox queue and try to send? What about hotmail, gmx and gmail mail server?

View 1 Replies View Related

Ubuntu Installation :: E - Type 'usage:' Is Not Known On Line 54 In Source List /etc/apt/sources.list

Jan 23, 2010

Ive seen some fixes for this but they all seem to be specific to the particular user's sources.list . . . ..

Code:

Here is Line 54

Code:

View 2 Replies View Related

Ubuntu Installation :: E: Type Sudo Is Not Known On Line 55 In Source List /etc/apt/sources.list

Mar 12, 2010

I tried to change the basic toolbar to cairo dock,a tutorial that i found told me to write in terminal gksu gedit /etc/apt/sources.list.d/winehq.listso i write it and a window opened,i couled not find the text that told me(the tutorial i mean)so i closed the window,after that i keep taiking the same error

E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

now whene i got in the winehq.list the text has gone and i take this error in update manager,my software center doesn't work and my terminal whenever i type sudo commands says

E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list

View 9 Replies View Related

Ubuntu :: E - Malformed Line 57 In Source List /etc/apt/sources.list - Dist Parse

Jun 25, 2010

I get this error message: E: Malformed line 57 in source list /etc/apt/sources.list (dist parse)

I am pretty new to Ubuntu and dont really understand computer

Here is the sources list (??) as well

View 3 Replies View Related

Ubuntu :: Error: E: Type 'sudo' Is Not Known On Line 52 In Source List /etc/apt/sources.list

May 4, 2011

don't know much, but when I tried to update I get this error:

E: Type 'sudo' is not known on line 52 in source list /etc/apt/sources.list E: The list of sources could not be read.

View 2 Replies View Related

General :: Bash - Shell Utils: Convert A List Of Hex To List Of Decimals?

Dec 27, 2010

How can I convert a file with a lot hex numbers into the decimal?

Example: file1
0x59999
0x5acdc
0xffeff

I want to start $ cat file1 | util | cat >file2 and get file2 with smth like

[Code]...

View 3 Replies View Related

Ubuntu :: Clean Up Bootloader Menu List - Remove Ones Don't Want To Show On List

Jun 17, 2010

All I want is for my bootloader to show "Ubuntu" & "Windows XP" which are the only 2 OS's I have installed (dual booting). At the moment it shows Windows XP, Ubuntu, Ubuntu recovery mode & like 2 more.. which are also Ubuntu & recovery mode. I've never selected the other Ubuntu ones, only the first one. So, how can I remove the ones I don't want to show on the list.

View 2 Replies View Related

Programming :: List 4 Names From Users List And Output Them To Fbusers In Numbered Ascending Order?

Feb 2, 2010

How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?

View 4 Replies View Related

Ubuntu :: Malformed Line 59 In Source List Etc/apt/sources.list?

Sep 1, 2011

There is a problem with my source list (apparently) I'm running 11.04 if that helps.When I try to use apt-get install update for example, I get: "Malformed line 59 in source list etc/apt/sources.list"The same error occurs when trying to access synaptic package manager, it tells me there is a malformed line and the list of sources cannot be read.This error prevents me from apt-getting anything, updating and i suspect it is affecting the software center too.

View 6 Replies View Related

Programming :: Downloading A List Of Files From A Remote Server Using A List?

Feb 10, 2009

I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.

#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget

[code].....

View 7 Replies View Related

Fedora :: Repository List And List Of Installed Applications?

Feb 17, 2010

I understand there is a file that stores the repositories' information, but I can't find it!Is there a way I can create a list of what applications have been installed?The idea is that if I am running a backup, finding a way to save the repository list and applications installed so if I am upgrading, or fixing a borked system by re-installing Fedora, I could copy the repo list back, and run the applications list like ode:yum install <cat apps.txt?> and get all of the applications I've installed via Yum without having to remember them all?Is there anything else, outside of /home, I should look at backing up? SELinux settings?

View 6 Replies View Related

Networking :: Samba Read List And Write List

Mar 12, 2011

I am working for a community where several people are engaged for 4 different development projects. we are planning to have a samba server to store our data.Now the problem is that I have created a share in which @groupa, @groupb and @groupc are allowed to read and write. But three of the members of @groupb are only allowed to for read permission only.

View 1 Replies View Related

General :: List The 'chkconfig --list' In Alphabetical Order?

Jan 7, 2010

list the 'chkconfig --list' in alphabetical order

View 3 Replies View Related

General :: Command To List The List Of Folders / Within The Folder

Jan 28, 2010

one command to list the list of folders/ within the folder.

View 4 Replies View Related

Ubuntu :: To Many Items At Boot Up?

Sep 9, 2010

I have asked this question several times but I think that I am not asking it correctly. I have umbutu 9.04 and Windows 7.0 on my C: drive. When I start my machine I have approximately 9 or 10 items on my boot list and I would like to have 2.It has been suggested that I determine what version of grub I am using and I am using /boot/vmlinuz-2.6.28-19 generic. I have no idea what that means.It has been suggested that I install some various items of software and I am sure that it would solve my problem but to me it would be like looking down a cows throat. Please, don't get me wrong, I really appreciate the input but its like when you go to the doctor you kind of wonder "just what the heck is he talking about". Maybe someone could just tell me how to accomplish what I want to do so I can understand!My daughter uses this machine and she goes to places that I didn't know I had.

View 7 Replies View Related

Ubuntu :: Add Items To Panel

Mar 6, 2011

I am missing the are on the top bar that u can click on to get to chat and email and inbox and compose a message it just went missing all of a sudden and it was a super help to have because im always sending mail and getting chats and now i can look at picture.

View 9 Replies View Related

Software :: How To Add Items To GRUB

Apr 20, 2011

I'm currently using GRUB 0.98 (NOT GRUB2) on my PC. How can I add Windows & Visopsys.

Windows is on "sda6", and Visopsys is on "sda7".

How do I add these to GRUB?

View 7 Replies View Related







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