Ubuntu Installation :: How Apt-get Command Works

Aug 10, 2010

I am trying to understanding package tools in ubuntu. After I read some documents on internet. I did some exercise myself. And I got some questions. I installed fex package.

Code:
# aptitude install fex
Reading package lists... Done

[code]....

View 6 Replies


ADVERTISEMENT

Ubuntu Installation :: TAR Command Works But Generates Warning

May 20, 2011

May I know what is wrong in the following TAR command? It works, but generate a warning...
> tar -cpzvf /etc/a000/backup.tar.gz /etc/r000
tar: Removing leading `/' from member names

View 2 Replies View Related

Ubuntu Installation :: 9.04 Works But 9.10+ Not Works

Jan 23, 2011

well I'll start by SPECS.

Processor: amd phenom II 965 BE
Motherboard: M4N78 PRO (Asus) newest bios
Memory: Corsair 2gb DDR2 800mhz X2 (4GB)
Video Card: Radeon 5750 1GB
Power: 620W Corsair.
HD: 320GB

I use the TV + HDMI cable. Versions tested 32BITS/64BITS (stay with x64) has no disk error. already downloaded several times. MD5 is correct well ... I'll start here with my concerns ... version 9.04 onwards does not work gives blackscreen. I think "forgotten" by the generic drivers for ATI or something that influences the video. it does not show. 9.10,10.04,10.10 none of those versions worked ... on other computers functioned normally. I found researching how to dribble and go to live. and thus unable to install. but does not work after the pc restarts. Linux does not. shows nothing ... goes to black screen with the (- FLASHING) but nothing else happens.

View 2 Replies View Related

Ubuntu Networking :: Ad-Hoc Works With GUI But Not Command Line

Jul 17, 2010

I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:

ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up

I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.

View 1 Replies View Related

Ubuntu :: Command Mv Works When Moving To /usr/share But Not Cp?

Oct 2, 2010

I just ran this command:

john@cmp:~/Downloads$ sudo cp * /usr/share/amsn/skins

and it came up with something like "cp omitting directory xxxx" for all directories (so each line xxxx was just a folder name. I was trying to move all directories in my Downloads folder to the skins folder u see above. But when I replaced the "cp" with "mv", it all worked fine. How come? I dont see why i can move but not copy?

View 1 Replies View Related

Ubuntu :: FTP Works Through Command Line - Not From Nautilus

Jan 28, 2011

Does anyone know why Nautilus would allow me to login to a server but not display any files, but when I log in via the 'ftp' command-line binary, it works and allows me to display all the files, make directories, etc.? I was able to login via FileZilla too.

Here's part of the log:
Code:
Response:220 Microsoft FTP Service
Command:USER ----
Response:331 Password required for ----.
Command:PASS ***********
Response:230-Welcome to the Alentus FTP server.
Response:230 User ---- logged in.
Command:SYST
Response:215 Windows_NT
Command:FEAT
Response:211-FEAT
Response:SIZE
Response:MDTM
Response:211 END
Status:Connected
Status:Retrieving directory listing...

View 1 Replies View Related

Ubuntu :: Command Works From Terminal But Not From Keyboard Shortcut

Feb 2, 2011

I would like to make a keyboard shortcut to execute the following command:

Code: /usr/bin/xdotool key XF86MonBrightnessDown The command, when run from a terminal, works perfectly. However, when run via a keyboard shortcut, the command fails to execute. how I can execute my command with a keyboard shortcut. I am running Ubuntu 10.10 Netbook Edition with Unity-2d.

View 3 Replies View Related

Ubuntu :: Mail() Works In Command Line But Does Not In Browser?

Jun 18, 2011

I'm trying to configure sending mail from my site under Ubuntu 10.04 LTS.I have installed LAMP and postfix. To test mail I created the file test.php with code:

PHP Code:
$to = 'mymail@gmail.com';
$subject = 'The subject';

[code]....

View 1 Replies View Related

General :: Hows The Resize2fs Command Works

Jun 24, 2011

i m doing certification in RHCE. i have learn much more in Linux. now i m going towards LInux hardware programming.i had solved enough questions about internal working of commands that r used in Linux. bt i m not understand hows resize2fs command actually work.i kknow this command is used to shrink or extend the partion or file system.but hows that possible.wat is the internal woring of that command.

View 1 Replies View Related

Server :: Crontab Fails But Command Line Works ?

Feb 19, 2011

Having an odd problem running a mysqldump via crontab. I have the script running on other servers and they work fine, so not sure how to actually troubleshoot, but the script looks like the following;

If I run it as a cronjob as root, it finishes in a second and a 20k file is there. If I run it from the command line as root it does the backup (takes a few minutes) but does complete the backup and can be unzipped and read successfully.

View 3 Replies View Related

Server :: Gawk Works From Command Line But Not From Cron

Jun 5, 2010

I have a very simple gawk script to add commas to numbers to make them more readable:

It works perfectly from the command line, but when run from cron it doesn't add the commas.

View 2 Replies View Related

General :: Mkdir Won't Work In A Script But Works On Command Line

Feb 4, 2010

Code:

This won't work in a script but it WILL work on the commandline...

Here is my output when I try the script:

Code:

Also, what is the at the end of the path in the error?

View 3 Replies View Related

Server :: Exim4 SMTP Doesn't Works - 500 Unrecognized Command

Jun 3, 2011

I installed exim4 package on my debian server as MTA. Now I want to send mail with this by SMTP. But when I connect to this via telnet, it returns this banner:

Code:

220 *******************************************************

And when I try to execute a command like EHLO, it says:

Code:

500 unrecognized command

View 7 Replies View Related

Software :: Command Line Browsing That Works With JavaScript Sites?

May 9, 2011

How can I verify JavaScript on a site (not on the same server) is working from command line access of the URL?

On checking some of what was written in 2005 I find most of it isn't still relevant (if it was then - I noted the w3m-js stuff mentioned in 2005 hadn't been updated since 2003).

Since then a couple of times I've looked into it but didn't make much headway but also didn't spend a lot of time on it. So far as I could tell from other posts I'd seen others hadn't either.

Recently I found out about Mozilla's SpiderMoneky js library and that it could be linked into elinks text browser and did same on my RHEL5 system.

I found Spidermonkey rpms in the EPEL (Fedora sponsored) repository:
js-1.70-8.el5.i386.rpm
js-1.70-8.el5.x86_64.rpm
js-devel-1.70-8.el5.i386.rpm
js-devel-1.70-8.el5.x86_64.rpm

I was able to download and install using rpm then compile elinks from source to include the above. Running elinks version after that shows the ECMAScript support is compiled into the new elinks binary. Also setting various ecmas* flags in the elinks.conf does have effect so clearly it is using them. (As opposed to another system where I use the original RHEL5 provided elinks RPM it complains about the ecmas* stuff being invalid options.)

It appears that by default it has this enabled but just for good measure I added:

set ecmascript.enable = 1.

Despite that when I pull up the page I see:

This product requires use of a browser that supports JavaScript

As a test I set the above to 0 on the off chance it was backwards and saw the same thing.

I then set the following:

set ecmascript.error_reporting = 1

On pulling up the page I now see a popup box:

Quote:

JavaScript Error:

A script embedded in the current document raised the

following exception:

TypeError: Window.Focus is not a function

OK

That seems to suggest that despite the earlier message about needing a browser that supports JavaScript that it is in fact executing at least one JS but that it is getting an error. Can anyone confirm that?

Does anyone have any idea what I�d need to do to deal with the Window.Focus message?

Essentially the site is a login page and even though I am able to input username and password after opening in browser when I tell it to POST it simply returns to the same login/password page.

And of course it doesn't have to be elinks/spidermonkey. I'd be interested in finding out if anyone knows a way I can verify a site that is running JavaScript is actually responding properly from command line rather than via a browser?

The SpiderMonkey stuff from Mozilla when compiled into elinks is supposed to do that but given my results Im not sure if it is or not.

Most of the documentation I can find on JavaScript stuff appears to be aimed at developers testing their own JS code from command line rather than accessing a web page with JavaScript.

View 8 Replies View Related

Programming :: BASH - Works On The Command Line, Hangs As A Script?

Jul 16, 2010

I'm writing a Bash script to take IPTC keywords from a text file and write them, via Exiv2, to several (first batch is 100) JPEG files in a single directory. The script has one while loop inside another while loop, both terminated, but I'm pretty sure that's not my problem. I think it's how I'm incrementing the "counter" variable, although it could also be the method of parsing the text lines from the file (using cut with delimiters that have worked fine in simpler scripts).

Here's the code as I've worked it up to this point.

Code:

And yes, "keywords" checks out in Crimson Editor, Emacs GUI and nano as an ASCII file with UNIX line endings. No issues on that score.

Feeding each line consecutively into a terminal (excepting the exiv2 command) works fine: each variable echoes with the part of the text line used as a variable value as it should, even when the b variable is incremented the quick&dirty way (up arrow three commands and hit enter).

Running the above script in eval mode (sh -x) stalls after setting the b variable to one and reading in the first line of text. I'd like to know why. I'd also like some advice on another reliable method of parsing the read-in lines.

View 14 Replies View Related

Slackware :: Can't Find Pdf Reader That Works In Command Line Mode

May 13, 2010

So, in finishing my nFlux slack current edition.I have set it up for users to do certain things in console
and one of the things I want is a way to view slackbook-2.0 in runlevel 3 console.I cant find a pdf reader that works in command line mode and I cant figure out how to either convert slackbook 2.0 pdf into html/text Or find a slackbook download that is html or text?I tried converting it using pdftotext, which didnt work very well So, I need a command line pdf viewer or a converter that works good?

View 5 Replies View Related

General :: CIFS Mounting Works Via Command Line - Fails With Fstab

Dec 2, 2009

I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.

[Code]....

Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234

The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.

View 2 Replies View Related

Networking :: Wireless Connection Works But Doesn't Show In Iwconfig Command

Mar 21, 2010

Ubuntu 9.04 with working wlan. I had to restart router & wap. It doesn't seem to ever retry to connect. I know my router & wap are good, I have wireless working on other laptop (running Puppy) I had to go into 'edit connections' in drop down and use 'wireless' tab then edit 'wireless connection 1' and hit 'apply' is there a better way to do this? also, no connections show up with command 'iwconfig' edit: with ifconfig, eth1 si showing data my ip address and packets sent & rcvd. I think I'll try do duplicate this event and use 'ifconfig eth1 down' and then up again to see if it reconnects.

View 1 Replies View Related

Programming :: Command Line Works - Won't Work From Inside Bash Script

Feb 16, 2011

Writing script to create backup of file by adding datetime to file name. Basically test for file presence if there, cp with datetime then rm original cp works fine from command line but get cannot stat `full path to file': No such file or directory

