Archive for the 'linux-command A-Z' Category

ແກ້ file audio ເປັນ mp3 ດ້ວຍ bash script

ການທີ່ຕ້ອງ Rip ເພງທີ່ເປັນ audio disc ໄປເປັນ mp3 ນັ້ນທຳມະດາແລ້ວ ມີ software ຫລາຍໂຕທີ່ເຮັດໄດ້ແຕ່ບົດຄວາມນີ້ມາກ່ວາເຖິງການ rip ເພງຈາກຊີດີ ມາເກັບໄວ້ເປັນ mp3 ຜ່ານ bash script ກັນ ລັກສະນະການເຮັດວຽກຄື ເມື່ອເຮົາສັ່ງເຮັດວຽກໂປຣແກຣມ ໂຕ script ຈະຖອດ file ສຽງທັງຫມົດມາເປັນ mp3 ແລ້ວຈະຈັດເກັບຢູ່ ໂຟ້ນເດີ້ ປະຈຸບັນ ທຳອິດຕິດຕັ້ງ package ທີ່ຈຳເປັນ ໃຊ້ apt-get ຫລື aptitude ກໍ່ໄດ້ $ sudo aptitude install lame cdda2wav ສ່ວນຂອງ script ໃຊ້ editor ຕາມແຕ່ມັກ

group install ໃນ ubuntu ແລະ fedora

ການໃຊ້ command line ໃນການຕັ້ງpackage ບໍ່ວ່າ YUM ຫລື APT ແຕ່ຫາກໃຜທີ່ບໍ່ທະຫນັດ ກໍ່ຄືຊິເຄິຍໃຊ້ synaptics ໃຜມັກໂຕໃດກໍ່ເອົາໂຕນັ້ນ ແຕ່ກັບໃຜທີ່ມັກແບບ comand ມື້ນິ້ມີວິທີຕິດຕັ້ງsoftware ແບບບໍ່ຕ້ອງຈື່ຊື່ package ແບບລະອຽດຫມົດທຸກໂຕ ເອົາງ່າຍໆເຮົາຈະຕັ້ງ DNS Server ທ່ານບ່ຈຳເປັນຕ້ອງຈື່ຊື່ package ທີ່ຕ້ອງໃຊ້ທັງຫມົດ ແຕ່ທ່ານສາມາດຕິດຕັ້ງງ່າຍໆຜ່ານເຄື່ອງມືໂຕທີ່ເຮົາກຳລັງເວົ້າເຖິງນີ້ຢູ່ ໂຕຈັດການຊຸດໂປຣແກຣມດັ່ງກ່ວາ ມີທັງ ubuntu ແລະ fedora ເຮົາມາເບີ່ງ Ubuntu ກັນກ່ອນຕົວຢ່າງງ່າຍໆເລີຍ ການເຮັດ dns server ນີ້ແຫລະ ແຕ່ຊົ່ວຊິຕິດຕັ້ງແລ້ວຕ້ອງຈື່ຫຍັງອີກສຳມະປິ ແຕ່ເຮົາມາຕັ້ງ Group Install ຜ່ານ tasksel ກັນເລີຍ sudo tasksel install dns-server ພຽງທໍ່ນີ້ກໍ່ຕິດຕັ້ງ DNS Server ແລ້ວໆຖ້າຢາກຣູ້ວ່າມີ tasks ຫຍັງແດ່ກໍ່ໃຊ້ sudo [...]

how to use find command

sudo find / -type f -name *.jpg -exec cp {} . \; find . -type f -size +10000 -exec ls -al {} \; find . -atime +1 -type f -exec mv {} TMP \; # mv files older then 1 day to dir TMP find . -name “-F” -exec rm {} \; # a script [...]

A-Z Index of the Linux BASH command line

alias Create an alias apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian) aspell Spell Checker awk Find and Replace text, database sort/validate/index b bash GNU Bourne-Again SHell bc Arbitrary precision calculator language bg Send to background break Exit from a loop builtin Run a shell builtin bzip2 Compress [...]

Ubuntu: For Desktops, Servers, Netbooks and in the cloud