General :: Know When Dd Command Has Finished?
Nov 19, 2010
I'm trying to put zero in one hd (60GB) toshiba. So i use the command sudo dd if=/dev/zero of=/dev/sdx. I learned to see the status and now after 24hrs the status is:
Code:
111108189+0 records in
111108189+0 records out
56887392768 bytes (57 GB) copied, 85620,7 seconds, 664 kb/s
So, when do i know when the task is complete? I thought that when reached about 55GB has stop. Because one hd with 60GB has actualy 55GB.
View 5 Replies
ADVERTISEMENT
Jun 5, 2011
Let's say we have machine 1 and machine 2. Machine 2, which is linux based, is receiving a file (let's say cat.jpg sent via SCP from machine 1 (doesn't really matter which operating system..) How can I know in machine 2, that the file has finished uploading from machine 1 ? Please note that by "knowing" I mean by running a command (via a cron that runs every minute), and not by an event driven way ("make the scp issue a command when it is finished uploading"). Another limitation I have is that I can't change anything in machine 1 or in the way it SCP files.
If it really matters: the files being transferred are video file, MP4 extension. machine 2 is ubuntu 10.10
View 5 Replies
View Related
Mar 23, 2010
I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.
View 9 Replies
View Related
Jan 16, 2010
here it says that i can send an email on complete, but i dont havew the newest version of rtorrent, [URL] how do i set rtorrent 0.8.2 to send an email when finished?
View 1 Replies
View Related
Jun 14, 2010
Any option?Only thing i saw for shutdown for Transmission, was for Mac, none for Linux.
View 1 Replies
View Related
Sep 12, 2010
I wonder if is possible to have a "download finished" notification in Chromium when... well, when a download finishes.
View 1 Replies
View Related
Dec 13, 2010
i managed to install 10.10 with nomodeset parameter but now i am facing a new issue. After the installation finished i was forceded to restart my system in order the installation to get done. I did it but i ended up with a black screen and ubuntu logo in the middle of it. Do ihave to go through recovery mode and enter something?
View 2 Replies
View Related
Feb 16, 2011
All seems well in Ubuntu printer setup and drivers. Cups, hpijs hplip etc., system finds printer and sets it up and from system/administration/printing the printer shows up with the right description Hp deskjet d2600 on local host. when I try to print I get message "started job" and another message "finished job" but nothing prints. The log Var/log/cups/error_log shows only one thing that I think is wrong "cupsd authorize:no authentication data provided". my user name john and one other Andy (I installed) show up in lp group. I could attach the whole error_log file if it would help. I am new to Linux but love it. I used Windows NT for years. I am the administrator on the box. Don't know what to try next.
View 11 Replies
View Related
Jun 8, 2010
I'm using Debian Squeeze on my Presario CQ40-115AU. Whenever Squeeze finished boot (when the login screen appears), there a loud beep sound come out. The same sound also come out when rebooting/shutting down my laptop and this had never happened when I'm using Lenny. Where can I configure so the sound won't come out ever again.
View 2 Replies
View Related
Dec 22, 2010
i just installed skype after downloading it from the officail site fedora package installation went smooth with no errors but after finnished i click to start skype nothing happens
View 7 Replies
View Related
Sep 1, 2011
I wanted to install Matlab2011 in fedora15 and i receive this following: Preparing installation files Installing ./install: line 589: /tmp/mathworks_2110/java/jre/glnxa64/jre/bin/java: Permission denied Finished. I think the problem was Java, but I updated java and still is not working.
View 1 Replies
View Related
Feb 8, 2011
I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.
lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?
2nd PC (firewall to be)
#vi /home/user1/fw.sh
#!/bin/sh
[code]....
View 1 Replies
View Related
May 25, 2011
I have observed a recurring problem with video files. Very often the error stated below occurs when I try to play few files, but not when playing few other videos.The error is:"Mplayer has finished unexpedtedly. Exit code: 1"How can i get rid of this recurring error.
View 9 Replies
View Related
Jul 9, 2010
Hopefully a simple question but one I have had a hard time finding:I am using cron-apt to automate updates as follows:
Code:
graham@graham-desktop:~$ sudo cat /etc/cron.d/cron-apt
#
[code]....
View 3 Replies
View Related
Nov 1, 2010
I accidentally cancelled the upgrade (ctrl-c) to maverick before it finished on one of my servers. It was during one of the questions about installing an updated config file. If I run "sudo apt-get dist-upgrade", it complains that it can't lock the directory /var/lib/dpkg. What can I do to recover this and continue with the upgrade?
EDIT: forgot to say this system is running ubuntu-server with no GUI
View 2 Replies
View Related
Aug 30, 2010
Can Krusader play .wav to notify the file/dir copying is finished?
View 1 Replies
View Related
Feb 20, 2010
I just updated my system via yum and got an odd output after selinux-policy-targeted package finished updating.
Code:
Updating : selinux-policy-3.6.32-89.fc12.noarch 14/80
Updating : selinux-policy-targeted-3.6.32-89.fc12.noarch 15/80
/etc/mock/koji* /etc/rc.d/init.d/dirsrv* /srv/git* /usr/autodesk/maya2010-x64/lib /usr/lib{64,}/nagios/plugins/check_mailq /usr/sbin/ns-slapd /usr/share/e16/misc* /usr/share/shorewall/compiler.pl /var/cache/cgit* /var/lib/git* /var/lib/koji* /var/www/git/gitweb.cgi /var/www/git/gitweb.cgi
Does anyone knows what that means?
View 2 Replies
View Related
Aug 11, 2010
I am attempting a Network installation of openSuse 11.3 on an old desktop which has IBM Boot Manager so that I can boot to one of three OSs, openSuse being the third. Sadly the installation of openSuse fails before the CD initial boot has finished. Looking at the text log of the starting process the problem appears to be a driver and the last line of text where it stalls refers to eata driver.
There are 4 hard drives in the machine, configured as two RAID 1 arrays driven by a DPT 2144W hardware raid card. (Very old but very good). If I Google eata I get a good deal on SCSI raid and DPT cards but I am out of my depth when they say a kernel module is needed.
Another concern is that the RAID arrays are configured using a bootable DOS configuration disk and once this is done they are recognized by other OSs such as eCS and OS/2. The arrays are just treated as single drives so these OS installations do not interfere with the card configuration. I am concerned because I cannot afford to lose the data on the drives but it appears the linux driver might want to rebuild the arrays.
View 3 Replies
View Related
Feb 8, 2011
I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.
lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?ere are the iptables script and lists of my 1st and 2nd PC 2nd PC (firewall to be)
#vi /home/user1/fw.sh
#!/bin/sh
123=/sbin/iptables
[code]....
View 7 Replies
View Related
Sep 9, 2010
I've been starting to have a play with scripting, I'm still learning the basics though.I have one little question that. I want to have the script display a nice little graphical thing to indicate that the script has finished running. preferably some sort of customizable message with an OK button to close it. Even better if it looks proper as though it was always an Ubuntu app.
View 2 Replies
View Related
Sep 20, 2010
I'm having is trying to install ubuntu 10.04, when i get to the end and it asks you to click OK to reboot it never does, it sits there and never reboots (left for an hour!), forcing a shutdown and starting up then results in no GRUB coming up to dual boot (windows 7, installed on a seperate HDD)
This previously worked fine but I got rid of ubuntu to try a different flavour (which didn't install successfully, couldn't find the disk drive I wanted to install it on but I had already wiped ubuntu off for a fresh install)
I have formatted the partition i made (30gb partition) and manually created space for root and a partition from that for a swap file but this made no difference. I have used a partition manager and completely got rid of the partition (resizing the drive back up to full amount) and let the ubuntu installer do the partition itself but again the same problem.
I'm not sure what it is doing at this stage when going to reboot, i'm guessing installing GRUB and terminating the processes for the reboot, which never completes. I have also tried installing GRUB on the partition which said "Windows 7 loader" but that made no difference. I will try fixboot and fixmbr commands in windows recovery console in case it can't overwrite the boot sector for any particular reason tonight.
View 9 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Jul 21, 2010
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
View 1 Replies
View Related
Jun 7, 2010
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
View 1 Replies
View Related
Apr 14, 2011
When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
View 4 Replies
View Related
Nov 20, 2009
i'm trying to redirect the output of a command to the input of the next command. not sure if i'm going about this the right way. an easy method would be just to store the output of the previous command in a file and redirect input to read that file, but i'm curious to see if this can be done without writing to any files.
View 9 Replies
View Related
Mar 20, 2011
Possible Duplicate: What does this cryptic bash command mean? Why this command crashes Linux? :(){ :|:& };:
View 4 Replies
View Related
May 9, 2011
Up until now I've been using plink to remotely compile a project I'm working on. But recently the administrator from the remote server updated the distribution and messed up some configurations. My project has a lot of scripts written for tc shell (tcsh), and now the default shell is bash. There is no way to change this. Another problem is that now I need to run newgrp to change my default user group.
So... to work around this problem I've changed my .bashrc to run newgrp and then tcsh. If I do a normal connection using SSH, everything works as expected, but when using plink, or SSH to remotely execute commands, the shell gets stuck on the newgrp command. I think it's because both applications need a return value from newgrp to send the command I need to execute. Remotely running scripts that call a shell also get stuck like newgrp (newgrp also opens a new shell and that's why it gets stuck) my .bashrc is as follows:
Code:
user_grp=`id -g`
if [ $user_grp != 4919 ]; then
newgrp new_group_id
else
[code]....
View 4 Replies
View Related