Code:

Here are the errors: cp: cannot stat `~/html/CVP_dadamail/.dada_files/.logs/errors.txt': No such file or directory rm: cannot remove `...': No such file or directory

The for statement is a placeholder as I have same file to backup out of several directories. using "bash -x scriptname" -OR- inserting echos, I can see I've constructed the strings properly. Believing it might be related to the hidden directories, I tried setting the shopt "glob" options to no avail.

Ultimately I'll add the other directories to the for loop and then run this from a cron job, so if you see potential pitfalls knowing I'm headed in that direction...believe construct would be

Code:

View 4 Replies View Related

Slackware :: KVM Command Not Found Though QEMU Works Fine Slackware64 13.1 Multilib

Aug 17, 2010

I've been trying to get some kind of virtualisation solution for my Slackware64, and I'd been having an absolute nightmare trying to get virtualbox to work on my Slackware64 install, so I decided to ditch it and move to KVM instead, as a type 1 hypervisor, having had success with QEMU in the past. I installed qemu-kvm along with all the dependencies using sbopkg, and I didn't have any problems building it, nor creating a user for kvm, or anything of that sort. However, now if I try to open a .iso on a disk image I created using qemu:

Code:

qemu-img create -f qcow2 ubuntu.qcow 4G

Which I am then easily able to access with qemu using the following command:

