ជម្រើស

ឥរិយាបថ​លំនាំ​ដើម​សម្រាប់​ពាក្យ​បញ្ជា​ជា​ទូទៅ​អាច​នឹង​ត្រូវ​បាន​កែ​ប្រែ​ដោយ​ការបន្ថែម​ --option ទៅ​កាន់​ពាក្យ​បញ្ជា ។ ឧទាហរណ៍ ពាក្យ​បញ្ជា​ ls មាន​ជម្រើស​ -sls -s នឹង​រួម​បញ្ចូល​ទំហំ​ឯកសារ​នៅ​ក្នុង​ការ​រាយ​បញ្ជី ។ ក៏​មាន​ជម្រើស​ -h ផង​ដែរ សម្រាប់​បង្ហាញ​ទំហំ​ឯកសារ​ជា​ទ្រង់​ទ្រាយ​ human readable

Options can be grouped in clusters, so

ls -sh

is the same command as

 ls -s -h

Most options have a long version, prefixed with two dashes instead of one, so

ls --size --human-readable

is also the same command as

ls -sh