Sponsored by Dragon Age: Origins
See the new YouTube feature trailer for Dragon Age: Origins view!
youtube.com/DragonAge - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
58 Comments
- binorgog, on 08/07/2008, -0/+19shutdown -y -g0
- H0ll0w, on 07/30/2008, -1/+14Wget is really nice.
- BradIsaac, on 07/30/2008, -2/+14I use ipconfig /all about 8 times a day.
- Spuy767, on 07/31/2008, -0/+8"It was the first way humans told computers what to do. . ."
You must have forgotten patch panels and punch cards. - yayster, on 07/31/2008, -0/+8damn windoze user!
- jod806, on 07/31/2008, -1/+8Awesome, I find myself using the command line more and more at work and home
- elfprince13, on 07/31/2008, -4/+11sudo rm -rf /*?
- GorfTron, on 07/31/2008, -0/+6I have gotten a lot of mileage from awk and perl from the command line.
- xptweakerntn, on 07/31/2008, -1/+6nmap?
- vade79, on 07/31/2008, -0/+5#8. It's "mkdir -p", not just "mkdir"... pretty much won't work anywheres without that flag. Shoulda #6'd your own list before posting it :(
- covertbadger, on 07/31/2008, -0/+4Screen is the king of terminal apps. Couldn't live without it.
- psyjoniz, on 07/31/2008, -0/+4not a bad list. i could think of things that should be there where some should be left out of 'top 10' (like rsync, screen, awk or sed) but really this is a good list for newcomers to draw from.
- ghotli, on 07/31/2008, -1/+5sudo !! is awesome. That one is going to save me a lot of hassle.
- the7dwarfs, on 07/31/2008, -1/+5I think including screen and rtorrent would appeal to digg users more.
- ttamshadbolt, on 08/01/2008, -0/+3digg me down - posted in wrong thread
- ePuck, on 07/31/2008, -0/+3lies
- elfprince13, on 07/31/2008, -0/+3I know a couple of people who've managed to fry Ubuntu boxes doing this. iirc a file can be marked as deleted and the storage won't actually get unallocated until its no longer in use.
- elfprince13, on 07/31/2008, -0/+3also, Lynx.
- blakespot, on 07/31/2008, -2/+5Here's the story behind the green-screen photo of the terminal session (IRC on an Apple //c. btw):
http://www.bytecellar.com/archives/000113.php - PhailQuail, on 07/31/2008, -0/+2I commonly forget the IPs of devices on my network so "nmap 192.168.0.*" is insanely useful.
- belumaves, on 07/31/2008, -0/+2I'm kind of sad not to see screen on there. I doubt that there is any tool that I use more than screen... except maybe vim... within a screen session. When connected to a remote machine via ssh screen is the cleanest most efficient way to have more than one thing going at a time. it sure beats multiple ssh sessions anyway :) otherwise, great list
- BXRWXR, on 07/31/2008, -0/+2cd
- inactive, on 07/31/2008, -0/+2You can download a full 10.5 (or .4, or .3) package of MySQL complete with boot-time startup script and system preferences pane for free from MySQL's website. There's zero Terminal usage needed.
I hate to use a meme, but you're doing it wrong. - cesclaveria, on 07/31/2008, -0/+2I was thinking the same thing, may be he meant more like the first way on PC's?
- gmuslera, on 07/31/2008, -0/+2grep makes my day usually, joined with cut (to extract fields or sections of lines), sort (sorting), uniq (taking unique lines, counting duplicates, etc), and glued with some nice features of bash (pipes, for, subcommands, etc). For processing text files, usually log files, like the logs of firewall, proxy, mail/web servers, are great.
- senthilraj, on 01/17/2009, -0/+1TarTool is a tiny windows command line tool to extract tar gzip (tar.gz or tgz extension) files.
You can download TarTool , unzip and run TarTool.exe as a command line executable.
http://blog.rajasekharan.com/2009/01/16/tartool-wi ... - Pittance, on 07/31/2008, -2/+3Hard-wiring instructions followed (probably) by punch cards were before command lines as the first way humans gave computers instructions.
- inactive, on 07/31/2008, -0/+1I prefer fist to monitor, but the life span of the machine is a little limited.
- KoMashka, on 08/04/2008, -0/+1During I used Windows the most used command was ping - now I use Mac OS about half year and did not use command line yet
- djwtech, on 07/31/2008, -2/+3ifconfig eth0
- diggydougie, on 07/31/2008, -0/+1Would like a similar article on windows command line. Don't laugh, really. DOS is still there under all the GUI crap. And the commands are surprisingly similar.
- davidron, on 07/31/2008, -0/+1Screen is not included among a bunch of other really important commands. Cygwin is better in my opinion.
http://www.cygwin.com/
Plus, Cygwin comes with a free Xserver for running remote X applications through SSH. - smotpoker, on 08/01/2008, -0/+1Wordup, I never knew of that one either. Usually in those situations i use the substitute-carrot (^).
i.e.:
bash$ vi /etc/fstab
[some error regarding privs]
bash$ ^vi^sudo vi
[changes 'vi' in last command to 'sudo vi' and opens /etc/fstab with proper privs] - dmourati, on 08/01/2008, -0/+110 more for you from my LInux arsenal:
10. watch - run a command in a loop watch date
9. lsof - list open files lsof /var/log/httpd/*
8. dmidecode - probe the hardware bus
7. curl -wget, on steroids
6. nice - change a job's nice level to make it run aggressively or passively
5. fdisk - poke the hard drive(s)
4. netstat - look at network statistics
3. nmap - port scan
2. tshark - new school wire sniffer
1. killall - killall processes - smotpoker, on 08/01/2008, -0/+1...and takes forever if you are just trying to determine valid hosts. That's why god invented 'nmap -sP'
- inactive, on 08/01/2008, -0/+1Win the lottery with exponent logarithmic number rainbow and physics prediction.
- psyjoniz, on 07/31/2008, -1/+2last i tried this the system, upon removing rm, rm was unable to continue (maybe it re-stat'd itself upon every iteration?). of course this was done on a SCO box like 12 years ago. maybe i should try it again somewhere
- davidron, on 07/31/2008, -0/+1you could also type:
[up arrow] -> [home] -> "sudo " -> [enter]
It's the same number of key strokes plus you get to use the history and open a space on the list up for "screen" or one of the other more useful commands. - smotpoker, on 08/01/2008, -0/+1I've done it before a couple of times (once being sloppy and once while testing with mount -o bind in a chroot configuration)
Essentially, when you run a command/program (especially ones that are smaller and are busy working throughout the duration of their run) the executable and the libs it is using are stored in memory and not re-read from disk. Until they become idle for a while (either due to waiting for I/O or because another process has higher priority) or they get restarted, the same code remains in memory and executing without necessity for constantly reloading /bin/rm from disk after every single file is removed or something - sysop073, on 07/31/2008, -0/+1sudo !! is incredibly useful, I have it bound to a hotkey in my terminal
- sysop073, on 07/31/2008, -0/+1It's not even all that dangerous, I don't know why people post it. And when they do they usually don't space it out to help people understand what it does
- wesw02, on 07/31/2008, -2/+3This could be much much better. Here's what I feel should at least be on there:
nmap
screen
ssh/scp/sftp
curl (I think curl is slightly more useful than wget) - inactive, on 08/01/2008, -0/+1/>
- ventralnet, on 07/31/2008, -0/+1could som eone enlighten me on what it is supposed to do?
- ventralnet, on 07/31/2008, -0/+1actually windows command line doesn't give you as many useful commands. What i usually do is install cygwin and then ad cygwins bin folder to my $PATH so i can use linux commands in my regular command line...
- bilco, on 07/31/2008, -0/+1http://unxutils.sourceforge.net/
- ventralnet, on 07/31/2008, -0/+1its called MS-DOS
- revjustin2, on 07/31/2008, -1/+1I used this the first time I installed MySQL. Starting the server from the pref pane worked like a charm and I was able to create tables, query up the yin-yang, etc. Then I decided to learn PHP and did the required dance to get that working in OS X (not hard, btw). Then, when I decided to add MySQL into the equation and make connections via PHP I was getting an error saying PHP couldn't connect to the data base via the socket it was expecting (var/something/something). I created (via terminal, btw) and then edited PHP.ini (there is none by default in Leopard) with the default socket for MySQL changed to /tmp/mysql.sock (which is what MySQL was telling me the socket was) and that failed to work as well, this time the PHP error message telling me it couldn't connect via tmp/mysql.socket. I tried changing the config file for MySQL (my.cnf - which also requires terminal use) and that didn't work out either mainly because the instructions I was working off on were not recent and I couldn't find anything better. This led me to try removing my install of MySQL and reinstall it from source, which is what was recommended to me by a friend who went through the same thing (and is noted here: http://developer.apple.com/internet/opensource/osd ... and requires that you use terminal. This is where the unix ***** hit the revjustin fan. The instructions to install from source on both the link provided above and on the MySQL site itself SUCK. I am sure this is because I am a uinix noob and the documentation is written with people with experience in mind, so I don't blame it, but at the end of the day, I couldn't get this to work out at ALL. I then went back and reinstalled from the package and then starting up from the pref pane didn't work anymore. I am now at the point where I am going to slunk off and drink a few beers, read a few more pages of documentation, and tackle the whole thing again.
-
Show 51 - 60 of 60 discussions




What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official