Code:

qemu ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 &

(I have an old ubuntu 8.10.iso on my PC that I used just to see if the thing would work) This works just as expected. However, if I try to launch the same .iso using kvm

Code:

kvm -hda ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 -boot -d &

all I get is "bash: command not found: kvm" I have already loaded the following modules: kvm, kvm-intel, tun. Could I be missing something?

[edit] Also just noticed that though I have created a group for kvm and added myself to libvirt, but when I issue the command "groups" neither of them are there, though I did use:

Code:

groupadd -g 221 kvm

And I was under the impression that I just needed to add my user to libvirt, without needing to manually create the group itself.I may have misunderstood the procedure for installing this properly, but I'm not sure what I've done wrong.

View 3 Replies View Related

Ubuntu Security :: Anti Malware Filtering Works In Open Dns Works?

Jan 13, 2010

using ubuntu and the corporate edition of open dns? >Im curious to find out how the anti malware filtering works in open dns works.

View 4 Replies View Related

Networking :: Does The Command "telnet" Works When Remote And Local Are Different Operating System?

Feb 12, 2009

Is it possible to log into a remote windows computer from my local linux computer and vice-versa using the "telnet" command?

View 2 Replies View Related

Ubuntu :: Copy CD That Only Works In Windows To Blank CD That Works?

