Sponsored by Dragon Age: Origins
Can't get enough Dragon Age: Origins? Check out new footage. view!
DragonAge.BioWare.com - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
63 Comments
- cal0140, on 10/12/2007, -1/+49@JohnC86
ipconfig is windows
ifconfig is unix/linux - snurfle, on 10/12/2007, -1/+23"I guess the author should have specified which environment each command works in"
The author did specify this, when he said,
"Describes with examples some of the basic networking commands on unix/linux based systems" - GnuTzu, on 10/12/2007, -3/+21For those who don't be confused by this, ifconfig [-a] is for UNIX/Linux, and ipconfig [/all] is for Windows.
- awok, on 10/12/2007, -16/+33The list is pretty dumb... heres some neat commands I use on a regular basis with annotation:
I've replied to top comment in the hopes that more people will see this and find it useful, so here goes:
you need to replace text in 100+ template files:
perl -pi -e 's/words before/words to replace with/;' *.inc
(to replace all files ending in .inc in the current directory)
you need to download a file from a http(s)/ftp server:
wget http://www.someurl.com/archive.zip
you want to tar and gzip a directory of files for ease of transport:
tar zcvf myfiles.tar.gz directory
to extract:
tar zxvf myfiles.tar.gz
f = specify filename (myfiles.tar.gz here)
v = verbose
c = compress
x = extract
z = gzip (compress as well as archive)
see whos logged onto the box:
who
w (this shows the last command for each user, interesting if you are on a public box)
last (last users who logged on)
find out detailed information about packets:
tcpdump -x
-x will display the hexdecimal and ascii of packets, so if you browse digg you will see the HTTP headers
chat with people on irc:
bitchx -n awok-yournick irc.efnet.net
(dont run this in with root privileges)
change user:
su user
change password:
passwd
(optionally specify user you want to change with passwd username)
you want to make a dump of your mysql database
mysqldump -u user -p password database_name > database_name.sql
(this will dump the database into the sql file)
you want to import that database again:
mysql -u user -p password database_name < database_name.sql
Hope this helps some people - Brutus, on 10/12/2007, -3/+18@awok: dugg you down.
your list of commands is kinda neat and probably even helpful for some but also a little bit offtopic and people abusing the comment function are slightly annoying. that said, i also don't think that the list this story points to is in any way dumb, it lists exactly what it said, Basic Networking Commands. if you're interested in such stuff digg, else don't. easy. - sghost, on 10/12/2007, -1/+13OK list but it hardly touches on the things you can do with these commands other than their most basic function. Should be expanded to include much more detail.
- senfo, on 10/12/2007, -3/+12So far, the only two people in this thread that aren't wrong are joper90 and snurfle. ipconfig and ifconfig are *not* the same thing. ipconfig is very limited in functionality as compared to ifconfig. ifconfig, which stands for interface config, can be used to configure nearly all aspects of the network interface. Without another way to manage the network interface in Windows, ipconfig would be pretty useless. ifconfig, on the other hand, can do everything required to get a computer running on the Internet with the exception of configuring the routing.
- MacMixMaster, on 10/12/2007, -0/+9Just use the alias command in your bash config:
alias digg="dig" - hekar, on 10/12/2007, -6/+15Thank you for correcting JohnC86, GnuTzu...
Windows noobs shouldn't be in the Linux section of digg. - honds, on 10/12/2007, -0/+8Call me stupid, but for the past couple of months I see this in my console once and a while:
,-----
| bash-2.05$ digg www.google.com
| bash: digg: command not found
'-----
Replace Google with whatever site I'm working on. My brain is now trained to type the second "g"... damn Digg branding. - Gizim, on 10/12/2007, -2/+8The intent sucks if you dont take the time to read the website that clearly says "This would be mostly (*)nix based command set - Here we go..."
- dohidied, on 10/12/2007, -1/+7I'm a dumbass and I kept typing ipconfig in the terminal last week. I had to read the website I was on 10 times before I realized my error.
- pixelbeat_, on 10/12/2007, -0/+6See also: http://www.pixelbeat.org/cmdline.html#net
- kiljoi, on 10/12/2007, -0/+3I agree. The way this list is written, it's either useless to a new person due to lack of explanations, or useless to a person who knows what they're doing, because this is about as basic as you can get for networking commands.
- BRamBo, on 10/12/2007, -2/+5marked as " ok, this is lame". The list is really basic and no real explanation what so ever. It would've been better if they just explained the man command.
"for a better example type " man ifconfig" in your console window" - reconflux, on 10/12/2007, -0/+3What, no nmap?
- kevinarth, on 10/12/2007, -1/+4Folks, he does point the reader to man for further information/usage.
Admittedly, these are pretty basic commands, but that's pretty clearly stated in the title. For those of you "know it alls," you should have just skipped over this article as it's advertised as being beneath you. - dukeinlondon, on 10/12/2007, -0/+3I am not even in a tech job and I know them all.... I must see a doctor.
- r00tus3r, on 10/12/2007, -0/+2Wow, that's a VERY basic list. I thought most diggers would be familiar with pretty much all of the commands there already.
- inkydvd, on 10/12/2007, -2/+4I Agree with Gizim and dynacrylic
lame...pointless - r00tus3r, on 10/12/2007, -0/+2At the risk of coming off as a "know it all", that list really is quite pathetic.
- underthelinux, on 10/12/2007, -0/+1I think it would be more helpful if there was some output shown - and also how to interpret that. (As a noob) One of my problems with the *nix world is that i run commands, but don't know what i'm looking for in the output.
- hiroki40, on 10/12/2007, -0/+1This lacks of netcat commands. Netcat is like the most useful networking tools, here some commands:
nc -vv (ip address) (port) < connect to a computer in a specified tcp port
nc -vvlp (port) < open a tcp port in your computer. you need to be root
nc -vvlp (port) -e (command) < same than before, but executes command so the client can use it after it connects (like -e /bin/bash, it executes /bin/bash so the client has a shell access)
nc -vz (ip) (lowest port-highest port) < does a port scanning
the vv flag is for getting a lot of verbosity. it's useful sometimes. you can put it but you don't have to EXCEPT in the scanning command, you _have_ to put the v, or you won't get any output.
for more commands check netcat's manual or do nc -h. those are the ones i remember right now. peace. - boardo, on 10/12/2007, -0/+1Extremely basic post on these commands. For an inexperienced user, it is always good to have basic articles to get you introduced to said topics. But a little more detail would have helped some people, especially with the author only using GNU/linux versions of the commands. ifconfig/ipconfig and traceroute/tracert etc...
- CzescToJa, on 10/12/2007, -0/+1Oh for us "know it alls". This is like tying my shoes, not exactly something I'm bragging about to little kids. I thought this was a tech-site Jack.
- merreborn, on 10/12/2007, -0/+1Actually, in my experience, the man pages aren't very useful in the "What the hell does this program's output mean?" department.
- inactive, on 10/12/2007, -4/+5This could have been a little bit more detailed. No digg...sri
- schestowitz, on 10/12/2007, -6/+7@ hekar: it's the intent that counts. If you harness that attitude, the installed base will remain static.
- tacmen, on 10/12/2007, -0/+1I have to admit that this is mostly useless. I can Man all these commands and get more useful information. I just switched to Linux (Ubuntu) and I think there are better commands to go over for new users. Covering how to make move or copy files would have been more helpful to new users. Espically how to as Sudo. Its what I had the hardest time with. but that's just me.
- CzescToJa, on 10/12/2007, -0/+1Did you guys not know these commands already or something? I guess all of you so called "geeks" or "diggers" are clueless when it comes to computers.
- skywake, on 10/12/2007, -0/+1three simple letters "man"
;) - washcapsfan37, on 10/12/2007, -2/+3He lists some pretty basic commands, but does a terrible job explaining them or giving very good examples of what they are used for. For example, his descriptions of ifconfig and netstat are terrible and none of the examples even give an output example or explanation. Also, he leaves off ssh (an essential tool nowadays instead of telnet) and snoop (assuming your sysadmin allows you permission to it).
Weak, no digg. - PRlME, on 10/12/2007, -0/+1^nice List
- KennMac, on 10/12/2007, -1/+2The author didn't mention 'ssh' because he's writing about a few useful utilities. SSH, while providing a secure alternative to clear text connections, isn't really worth mentioning as very useful; chances are you're already using it anyhow.
What you failed to realize is that the author is referring to 'telnet' as a useful utility, as it can be used to test open ports, create basic connections, and perform numerous network functions. Instead, you used it for criticism because you THINK you know what he's talking about. - PRlME, on 10/12/2007, -0/+1Another not as nice as yours but detailed
http://www.oreillynet.com/linux/cmd/ - nicolas17, on 10/12/2007, -0/+1@KennMac: netcat (aka 'nc')
- SeattleGaucho, on 10/12/2007, -0/+1extremely basic stuff ... buried.
G - jhaitas, on 10/12/2007, -0/+1lsof -i
- dukeinlondon, on 10/12/2007, -0/+1if anything, it shows that a lot of linux users are not uber geeks as some would like everyone to believe ..... But they like to learn more, that's probably one of the strongest pattern amongst linux users, tech pros or novice....
- merreborn, on 10/12/2007, -0/+1net use has no place on a list of *nix commands
- merreborn, on 10/12/2007, -1/+2The two things ipconfig is useful for: getting info about your interfaces (IP, MAC, etc) and DHCP control, are both done by ifconfig and ifup/down on a *nix system.
So, in the eyes of a windows user, ifconfig is the *nix version of ipconfig. - NuPagady, on 10/12/2007, -0/+1Try host command also (this will show you how many IPs a host has - in most cases these are the IPs of different servers used for load balancing), i.e.:
s1:~# host imageshack.us
will output 20 IP addresses. - joevill, on 10/12/2007, -0/+1Basic commands, yes! Thanks for sharing.
- g0rdy, on 10/12/2007, -0/+0the window equivalent to ifconfig is netsh... not ipconfig
- freehunter, on 10/12/2007, -0/+0If I read correctly, the title reads"Basic Networking Commands...". Basic. Not detailed. Not advanced. not for sysadmins. Basic. For basic networking users. Simple. Stop saying it should be more detailed. You got exactly what you should have expected from that article, and if you expected more than it gave, that's your fault.
- pauldonnelly, on 10/12/2007, -0/+0iwconfig, fool! Iwconfig is sort of like the wifi version of ifconfig (although ifconfig is still used for wireless interfaces).
- nicolas17, on 10/12/2007, -0/+0How the hell can somebody write about network commands and miss netcat!
- chengjih, on 10/12/2007, -2/+2Lame. And he uses deprecated commands, like "nslookup".
- JohnC86, on 10/12/2007, -2/+2My mistake! i didn't know that command, learn something new everyday eh?
- Onibus, on 10/12/2007, -1/+1I dugg this not for the article, but for the comments. This should be helpful when I start Linux labs in my classes.
-
Show 51 - 63 of 63 discussions



What is Digg?