Commands in Linux
Hello.
This is list of simple commands on linux. Forgot useful command? Add in your posts. ls – show folders and files chmod - change permission to folder/file mc - program as norton commander chown - add permission to user less – iskanje datoteke ali mape chgrp - change groups rm - delete folder/files mv - move folder/file man - show help for each command info - information cp –help - show help cp - copy folder/file pwd - current folder cd - go in folder cd ~ - go in home folder mkdir - make folder |
One of my favourites:
fortune -o - shows "offensive" (maybe to some people) quotes, some satirical, some obscene(?), some wise. |
apropos - search the man pages headings and descriptions (Useful to find commands)
grep - print lines matching given pattern |
'sed' - a stream editor. One of the most useful tools that lets you do various things quickly.
More examples here: http://www.grymoire.com/Unix/Sed.html |
vi and awk?
|
ps - shows current processes
|
top
|
Some more advenced use of mkdir:
Code:
mkdir -p media/{films/{fiction,non-fiction},music/{jazz,rock,guitar},pics/{wallpapers,pics}} The above command will create the following directory structure: Code:
$ tree media |
Quote:
Strictly speaking it is an advanced use of bash's brace expansion. |
My all time favorite: dd
|
Quote:
|
Quote:
|
Hi,
Look at Linux Command Guide as it will cover more than you should ever need to know about. Just a few more links to aid you to gaining some understanding; 1 Linux Documentation Project 2 Rute Tutorial & Exposition 3 Linux Command Guide 4 Bash Beginners Guide 5 Bash Reference Manual 6 Advanced Bash-Scripting Guide 7 Linux Newbie Admin Guide 8 LinuxSelfHelp 9 Getting Started with Linux The above links and others can be found at 'Slackware-Links'. More than just Slackware® links! |
All times are GMT -5. The time now is 11:16 PM. |