Aug 29, 2010

I just want to be able to copy the files from a cd that is only compatible with windows to and new cd that is compatible with ubuntu

View 9 Replies View Related

Ubuntu Installation :: 10.10 - Seems To Be OK But Nothing WORKS

Oct 10, 2010

I'm installing 10.10 netbook on an older Pavilion ze5500, and the install process finishes, asks me to reboot, ect. After reboot, everything goes swimmingly until I try to move the mouse over the sidebar or toolbar at the top, where the screen flashes to black, then just the wallpaper, then the full GUI loads again as if I had just logged in. This repeats over and over until I tapped the power button, then I worked my way to the restart button on-screen, and the system restarted just fine.

View 2 Replies View Related

Ubuntu Installation :: Neither 10.10 CD Or USB Install Works

Dec 5, 2010

This is an existing bug (https://bugs.launchpad.net/ubuntu/+bug/636711) but since there doesn't seem to be too much happening over there, I thought I'd post this development here to see if anyone can make something out of it. Basically, any attempt to launch a (MDSUM-confirmed) CD or USB image of 10.10 will fail on certain computers. The install process fails, leaving a message like:

Quote: mount: mounting /dev/loop0 on /filesystem.squashfs failed: input/output error

Now here's the new development. I have two nearly identical Compaq Evo desktops at the office and one fails as above while the other loads and installs 10.10 perfectly (using the same USB disk). I would imagine that this would make a good test case for the bug, so I've posted the lshw output from both machines (one running 10.10 and other running 8.10) here [URL]

View 2 Replies View Related

Slackware :: Sudo: Umount Works, Mount Not Works?

Jul 8, 2010

I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:

Code:
User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now

[code]...

View 3 Replies View Related

Ubuntu Installation :: 17 - 14-generic On GRUB - Only 14 - Works

Jan 27, 2010

I've played about with Live CD's and sort of got it working on a PS3, but that's about it. Now, my problem.

Basically, what happened is that I installed Ubuntu 9.10, and then I installed whatever updates it wanted, and then ...17-generic pops up, but doesn't do anything other than load up a terminal type thing full screen.

Here's everything GRUB says.

Quote:

I'm pretty sure it's supposed to be part of the updates I did, but to be completely honest I'm not even slightly certain.

I don't know if there's any more info you'd need from me about my computer, but if there is could you tell me how to find it.

So the questions I'm asking really: Is meant to be an updated version? and if so, How do I make it do what it's meant to do?

After installing Ubuntu my Windows XP BSOD's on startup. I have posted in a Windows forum, but they seem to be terrified that I've used the word "Ubuntu" or maybe I'm being plain impatient. Do you know of anywhere which specialises in dual-boot problems or something? Thanks again

View 3 Replies View Related

Ubuntu Installation :: 10.04 LTS Log In Screen No Longer Works?

May 8, 2010

I made a USBbootdisk and installed 10.04 the day the final release came out. I installed it, used this post install guide http://blog.thesilentnumber.me/2010/...de-what-to.htm, and it has been working like a charm since then. When I went to log on to it today, the log in screen comes up as normal, I enter my password, ubuntu thinks about it for a minute, and then sends me right back to the log in screen.

I have an Asus EeePC 1005, dual booting Windows 7 Starter/Ubuntu 10.04

I just want to see if this is fixable before I wipe the partition and reload ubuntu.

View 2 Replies View Related

Ubuntu Installation :: Buggies During Boot-up / OS Still Works Though

May 19, 2010

I have been using ubuntu and kubuntu now for about 2-3 years non-stop, and I was originally a windoze user, so please bare with me.. I'm not a god at this stuff.The previous couple of versions of ubuntu I have been using, have had a few glitches after their immediate initial releases, so I have come to the conclusion now whenever a new release is made there will be issues for a while until someone figures them out.As I am sure most of your are aware, during bootup of either ubuntu 10.04 or kubuntu 10.04,we will catch little bugs .. they will interupt the new plymouth splash theme for a moment, and then the system will boot as a normally. Kubuntu was a little worse, after using remastersys to create a bootable live disc.. It seems that during the bootup of the live disc which I have created with remastersys using originally a fresh install of Kubuntu I see "Bios xxxx-xxxx errors" (I'm not 100% sure what they say, because they go by pretty fast) and I just don't know how to freeze the screen long enough to report exactly what is telling to repeat them here.. The bug that I get normally during bootup of Ubuntu is "Glib error" something to do with "non valid user".. Every-time I have installed it on my system or Virtualbox from a fresh install - after doing the updates and putting everything on it that I normally like to have for applications and codecs etc, I will start to see errors eventually creep into the Plymouth boot splash process. And I guess if there is no solution at this point, I would like to keep the 10.04 and revert back to 9.10's splash screen and back to when there were no errors.. Is this because of the new graphical drivers in 10.04? Any idea why is it is bad?

