E hèm! Hồi xưa phải ngồi viết script để chạy một command trên nhiều host. Giờ thì đã có Parallel SSH (pssh), ý tưởng thì cũng giống mình đã làm, cần một host file chứa danh sách hosts rồi chạy command… more →
fongthai.wordpress.comkrazv7rvn9 wrote 2 months ago: script là một lệnh có trong gói util-linux mà hầu hết các bản linux hiện thời đều cài sẵn. Với scrip … more →
krazv7rvn9 wrote 6 months ago: Mở hoặc tạo mới file ~/.bashrc và chèn thêm các dòng sau: if [ -z "$UNDER_SCRIPT" ]; then logdir=$HO … more →
thailehuy wrote 7 months ago: Source: http://pablotron.org/software/wirble/ Wirble is a set of enhancements for Irb. Wirble enable … more →
thailehuy wrote 10 months ago: Source: http://www.rubyinside.com/wicked-cool-ruby-scripts-by-steve-pugh-1462.html Wicked Cool Ruby … more →
tuyetkiem wrote 1 year ago: Bài viết liên quan Tôi thấy 1 script hữu ích cho nautilus ở đây . Nó cho phép add 1 font vào hệ thốn … more →
fongthai wrote 1 year ago: E hèm! Hồi xưa phải ngồi viết script để chạy một command trên nhiều host. Giờ thì đã có Parallel SSH … more →
fongthai wrote 1 year ago: Xin giải thích ngay ý nghĩa của scipt này: Nó sẽ monitor một host nào đó, nếu host đó thay đổi trạng … more →
khoahuynh wrote 1 year ago: By Khoa Huynh – Vina Consulting Recently, I am looking for the good wiki system for some my si … more →
fongthai wrote 1 year ago: Đôi khi có một script – thường là người khác viết, nó chạy giống như là một service – có … more →
fongthai wrote 1 year ago: Chỉ với vài ba command trên Linux, chúng ta có thể viết một đoạn script nhỏ để cập nhật giá vàng, đô … more →
manhnd wrote 2 years ago: Debian uses a Sys-V like init system for executing commands when the system runlevel changes – … more →
manhnd wrote 2 years ago: #!/bin/sh external_int="eth0" external_ip="`ifconfig $external_int | grep 'inet addr' | awk '{print … more →