181 Comments
- ravan46, on 01/05/2008, -5/+155Man, if only there were some way to learn about commands inside Linux.
- idd7, on 01/05/2008, -4/+70"The most complete and updated list of commands on linux"
TAB TAB
Display all 2726 possibilities? (y or n)
y - ricree, on 01/05/2008, -1/+48presumably, starting his post with "man" was a play on words, so yes, I think it was a joke.
- Phocion55, on 01/05/2008, -2/+47Back in college, I had to do a presentation for a class that involved the use of a webcam hooked up to one of my Linux boxes back at my house. Thing was I completely forgot to install the webcam the night before.
10 minutes before class: SSH, wget source, tar extract, make && make install, modprobe, and a call to a roommate to plug in the webcam.
Extremely far fetched example, but the command line saved my ass! - Rassa, on 01/05/2008, -4/+37Dugg for argoments.
- SpamBuntu, on 01/05/2008, -0/+26Nice overview!
Wait, the title is "Linux Commands Line"? Not "Ubuntu Commands Line"? Wow, it's like in the old times ;) - jcaino, on 01/05/2008, -2/+27That's actually offensive. Windows absolutely fails at the command line. I couldn't imagine managing Window's servers - especially when it comes to remote management, which after all - there is no place/need for a GUI on a server.
- MadHarvey, on 01/05/2008, -0/+24One useful command that they missed: Apropos. Its good for when you know what your program does, but you don't know the name of the command. Like 'apropos mp3' will return a list of mp3 related commands. Looking at a man page requires the you know the name ahead of time.
- einfeldt, on 01/05/2008, -1/+24Actually, you used Linux to type the note on this page. Digg runs on Linux. So does Facebook and MySpace and Yahoo and Microsoft's Hotmail and Amazon and Google. So you are actually using Linux all day, every day. Oh, and if you get a Kindle you are using Linux. Same for the Nokia N880. And lots of other devices. Within 5 years, you will be using a mobile phone that runs on Linux, and you won't even know it, because it just works.
- CloseTheCode, on 01/05/2008, -1/+20Does what better? Linux has a notoriously powerful command line, and as far as i'm aware Windows does not. Am I wrong?
Dugg because this is a great reference. I'm trying to get to grips with Ubuntu and this will be a great help to me. - williebee, on 01/05/2008, -0/+16Easy, more gives you less and less gives you more.
- lickmyback, on 01/05/2008, -1/+16Hoorah... now I know how to use argoments at the Linux commands line.
- mbrindam, on 01/05/2008, -1/+14Dugg for "argoments".
- ramsy1980, on 01/05/2008, -0/+11too bad it doesn't state the use of lsof on how to check which process is using a specific port on your linux server.
"lsof -i :" definitely needs to be added. For example to see which process is using port 80 simply enter "lsof -i :80" (without the quotes of course) - muka3d, on 01/05/2008, -1/+12I see what you did there.
- secrity, on 01/05/2008, -2/+13To reboot, I just type 'reboot'
- jacksbox, on 01/05/2008, -0/+10This is why 1% of us DO use Linux
- schestowitz, on 01/05/2008, -5/+15The title of this page was not very descriptive (too generic), but the cited page is an excellent reference worth bookmarking. Good link.
- PhinnFort, on 01/05/2008, -0/+9How about "halt"?
- martalli, on 01/05/2008, -0/+9Yes, in fact ubuntu is linux. Everything there applies to ubuntu except the yum and rpm package management stuff (ubuntu is a debian variant and as such uses the top notch apt-get system.
- GMorgan, on 01/05/2008, -0/+8That's what I said...
init 0 is for shutdown. - ktulu1115, on 01/05/2008, -4/+12Impressed with this collection, certainly much better then the typical Linux stuff I've seen.
- loudnobnoxious, on 01/05/2008, -0/+7Dugg for the hell of it.
- TehDoctor, on 01/05/2008, -2/+9Assuming you use a Debian based distro. Debian/Ubuntu are not the totality of Linux. Think before you shoot your mouth off.
Please note that I use Kubuntu and have used Debian and I'm not trying to be a *****. - andywebb95, on 01/05/2008, -0/+6In this case less is better than more
- einfeldt, on 01/05/2008, -0/+6@radiantarchon,
Good question. And yes, the GUI can do all of these things. The command line is just much faster once you learn it.
But there is a huge movement in GNU Linux to pump up the GUI for the exact reasons that you mention. I support a public middle school in San Francisco with GNU Linux, and the kids almost never touch the command line, except for a few of the more advanced students. The rest of them never even know it's there. For anyone who wants details, you can email me at einfeldt a t gmail do t com - sulf, on 01/06/2008, -1/+7obligatory list:
strip; view; finger; mount; fcsk; more; yes; umount; sleep - martalli, on 01/05/2008, -2/+8To quote my machine's command line:
charley@jose:~$ man stupid
No manual entry for stupid - EruLabs, on 01/05/2008, -0/+5I've always wanted to $ man touch but Bill O'rielly says its... bad...
- michaelz92, on 01/05/2008, -1/+6Compliment is correct in that context. Complement is something added to make something else whole ie That shirt complements that skirt. Compliment is like flattery etc. *****.
- martalli, on 01/05/2008, -0/+5That's an upgrade from CPM, maybe...Using autocomplete (not in XP, at least by default anyway), I get this:
bxxxx@bryanbase:~$
Display all 2958 possibilities? (y or n)
Looks like I have almost 3k things I could type into my command line to your short little list, - aaronm67, on 01/05/2008, -0/+5It is still far easier to manage a Linux server via command line than a Windows server. In Linux, plaintext config files can change nearly every aspect of most programs, where in Windows, most configuration is done with a gui, with only basic options available by command line.
- inactive, on 01/05/2008, -0/+5or 'poweroff'
- pebs74, on 01/05/2008, -1/+6also "apt-cache search (key words)"
- inactive, on 01/05/2008, -0/+5my fav command = locate
- helfire, on 01/05/2008, -0/+5- is usually a single alphanumeric switch -p
-- is usually a word switch --print
/ i've not seen used in *nix world, not to say it couldnt
| you cant use (as a switch) because it's part of most standard shells, called pipe, would separate to commands, piping the stdout to the next command, cat file.txt | grep "hi"
= usually means assignment, --prefix=/opt/stuff/
if you dont know just type the command and look at the usage or type man command - hpfreak26, on 01/05/2008, -0/+5Dugg for arguing while pretending to compliment.
- ayeroxor, on 01/06/2008, -0/+4I don't think he likes being called 'Word'.
- subgeniusd, on 01/05/2008, -1/+5Some wtf from where the f*ck??
- CloseTheCode, on 01/05/2008, -1/+5....has nothing to do with this article?
- einfeldt, on 01/05/2008, -4/+8@CloseTheCode,
He certainly must be joking. The fact that he came in here and just said Ron Paul is just deadpan funny. The joke is that Ron Paul supporters are so rabid they will find an opportunity to say his name everywhere on Digg, regardless of whether it is relevant or not. The fact that this is about an article on Linux script commands and he still had the audacity to come in here and leave that comment is really funny, IMHO. - sbraidley, on 01/06/2008, -0/+4PDF Here: http://www.mininova.org/tor/1087337
- ayeroxor, on 01/06/2008, -0/+4Dugg for the smell of it.
- evildeadguy, on 01/05/2008, -0/+4With argoments?!?!
And I thought christmas was over. It just keeps getting better. - subgeniusd, on 01/05/2008, -0/+4I envy someone that easily amused........but yes they are clever lads.
- williebee, on 01/05/2008, -0/+4Sometimes you want to use 'shutdown -t 10 now' to add a little time between SIGTERM and SIGKILL. (with older slow devices)
- Phocion55, on 01/05/2008, -2/+6Which is actually pretty damn cool. Of course, Microsoft completely dropped the ball on including it in Vista.
- theajaysharma, on 01/05/2008, -1/+5Huh?
rm -f file1 delete file called 'file1'
rm -rf dir1 delete directory called 'dir1'
rm -rf dir1 dir2 delete two directories simultaneously
what about 'rmdir'? rm -r is recursive delete and rm -f is "force". So rm -rf will recursively force the directory removal and will work. I dunno, rmdir should be in there. First delete the contents of the directory and then rmdir the directory. I know it's easier to rm -rf the directory but I use it to protect myself in the cases where the contents *aren't* empty. Like if I missed a .blah file or something, rmdir will refuse to clear out the directory. - wdr1, on 01/06/2008, -1/+4No -- Yahoo uses FreeBSD.
Hotmail runs some variant of Windows (tell to port 80 if you don't believe me). Likewise MySpace (check Netcraft).
I'm a big fan of Linux, but you can't just make stuff up. - rusty0101, on 01/05/2008, -0/+3No, it's why 93% of you don't use Linux or unix at your desktop. 90%+ of these commands work very well at the OSX command prompt. Some of the syntax is a little different, but 'man command' will give you more information for any of those commands that are of interest to you.
Considering all the places that Linux is showing up, most of you are using Linux every day, and just don't know it, because it's not at your desktop. -
Show 51 - 100 of 175 discussions



What is Digg?
Check out the new & improved