I doubt for some reason that I am the only user with these issues on a fresh install of either Ubuntu of Kubuntu, and I just want to know to know if there is anything I can do to help? I don't seem to find maybe people out there reporting this.. Maybe for the fact that we can't stop the screen from progressing to the next stage of bootup long enough to copy the errors to post them here. I don't know, but AFAIK the last version of ubuntu and kubuntu didn't have these problems with bootup.. Maybe with flash.. or maybe with something else. And many of those previous problem with solved with work-around, and just using different software or drivers or whatever.Again is there anything I can do to help? And how to stop the screen long enough to copy down my hand the errors I am catching during bootup? Or is there already a solution at this point to switch back to a older splash from 9.10 available, because in my opinion, the system is running flawlessly for my purposes, except the splash screen is coping errors I have never seen before since I first began using Ubuntu or Kubuntu

View 1 Replies View Related

Ubuntu Installation :: Laptop -- Left ALT Key Never Works?

Jun 17, 2010

I'm having the following issues with my laptop -- left ALT key never works. ever. that means I have to do shortcuts with the right ALT key which irritates me.- right click on trackpad works sporadically, and only after I push it a few times. most of the time, it doesn't work.This issue has popped up since Jaunty beta and has never been totally resolvedOutput of uname -aLinux tarantino 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux

View 1 Replies View Related







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