Server :: Using Terminal Commands To Wipe Disks?
Dec 14, 2010
I'm attempting to do a low level wipe of a server in our office. I originally attempted to use DBAN but it wouldn't recognize the disks.
I've now moved on to attempting to use a Live Boot of Ubuntu 10.10 on a USB drive.
I'm using the following terminal command - sudo dd if=/dev/urandom of=/dev/sda bs=1M
When I did this the first time it simply wiped the USB drive that had Ubuntu on it.
What do I need to do in order to have it wipe all 4 disks on the server instead of the USB Drive?
View 4 Replies
ADVERTISEMENT
Jan 28, 2011
Currently when I want to wipe a USB disk with pseudorandom data in Linux I do the following:
dd if=/dev/urandom of=/dev/sdb conv=notrunc
urandom is very, very slow, it gets to the point where the bottleneck is not the device. I know of another method -- the Mersenne twister. This is used in one instance by DBAN as a PRNG to securely erase data with, and it is easily 'random' enough for wiping drives -- and it is very fast. However, I'm not sure how I would use it in Linux. Is there a Mersenne twister program which I can then pipe into dd to wipe drives with?
View 2 Replies
View Related
Dec 14, 2010
i need to wipe my hard drive because an older version of ubuntu is making it so that i cannot download 10.10 how fix
View 5 Replies
View Related
Sep 16, 2010
Is there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.
View 14 Replies
View Related
Feb 10, 2011
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
View 5 Replies
View Related
Sep 10, 2010
I was wondering is there a way to bind say "F5" to the command sudo apt-get update so I can press one key to write this into the terminal?
View 1 Replies
View Related
Jan 24, 2010
if you do the command conky in terminal, it starts conky ofcourse, but it also shows output to that terminal so you can't do any other commands to that terminal, Is their an option like you can do with the '&' sign in other cases? If you do the '&' sign with conky it still gives output, also the conky -d command gives output...
View 9 Replies
View Related
Mar 30, 2011
I know CD, Apt-Get, and Dir, but besides that I know mostly Command Prompt commands and that's not many, and they seem to differ from Terminal. What are some useful Terminal commands that I should know how to use in times or need?
View 3 Replies
View Related
Mar 9, 2016
I'm messing around with a new install of Debian 8, trying to get a sandbox of Oracle DB 12c up and running in an ESXi environment.
open-vm-tools was giving me troubles (resizing the window didn't make the resolution change), and Oracle DB was fighting me with environmental variables.
Well, while I was troubleshooting the Oracle issue, I needed to reboot. When it came back up, I couldn't log in. When I attempt to log in using known working credentials, the screen goes black like it should, and then loads the login screen again.
I SSH into the box and try to run commands, but every single command I run returns "Command not found" including "ls" "su" "cd".
I'm able to boot into recovery mode, where the commands work under root, but I'm not sure what to fix....
View 6 Replies
View Related
Jun 24, 2010
My linux computer just kicked the bucket, so Iḿ kinda stuck on testing terminal commands
Can somebody give me the commands to:
1. Start the smb service.
2. Start the libvirtd service.
3. Create a symbolic folder link at /opt/google/chrome/plugins that links to /usr/lib/mozilla/plugins
4. Create a symbolic folder link at /opt/google/chrome/plugins that links to /usr/lib64/mozilla/plugins
View 2 Replies
View Related
Jan 21, 2010
I am in the process of coverting some video files to motion jpeg (Wii) files with ffmpeg (great program by the way). I have been successful and so the majority of my work is over. My question is simple (I think) but complex to me so... here it goes. Is there a way on one command line to "batch" convert 8 or 9 files together instead of one by one. I just don't know what to put on the command line. I took one UNIX class a long time ago and the terms pipe and such come to mind... but I forget. Any takers? That was I can write what I want the computer to do in the morning and just come back after work and voila...
View 6 Replies
View Related
Feb 27, 2010
Is there any easy way to Make a GUI for terminal commands?
View 2 Replies
View Related
Mar 20, 2010
I was following a guide to stop Ubuntu from always asking the root password. And apparently i messed something up in vsudo edit or something like that i was in... So now when i put in a sudo command i get this...
Quote:
>>> /etc/sudoers: syntax error near line 18 <<<
sudo: parse error in /etc/sudoers near line 18
sudo: no valid sudoers sources found, quitting
so i cant even get back to undo what i edited.
View 8 Replies
View Related
Apr 11, 2010
I am trying to boot debian on my nexus one the guide i am using is telling me to run these commands
I am getting to the point where i type the command # cd /sdcard/debian but it tells me cd: can't cd to /sdcard/debian.
View 9 Replies
View Related
Apr 30, 2010
I've created a bash shell script, to open a few graphical programs. Trouble is, the next one doesn't start until I close the first one. How can I just skip to the next program?
View 2 Replies
View Related
May 7, 2010
Is there any way to run commands of other programs from the terminal?opened a doc file from the terminal using>openoffice.org filename.docis there any way to executeSELECT ALL[ctrl + a] orCOPY [ctrl + c]from the terminal?
View 2 Replies
View Related
Nov 17, 2010
I couldn't really find a general Ubuntu discussion area. So I typed ipconfig and of course it said no such command blah blah blah. What I found interesting was that it provided a list of other commands I may have meant to use, ie. ifconfig. So what's the algorithm used to determine the commands? Is it SOUNDEX or something else?
View 1 Replies
View Related
Nov 30, 2010
Unzipped the folder in home/folder wordpress-3.0.2.tar.gz and now have a file called 'wordpress' Can someone walk me through the terminal commands to install from here.
View 1 Replies
View Related
May 6, 2011
I upgraded to 11.04 today and wanted to reconfigure so that I could have the desktop cube again. Once I started trying to switch my settings for the cube configuration compiz asked whether I wanted to turn off various features and apparently among them was the control bar on the side and top of the screen. Now I log in to Ubuntu and I get my workspace and that's it. No control bars, just the workspace. I need to know a few things:
1) Has anyone else had this problem?
2) How do I get into the terminal from keyboard commands?
3) What terminal commands do I need to bring back at least the main toolbar so I can access programs.
View 1 Replies
View Related
Jul 16, 2011
Im new to ubuntu and I was wondering if someone could list some basic terminal commands and explain what they do, and when and why you would use them.
View 4 Replies
View Related
Aug 3, 2011
I have a question regarding terminal. I try to launch it from the "Startup Applications" by entering a script.Code: sh -c '/usr/bin/gnome-terminal'but it does not start.Also, when it does start I would like it to auto run certain commands: navigate to my project folder run "play test" open a new tab run "top".how can I achieve this?
View 9 Replies
View Related
Apr 13, 2011
i don't know if there is a way to check or see the list of commands available to each shell you decide to use, be it BASH,KSH, etc in your terminal. You know how its works in microsoft, in cmd-line or dos, you type HELP and its brings all the commands available for use.
View 6 Replies
View Related
Jan 10, 2010
Recently I gained interest in running command from the terminal, like rhythmbox-client --play-pause and vlc --open, but I could not find the vlc's pause command under vlc. there's a way I can have a terminal display the commands that run when I do some action. For example, when I click on pause in vlc, the terminal should show me what command it used to pause vlc. What's the closest ting I can get to this?
View 1 Replies
View Related
May 13, 2011
How or Where Can I learn the terminal commands?
View 11 Replies
View Related
Feb 18, 2011
difference between these terminal commands?
dpkg -l
dpkg -list
dpkg -list | less
View 9 Replies
View Related
Sep 29, 2010
When i Write commands in terminal it does nothing
View 1 Replies
View Related
Jun 12, 2010
I would like to find documentation on all the available terminal commands and syntax for CentOS 5.
I have googled and looked through the wiki and found nothing about the terminal to my ability.
As for what I am referencing by commands:
sudo: I get the su means super user
cd: change directory
rm: remove, I don't know how to remove folders.
General navigation and using the terminal to create files/directories/open file editor/etc..
View 3 Replies
View Related
Jan 25, 2010
I messed up the first installation of Fedora on my server. My setup is as follows: Fedora and Gnome - NFS system, No dual boot (Windows or anything) Fedora ISO DVD downloaded No kickstart or other tools. how to set this up, from the time I insert the disk and have it boot up (configged already to boot from it). I know how to wipe it clean at intall time. Is that the root directory? And, is /boot the actual boot directory? I'm just having a hard time uderstanding that. As I said, I just want a quick itemized list, step 1, step 2, etc, from partitioning, creating file system, mounting, etc. in the right order.
View 4 Replies
View Related
Nov 5, 2010
I'm not really new to debian. Just never encountered this before. I'm not even sure how to describe that. The first time I realized something was wrong when I tried to create a file with dd:
root@strych ~# dd if=/dev/zero of=1GFile -bs=10M count=100
dd: bad operand `-bs=10M'
I mean what, I've done that many times before! Then I noticed that some commands started to behave this way:
root@strych ~# ls --help
--help: No such file or directory
On the other hand...
root@strych ~# fish --help
fish - the friendly interactive shell
or
root@strych ~# apt-get --help
apt 0.8.6 dla i386 skompilowany Oct 4 2010 11:55:22
Usage: apt-get [options] command
apt-get [options] install
So what the hell is wrong with my shell? This is persistent with any type of access: both ssh and local (physical), it's the same when I use sh, fish, bash or whatever. It also doesn't matter which user I'm logged in with. I haven't changed .profiles or anything concerning terminal really, besides installing fish but even that was long before I realised this problem. Actually, I can't think of anything that I've done that could do this. What am I missing? The system is debian testing with kernel 2.6.32-5-686.
View 9 Replies
View Related
Jun 16, 2010
Having recovered from busting my installation, feel urgent need to know what I did to set it up.So...would like to see all commands I ran in terminal window and store them (execute as script in future?)I can see prior commands using up arrow, is there a way of storing all of those commands in history?Also, any pointers to setting up sort of backup of the package installation setup?
View 7 Replies
View Related