Software :: Send A List Of Items To Apt-get?
Jun 19, 2009Is 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?
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?
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 RelatedI 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.
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 RelatedRecently 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 RelatedI 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 RelatedHowdy. 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)
I want to send email to a list of people at a certain interval without getting them detected as spam.
View 2 Replies View Relatedi 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
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 Relatedis 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 RelatedI'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.
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?
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 RelatedIve 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:
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
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
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.
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]...
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 RelatedHow 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 RelatedThere 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 RelatedI 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].....
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 RelatedI 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 Relatedlist the 'chkconfig --list' in alphabetical order
View 3 Replies View Relatedone command to list the list of folders/ within the folder.
View 4 Replies View RelatedI 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 RelatedI 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 RelatedI'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?