ABC Of Bash Commands
alias: If creating an alias is what you want, then this is it. apropos: We’re not the only ones providing help. This command you to search through the Help manual pages. apt-get: This one works on Debian and Ubuntu distros. It is used to install and search for software packages. aptitude: See the similarity with the above command? This one does the same thing. aspell: Got bad spellings? Use the spell checker. awk:No, this command is not for awkward situations. It lets you find text and replace it. Also, you can sort, index and validate things in a database. B basename: Sometimes files and directories have suffixes to their names. This one strips them off it. bash: GNU Bourne-Again Shell bc: This command is an arbitrary precision calculator language bg: bg could stand for background couldn’t it? Regardless, that’s what it does, sends to the background break: Exit from a loop builtin: Run a shell builtin bzip2: When there’s ‘zip’ in the name, that’s what it does. It compresses or decompresses files that are named. C cal: Need a calendar? This command displays one. case: In ‘case’ you want to perform a command conditionally. This is how to do it. cat: In programming, ‘cat’ usually stands for concatenate. Here too, but this command displays the content of the files after concatenation. cd: Change Directory cfdisk: In Linux, this command is the partition table manipulator chgrp: This is how you change the ownership of a group. chmod:‘Ch’ is for change. This one changes the access permissions. chown: This one sounds too much like clown! Anyway, it’s not funny though. It changes the owner and group of a file. chroot: Using this you can run a command, but with a different root directory chkconfig System services (runlevel) cksum: It displays the CRC checksum ad byte counts. clear: If you need to clear the terminal screen, use this command. cmp: Compare two files comm: Compare two sorted files line by line command: Run a command - ignoring shell functions continue: This is for resuming the next iteration of a particular loop. cp: Make a copy of files to a different location. cron: Daemon to execute scheduled commands crontab: Scheduling is sometimes very important. This command does it, it schedules a command that will run at a specified time. csplit: Split a file into context-determined pieces cut: When you need to cut down a file into parts, this is the command to use. |
Comments
Post a Comment