ACPI administration advocacy advocacy advocacy opinion alsa amarok apache apple apt aptitude archive audio audo authentication automount avi awk bash BIOS boot browser business cache calendar calibre cdr cdrecord censorship commandline computerscience console convert cron cut database date debian degree design desktop development disk dpkg dvd economics education emacs email europe exim faad ffmpeg file files firefox firewall flash foss freedom ftp fun fuse git gnumeric graphics grep growisofs grub gtkpod hardware hardware html icedove idiocy image imagemagick images installation ip iphone ipod iptables iso itunes ivman kde kernel keyboard knoppix lame laptop latex linux locale lockin locking longlines lsof m4a microsoft mimetypes minitab mount mp3 mp4 mplayer multimedia music mysql network nfs nfs4 nmap openbox openfiles openoffice opinion opinion orgmode partition pdf perl php podcast politics pomodoro ports postgresql printing privacy process programming rant remote rhythmbox rss rsync rxvt scp screengrab screenshot script scripting scsi security sed server services shell siteadmin sitenews sitesoftware skype skype slackware sound sox spam spreadsheet ssh statistics subversion sudo svk swap t23 t43 terminal tex text thinkpad thunderbird time timer timezone ubuntu udev upgrade usb usbmount users uuid versioncontrol vfat video vnc windows wine wordpress wordprocessing X40 xwindows xwindows youtube
Almost every Linux website seems to have a list of the "best command line commands". Sometimes they get them wrong.
Here is a list of useful commands that I came up with by looking at my 'history' file. I would not be happy to use a computer platform that didn't support them:
So, there you are the most useful command line tools in the world ever!
First, I can't believe "grep" didn't make this list, and second, I do believe that 'ifdown,ifup,iwconfig,dhclient,iwlist' are all different commands not to be used interchangeably - meaning this list is more like 15 than 11.
If you're on Debian, the first command I suggest is `info coreutils` which will show a quick index of the basic GNU commands, along with `apropos`, and the package manager commands to get what you don't have (apt-*). To speak of a list like this is pretty silly, imho.
Networking commands are often deferred to a gui-config applet - I highly disagree with putting those on the list. And, it certainly isn't one of the "most useful" when you only have to use it a few times.. How often do you have to check dmesg? Also certainly not one of the most useful.
I often use manual page like: man ls, or man -k blabla (behave like apropos command). I think you should add man command in your list.
Sry but i beg to differ. rsync > scp htop > top cd - sudo !!(bang bang)
For serious users, xargs and strace are at the top. lots of other commands more powerful and strace is excellent for troubleshooting.
To go with df -h you have to have du -hs . or du -hs * so you can see the size of the current directory and the files and directories in the current directory respectively. An awesome list I use almost everyone of them daily.
Apache does not need to be run as root, hence the standard www or www-data user :P It's a bit of a security risk to run as root.
du /var/ -h --max-depth=1 lists the size of all subfolders in a specified folder.
Posted by Mikael on 2010-06-30 15:43:33.