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


ADVERTISEMENT

Debian Configuration :: Network Only Works When Moving Mouse

Jul 29, 2015

I ping my router. If I keep my mouse moving (or i'm typing) I get a 5ms ping.If I stop typing/moving my mouse, it times out.

- I disabled NetworkManager for the inteface eth0 but it doesn't solve the problem.
- I'm having the same problem using a Ubuntu 15.01 bootable image
- I'm having the same problem usign an Ethernet PCI Adapter
- I'm having the same problem usign a Wifi PCI Adapter

lsb_release -da
Code: Select allDistributor ID:   Debian
Description:   Debian GNU/Linux testing (stretch)
Release:   testing
Codename:   stretch

[code]....

View 5 Replies View Related

OpenSUSE Multimedia :: 11.3: Sound Works - But Stutters While Moving Window

Jul 27, 2010

I'm using OpenSUSe 11.3 and have problems: While moving windows or doing anything else, music gets faster, jumps forward or to interrupt.

All worked fine in 11.1 and almost fine in 11.2.

hwinfo --sound

Code:

Code:

Code:

View 9 Replies View Related

CentOS 5 Networking :: Smbclient Works Nautilus Doesn't Connect To Share?

Sep 20, 2010

I can use smbclient -U name //ip.adresss/"My Place" to connect with no errors, but nautilus will not open the folder. nautilus discovers the computer but not the folder. maybe I need some debugging info from nautilus...

View 11 Replies View Related

Software :: Set Progress Bar On Moving Files With Command Line?

Jan 22, 2009

When I move files with the mv command, it simply waits until the file has moved and then the command prompt appears again. This is fine, but there are two things which are rather annoyingThere is no progress bar: When moving really large files, you have no idea how long the move is going to take. Is there possible to produce a progress bar to show how much has finished? You can't do anything while you're moving: You can't use the command prompt while you're moving the file/files. I'm currently not using a Linux computer (I'm at school) but maybe it's possible to write mv <file> <location> &, I just thought of that just now. Is it maybe possible to use another program than mv to move you files?

View 2 Replies View Related

General :: Moving A File To The Root Of The Drive Via Command Line

Oct 17, 2010

How can I move a directory to the root of a drive via command line?

In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'

What is the equivilent in Linux?

View 8 Replies View Related

Security :: Attackers Moving To Social Networks For Command And Control

Jul 20, 2010

Bot herders and the crimeware gangs behind banker Trojans have had a lot of success in the last few years with using bulletproof hosting providers as their main base of operations. But more and more, they're finding that social networks such as Twitter and Facebook are offering even more fertile and convenient grounds for controlling their malicious creations.New research from RSA shows that the gangs behind some of the targeted banker Trojans that are such a huge problem in some countries, especially Brazil and other South American nations, are moving quietly and quickly to using social networks as the command-and-control mechanisms for their malware. The company's anti-fraud researchers recently stumbled upon one such attack in progress and watched as it unfolded.

View 9 Replies View Related

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

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

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 :: 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

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

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

Ubuntu :: Accessing A Samba Share Via Command Line?

Jul 3, 2010

I have a 500GB external usb drive connected to my USB router (running dd-wrt). I have the router setup with samba and can read/write to it from any PC on the network. I have it setup to automount in Ubuntu. How can I access that mounted samba share when I SSH into the box? I want to cp or mv files from the PC to the Networked samba share via ssh CLI.

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

Ubuntu :: Creating, Editing, And Removing Shares With The 'net Share' Command?

Mar 16, 2010

how-to use the 'net' command to add/remove and list net work shares on a ubuntu box, you'd think it would be slam dunk to get it working, but alas, this is linux we're talking about. I've attempted to create a new share using the following command:

net share add Music=/home/joeblow/Music -C testing -M 1 -S joeblow-desktop -Ujoeblow%joeblowpass

which results in this error:

NetShareAdd failed with: Access is denied

I've also tried deleting an existing share using the following command:

net rpc share delete documents -S joeblow-desktop -Ujoeblow%joeblowpass

which results in the error code (5) and no error message. Note, I'm logged in as joeblow the user and I'm attempting to create create/delete shares in joeblows HOME directory. Also, I can create and delete shares from joeblows desktop via "Places->Home Folder->..." method and I can access these shares remotely.

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

Software :: WinExe Hangs With WMIC Share Command

Jan 6, 2010

Has anyone messed with winexe? It's a very cool program. Let's you get into Windows from Linux. [URL].

[]# ./winexe -U domain/username%*****//my.site.com 'cmd'
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:WINDOWSsystem32>

However it seems to have some limits. For example, I can't get it to work with "wmic" commands. For example:
[]# ./winexe -U domain/username%***** //mysite.com 'wmic share get caption,name,path'
It hangs...

View 1 Replies View Related







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