You are on page 1of 3

LINUX BASIC COMMANDS alias: awk: alien: banner: badblocks: biff: bg: bzip2: cardctl: cfdisk: cp: chattr:

chroot: chmod: chown: chgrp: clear: cpio: cat: chpasswd: cd: chage: cal: cron: crontab: dselect: dpkg: date: du: df: dmesg: dump: edquota: env: fdisk: fsck: fg: fuser: find: free: gcc: gpasswd: grep: getty: groupadd: groupdel: groupmod: groups: gunzip: head: hdparm: history: host: Allows you to set aliases and view the current aliases. Search for a pattern within a file. Converts .tgz and rpm's to .deb format. Prints characters as a poster. Searches a device for bad blocks. Turns mail notification on and off. move a job running in the foreground to the background. Used to compress and decompress files. Similar to gzip. Used to control PCMCIA cards. Used to partition a hard disk. Copy Changes the attributes of a file or folder. Change the root directory for a command. Used to change permissions on a directory or file. Used to change the owner of a file or directory. Used to change the group a file belongs to. Clears the screen Copies file. Displays the content of a file Used to change a large number of passwords at once. Changes directories. Sets password aging parameters. Displays a calendar. Used to execute commands at a certain time. Allows you to view or edit the current cron jobs. A graphical front end for dpkg. Installs packages on debain distro's. Prints current date to the screen Lists disk usage in a directory. Reports disk usage information. df -h Used to view the kernel boot file. Used for backing up. Sets quotas for specific users. Lists current environment variables. Used to create/edit/delete partitions. Checks a file system for consistency. Used to send jobs to the background. Checks to see what processes and users have open files. Searches for a file. Will show total memory, used memory, and free memory. Used to compile C, Assembler, and Preprocessed C source. Used to set a password for a group. Used to search through a file for a specified pattern. Set terminal type, modes, speed, and line discipline Create new group account. Deletes a group. Used to modify a group. Shows what groups a user is part of. Uncompress files compressed by gzip. Displays the first 10 lines of a file to the screen. Gets disk information. Lists recently executed commands. Used to get DNS info.

htpasswd: websever. id: insmod: init: isapnp: icmpinfo: jobs: join: kill: killall: kernelcfg: klogd: linuxconf: lpc: lpq: lpr: ls: ln: less: locate: ldd: ldconfig: last: lastlog: lsmod: lsattr: logrotate: mount: modinfo: modprobe: man: mesg: manpath: mail: mkdir: mke2fs: mv: merge: more: minicom: mkbootdisk: ntsysv: nice: nslookup: netstat: ps: ping: pwd: pwconv: pnpdump: quota: quotaon: quotaoff: repquota: rmmod: rm:

Allows you to set usernames and passwords for your Display information about yourself or another user. Installs modules. Used to change run levels. Sets up ISA cards. Intercept and interpret ICMP packets Used to show jobs running in the background. Join lines of two sorted. Used to kill a process. Kill processes by command name. A graphical application configures Linux. Control which kernel messages. A command line GUI which lets you configure your linux Used to control a line printer. View the print spool queue. Send files to the printer spool queue. Displays a directories contents. Used to create hard and symbolic links. Display the contents of a file Search for a file or directory. Shows what shared libraries a program is dependent on. Used to configure/view shared libraries. Lists logins and reboots. Print the last login times for system accounts. Lists loaded modules. Lists the attributes for a file or folder. Used to manipulate log files. Used by itself, reports the currently mounted files. Give info about the module. Queries modules. Displays the Man page for a given command. Used to allow/not allow 'write'. Attempts to determine the path to a man page. Used to send and receive mail. Make directory Used to format a partition with the Ext2 file system. Move/Rename Merge multiple files together. Lets you page through text one screen full at a time. Great utility for troublshooting a modem. Used to make a boot disk. Used to select what services should automatically start. Used to set process priorities. Used to get DNS info from name servers. Shows active sockets. Displays current processes Used to test connectivity between two hosts. Present Working Directory Used to set up the /etc/shadow file. Determines settings for existing ISA cards. Allows users to view their own disk quotas. Turns on disk quotas for the system. Turns off disk quotas for the system. Provides reports of disk usage for various users. Removes modules. Remove

rmdir: rpm: rpcinfo: route: smbclient: smbadduser: smbpasswd: set: setquota: sort: sndconfig: su: spell: startx: shutdown: suspend: showmount: swapon: swapoff: testparm: tar: timeconfig: tac: touch: tail: talk: tr: traceroute: top: useradd: usermod: userdel: umount: updatedb: uname: vmstat: vi: whereis: who: whoami: wc: which: write: whois: wall: xman: xf86config: zcat:

Remove directory (RedHat flavors only)Used to install RPM's Used to see what rpc services are available. Used to view/change routes between you and other hosts. Used to connect to Windows shares or Samba. Maps linux user names to Windows NT user names. Used to update the smbpasswd file with new accounts. Used to read and write variables. Used to set disk quotas. Sorts lines in a file by alphabetical order. Used to probe and configure a sound card. Change to Super User (root). Checks for spelling errors in a file. Start the X Server (GUI) Shutdown machine Places a shell in the background. Shows mount information for an NFS server. Turns on the swapfile. Turns off the swapfile. Used to troubleshoot Samba. Used to compress multiple files. Used to set the timezone on your machine. View a file from the last line up. Creates an empty file. Displays the last 10 lines of a file to the screen. Used to chat with another user on the same machine. Converts one set of characters to another. Used to track the path a packet takes to a host. Shows information about the most CPU-intensive Apps. Add a user. Modify a user. Delete a user. Removes a device from the filesystem. Updates the locate database. Determines OS name, version and machine name. Lists information on memory usage. A text editor Finds documentation files. Tells you who is logged into your server. Tells you your user information. Print the number of bytes, words, and lines in files Finds the full path for a command. Used to send a message to another user. Used to query servers for info on. Writes a message to all logged in users. Graphical interface for man pages. Used to configure X. Read files that have been compressed with gzip.

You might also like