I'm copying a large amount of files between disks. There's approximately 16 GB of data.
I'd like to see progress information, and even an estimated time of completion from the command line.
Any advice?
I have a batch file intended to replace all instances of tracking.js within a folder/sub folders.
FOR /R "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\Version1.2\" %%I IN (tracking.js*) DO COPY /Y "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\tracking.js" %%~fI
When this is run I get the following syntax error
C:COPY /Y "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\track
ing.js" D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\Version1.2
\SHAPERS_COMBINED\Smarter Communications\WhatisInfluencing\script\Tracking.js
The syntax of the command is incorrect.
Ideas please?
I've just begun to use the Terminal in Mac OS X and I've found the man command very useful, although very often the explanations are too compact or complicated for me. I am looking for a very basic reference guide – like O'Reilly makes, for example. But in there I didn't find an entry for basic commands like ls or ln and a layman's explanation of all the flags and options.
Could anybody recommend me something?
I am trying to connect to mysql server which is installed on my home pc from another pc. I allowed all connection in mysql configuration. There's no firewall blocking on the pc I am trying to connect from. I used the command-
mysql -h Some.Host.IP -u SomeUser -p SomePassword
I am getting-
ERROR 2003 (HY000): Can't connect to MySQL server on 'Some.Host.IP' (10060)
I can connect through php!!
What's the problem? How do I solve it?
As it is told in git-config manual, I have three files to specify git repo configuration: $GIT_DIR/config, ~/.gitconfig and $(prefix)/etc/gitconfig. Is it possible to make git read another config file (for example .gitconfig in root of the repo) after reading $GIT_DIR/config?
I want it as I created git command aliases in .git/config and I would prefer to store them in repo, so I can restore them when cloning and for example.
I was able to share my laptop's internet with my smartphone by using this command "netsh wlan start hostednetwork".
But when I installed Avast in my Windows 8 OS, I am able to start the hostednetwork as before and my smartphone also finds the virtual AP but still I can't use internet on the smartphone.
It's like the internet sharing has been disabled by the Antivirus.
How do I tell Avast that its okay to use the hostednetwork?
Hi, I've been trying to setup email forwarding through fetchmail from remote smtp server to Gmail account, although messages are constantly coming to my local address and accessible via "mail" command. SMTP connection works perfectly, but emails do not go anywhere.
System: debian, fetchmail
Config: poll smtp.server protocol imap username “user” password “pass” smtpname “[email protected]” ssl
Thank you!
We have installed the rubygem application (version 1.3.6) on a Debian system by downloading the rubygems tar.gz archive and running the setup.rb command.
What is the best way to uninstall this application?
I am trying to start xampp when the ubuntu starts on ubuntu 9.10. I tried going to system-preferences-startup applications adding it there, but it didn't work. I surmised it was because it needs to be started as root. I know you can make a startup script some how, but I'm not sure how to do it. How can I make it start xampp when the computer boots, even without logging in?
FYI, the command for starting it is sudo /opt/lampp/lampp start
I recently typed the command
sudo chmod 777 -R /
after that some things like
sudo -i
are not working normally...
... so I am wondering if there is any way where i could reset the folder permissions to their original state
Thanks in Advance!
I am running tomcat server on Fedora machine.
when I run tomcat using following command,
service tomcat start
it runs on localhost ,
but when i try to connect to the server using public ip address of the server as follows remotly
http://xxx.xxx.xxx.xxx:8080
it does not start
could someone help me with this issue
Thanks in advance for any help
Is it possible to generate an FLV out of an MP3 and a JPG, without uselessly looping the image and still be able to seek the audio ?
This command generates a non-seekable video:
ffmpeg -y -i audio.mp3 -i image.jpg -r 1 -acodec copy video.flv
and this one generates a seekable one, but with uselessly looping the image occupying both space and time:
ffmpeg -y -loop_input -i audio.mp3 -i image.jpg -r 1 -acodec copy video.flv -shortest
The command
$ net rpc SHUTDOWN -f -I xxx.xxx.xxx.xxx -U uname%psswd
Fails with the following errors:
Could not connect to server xxx.xxx.xxx.xxx
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
Could not connect to server xxx.xxx.xxx.xxx
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
When the credentials are definitely, absolutely correct. Whats going on?
I just edited the htaccess file to include:
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /home/path/to/public_html/
Require valid-user
I then created a htpasswd file via the htpasswd command. I have enabled the module: LoadModule authn_file_module modules/mod_authn_file.so in the Apache configuration.
Now, when I load the page I now get a 500 error and apache log says "configuration error: couldn't check user. No user file?: /"
have a set up that has server 2003 we are using in our class that will not accept using
of the username Jon_B but will work under another bogus name used? also, his partner
for his team using the same computer has no problem. is there a use in server 2003
for a command named Jon_B which keeps it from being used as a login username? all
other students including myself can login fine into server.
I'm running this command to get a list of all Activesync users and export them to C:\activesync.csv
Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | sort-object status, devicetype , lastsyncattempttime | ft FirstSyncTime ,LastPolicyUpdateTime ,LastSyncAttemptTime ,LastSuccessSync , DeviceType , DeviceID, DeviceAccessState, Identity -a | Export-Csv c:\activesync.csv
The problem is that the CSV data doesn't match the console display if I omit the trailing | c:\activesync.csv ... where the data and columns displayed don't match.
Is this a bug in powershell?
I have a six disk ZFS raidz1 pool and had a recent failure requiring a disk replacement. No problem normally, but this time my server hardware died before I could do the replacement (but after and unrelated to the drive failure as far as I can tell).
I was able to get another machine from a friend to rebuild the system, but in the process of moving my drives over I had to swap their cables around a bunch until I got the right configuration where the remaining 5 good disks were seen as online. This process seems to have generated some checksum errors for the pool/raidz.
I have the 5 remaining drives set up now and a good drive installed and ready to take the place of the drive that died. However, since my pool state is FAULTED I'm unable to do the replacement.
root@zfs:~# zpool replace tank 1298243857915644462 /dev/sdb
cannot open 'tank': pool is unavailable
Is there any way to recover from this error? I would think that having 5 of the 6 drives online would be enough to rebuild the right data, but that doesn't seem to be enough now.
Here's the status log of my pool:
root@zfs:~# zpool status tank
pool: tank
state: FAULTED
status: One or more devices could not be used because the label is missing or invalid.
There are insufficient replicas for the pool to continue functioning.
action: Destroy and re-create the pool from a backup source.
see: http://zfsonlinux.org/msg/ZFS-8000-5E
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank FAULTED 0 0 1 corrupted data
raidz1-0 ONLINE 0 0 8
sdd ONLINE 0 0 0
sdf ONLINE 0 0 0
sdh ONLINE 0 0 0
1298243857915644462 UNAVAIL 0 0 0 was /dev/sdb1
sde ONLINE 0 0 0
sdg ONLINE 0 0 0
Update (10/31): I tried to export and re-import the array a few times over the past week and wasn't successful. First I tried:
zpool import -f -R /tank -N -o readonly=on -F tank
That produced this error immediately:
cannot import 'tank': I/O error
Destroy and re-create the pool from a backup source.
I added the '-X' option to the above command to try to make it check the transaction log. I let that run for about 48 hours before giving up because it had completely locked up my machine (I was unable to log in locally or via the network).
Now I'm trying a simple zpool import tank command and that seems to run for a while with no output. I'll leave it running overnight to see if it outputs anything.
I want to extend my volume. However the unallocated space lies ahead of the volume. Is it possible to extend this volume without converting it to a dynamic volume?
I can't include images yet, so here you go: http://www.abload.de/img/unbenannttboxq.png
I tried to use diskpart with the extend command but it doesn't work. Makes sense because the instructions says that the unallocated space has to be behind the volume.
Hi all,
I am trying to add some .reg file info to windows registry using command line utility.
regedit /s myregfile.reg
I am able to add tree in registry in 32-bit and 64-bit windows XP machine.
But when i do same for windows vista 64-bit machine , it does not add the tree into registry.
Why is does not work in vista 64-bit OS and
Can anybody suggest me how to do it for vista 64-bit ?
I am looking on how to return one value from the registry. I only want the AGENTGUID value from this command.
$reg=reg query "\\$computer\HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent" /v Agentguid
$reg will return this as one line. I only need {F789B761-81BE-4357-830B-368B5B3CF5E5}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Network Associates\ePolicy Orchestrator\Agent Aentguid REG_SZ {F789B761-81BE-4357-830B-368B5B3CF5E5}
command ?+tab? and my Exposé shortcuts have stopped working, and clicking/mousing over dock icons has no effect.
What's wrong? What can I do to get things back?
i'am having IBM server with Redhat 5 ElsmP connected to the IBM Storage over iSCSI (in sdb ) can someone explain this output from iostat command
avg-cpu: %user %nice %system %iowait %steal %idle
12.79 0.01 4.53 72.22 0.00 10.45
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 95.63 48.88 240.95 485589164 2393706728
sdb 29.20 350.49 402.08 3481983365 3994494696
move large file to sdb very slowly,it seem normaly?
I want to check the utilization of the network interface card while running a communication-intensive benchmark . Can anybody tell me which unix/linux command I can use to monitor the network traffic ?
Will subversion accept usernames such as [email protected]?
We are using svn+ssh with public key authentication as per the official svn guide's ssh tips and tricks section.
Basically, we pass svnserve with the --tunnel-user={username} command, will subversion be OK with that username having @ and . in it?
Thanks.
I'm having trouble with my VPS as it keeps shutting apache down at least twice a day. The server is running on CentOS 6 with the latest apache.
By shutting down I mean I have to go into SSH and type in this command in order to bring it up again:
/sbin/service httpd start
I'm not very good with servers and my host doesn't seem to have a nice customer service.
Any help would be appreciated as these unexpected downtimes really know to kill one's mood.