Posts

Showing posts from April, 2011

50 câu lệnh Linux phải nhớ

Image
clear : làm sạch cửa sổ dòng lệnh ls  tenthumuc :      Liệt kê nội dung bên trong một thư mục cat  tentaptin :      Hiển thị nội dung của một tập tin lên cửa sổ dòng lệnh rm  tentaptin :      Xóa một tập tin cp  taptinnguon taptindich : Sao chép một tập tin passwd : Đổi mật khẩu motd :      Thông điệp của ngày finger  tentruycap :      Chương trình tìm kiếm thông tin người dùng startx : Khởi động X Window System server less  tentaptin  hoặcr  more  tentaptin : Hiển thị nội dung một tập tin trong cửa sổ dòng lệnh một trang mỗi lần info :      Hiển thị thông tin và tài liệu trên shell, các tiện ích và chương trình. lpr  tentaptin :      Gửi tập tin tới máy tin grep  chuoi tentaptin : tìm kiếm chuỗi trong tập tin head   tentaptin :      Hiển thị 10 dòng đầu tiên của tập tin tail   tentaptin :      Hiển thị 10 dòng cuối cùng của tập tin mv  tentaptincu      tentaptinmoi : Di chuyển hoặc đổi tên tập tin file  tentaptin :      Hiển thị thông tin về nội dung của tập tin ech

Tôi yêu cuộc sống và tôi happy...

Image
Không tay, không chân nhưng vẫn lạc quan, lướt sóng, bơi lội, chơi golf và chu du khắp thế giới chia sẻ nghị lực sống... Ly cà phê chiều thứ 7 bằng hình ảnh là món quà tặng bạn thêm ấm áp ngày đông...  Tôi yêu cuộc sống và tôi happy... Khi mọi sự trở nên tồi tệ, lúc tai nạn ập đến bất ngờ, khi bạn trở nên vô vọng và mất hẳn niềm tin với cuộc sống, hay đơn giản, bạn cần một bờ vai để nhen nhóm niềm tin...video này ắt hẳn là hợp-vừa-ý-bạn-đấy! Nick Vujicic sinh ra vào một ngày tháng 12 năm 1982, cả gia đình buồn phát khóc vì khi ấy anh chỉ là một thỏi thịt nhỏ bé với cái đầu nhỏ ngọ nguậy, không tay, không chân. Bằng cách nào mà chàng trai không khác gì nhân vật trong chuyện cổ tích sọ dừa ấy trưởng thành và có bằng cử nhân tài chính, sử dụng thành thạo bàn phím và thành diễn giả quen thuộc của nhiều trường học, các chương trình truyền hình? Câu trả lời là nghị lực và niềm tin ! Bạn có nghĩ đó là những phẩm chất  bẩm sinh? Chơi golf Viết bảng Thời đi học

Lingoes is a dictionary and multi-language translation software...

Image
Lingoes is free... Lingoes   is an easy and intuitive dictionary and text translation software, It offers lookup dictionaries, full text translation, capture word on screen, translate selected text and pronunciation of words in over 80 languages. These language are   English, French, German, Italian,   Spanish, Portuguese,   Russian, Greek, Swedish, Turkish, Chinese, Japanese, Korean, Polish, Arabic, Hebrew, Vietnamese, Thai   and more... Home: http://www.lingoes.net/ Download:  http://www.mediafire.com/?sblf9m8pqrbmuhc#1

Nguồn gốc của 7 ngày trong tuần

Image
Tại sao tuần lễ lại có 7 ngày ? Vì sao số 7 lại được coi là con số "mầu nhiệm"? Bởi vì nó được xuất phát từ quan niệm của người châu Âu và liên quan đến hiểu biết của các nhà khoa học thời ấy về vũ trụ. Theo họ, trái đất là trung tâm của vũ trụ, có 7 hành tinh quay xung quanh nó là Mặt Trời, Mặt Trăng và các vì sao Kim, Mộc, Thủy, Hỏa, Thổ và ngày ấy con người cũng mới biết đến 7 nguyên tố kim loại là vàng, bạc, đồng, sắt, chì, kẽm và thủy ngân. Họ coi 7 nguyên tố đó tương ứng với 7 hành tinh trong hệ mặt Trời, nên đã lấy mỗi ngày tượng trưng cho một hành tinh mà theo thế giới quan của họ mỗi hành tinh là một vị thần và được đặc trưng bởi nguyên tố kim loại với những tính chất nhất định. Nguồn gốc 7 ngày trong tuần + Ngày đầu tiên trong tuần lễ được coi là ngày của vị thần thân thiết nhất, quan trọng nhất là Mặt Trời và ứng với thứ kim loại quý nhất là VÀNG. Đó là ngày Chủ Nhật. Tiếng Anh gọi là Sunday, tiếng Đức là Sonntag có nghĩa là ngày Mặt Trời. + Ngày thứ Hai

Barca vs Real ....El Clásico 243

Image
Đêm nay không biết ông nào thắng, mất công thức muộn đến giờ này mà kết quả cuối cùng như trận đầu mùa (5-0) thì kể cũng phí...Giờ buồn ngủ quá, chẳng nhẽ lại đi ngủ... Giờ là 23h38' ngày 19/04/2011...còn gần 3 tiếng nữa thôi...vẫn nên ngủ chút cho lành...Barcar lại thắng thôi!

Những luật 'khó đỡ' về sex trên thế giới

Image
Một số bang, quốc gia có những điều luật về "chuyện ấy" thực sự nằm ngoài sức tưởng tượng của teen. Không tin đọc biết liền. 1. Guma - Gái còn trinh sẽ không được kết hôn  (Tớ thích cái này...) Ở đất nước Guma, công việc của một số người đàn ông chỉ là lượn lờ các khu vực ngoại ô để nhận một ân huệ đặc biệt - Lấy đi cái quý giá ngàn vàng của các cô gái. Lý do: theo luật pháp Guma, các cô gái còn trinh trắng sẽ không được kết hôn. 2. Trung Đông - Quan hệ với con cừu nào thì phải ăn thịt luôn con cừu đó Hầu hết các nước Trung Đông đều thông qua đạo luật sau: "Sau khi chót quan hệ tình dục với một con cừu, thì phải ăn thịt nó để bù lại sự hủy hoại đạo đức". 3. Lebanon - Quan hệ với động vật giống đực sẽ bị tử hình Cũng tương tự, đàn ông Lebanon được phép làm "chuyện ấy" với động vật, nhưng đó phải là giống cái. Nếu bị bắt gặp quan hệ với con đực, sẽ bị tử hình. 4. Anh - Bác sỹ nam chỉ được nhìn "cô bé" qua gương phản chiếu Luật ph

Kiến trúc Linux - Unix

Image
Tác giả của ebook này là thầy giáo dạy mình môn Hệ điều hành mở ... Mô tả ebook: Kiến trúc Linu/Unix A. Tổng quan:   Vài nét về Hệ Điều hành   B. Unix/Linux   Chương I. Tổng quan hệ thống Unix   Chương II . Hệ thống tệp (file subsystem)   Tổng quan về Hệ thống tệp Gọi Hệ Thống thao tác tệp (System call for FS)   Chương III. Tiến Trình (process)   Tổng quan về tiến trình Cấu trúc của Tiến trình   Kiểm soát tiến trình   Chương IV. Liên lạc giữa các tiến trình   Chương V. Các hệ thống vào ra (I/O subsystem)   Chương VI . Đa xử lí (Multiprocessor Systems)   Chương VII Các hệ Unix phân tán (Distributed Unix Systems)   Phần 2: Lập trình trong Unix   Phần 3: Lập trình mạng trong Unix Download:    http://www.mediafire.com/?zmjytywmljd

Linux Networking Clearly Explained

Image
Passionately democratic in its advocacy of networking for the masses, this is the first book on Linux networking written especially for the novice user. Because the free, open-source Linux operating system is winning so many converts today, the number of Linux-based networks will grow exponentially over the next few years. Taking up where Linux Clearly Explained left off, Linux Networking Clearly Explained walks the reader through the creation of a TCP/IP-based, Linux-driven local area network, beginning with a "sandbox" installation involving just two or three computers. Readers master the fundamentals of system and network administration-including handling user accounts and setting up security-in this less complex environment. The author then helps them along to the more sophisticated techniques associated with connecting this network to the Internet. Linux Networking Clearly Explained Focuses on the 20% of Linux networking knowledge that satisfies 80% of network needs

Unix Shell Programming, 3rd Edition

Image
Unix Shell Programming is a tutorial aimed at helping Unix and Linux users get optimal performance out of their operating out of their operating system. It shows them how to take control of their systems and work efficiently by harnessing the power of the shell to solve common problems. The reader learns everything he or she needs to know to customize the way a Unix system responds. Unix Shell Programming, Third Edition The vast majority of Unix users utilize the Korn shell or some variant of the Bourne shell, such as bash. Three are covered in the third edition of Unix Shell Programming. It begins with a generalized tutorial of Unix and tools and then moves into detailed coverage of shell programming. Topics covered include: regular expressions, the kernel and the utilities, command files, parameters, manipulating text filters, understanding and debugging shell scripts, creating and utilizing variables, tools, processes, and customizing the shell. Download:  http://www.mediaf

Mastering UNIX Shell Scripting

Image
By Randal K. Michael  Publisher: Wiley Number Of Pages: 640 Publication Date: 2003-01-31 ISBN-10 / ASIN: 0471218219 ISBN-13 / EAN: 9780471218210 Binding: Paperback  Mastering Unix Shell Scripting Book Description:  Provides readers with end-to-end shell scripts that can be used to automate repetitive tasks and solve real-world system administration problems. Targets the specific command structure for four popular UNIX systems: Solaris, Linux, AIX, and HP-UX. Illustrates dozens of example tasks, presenting the proper command syntax and analyzing the performance gain or loss using various control structure techniques. Web site includes all the shell scripts used in the book Download:    http://www.mediafire.com/?2wzeyzmlydz

Notepad++ - Editor open sourcr software

Image
Notepad++  is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by  GPL  License. NotePad++ is open source software! Based on the powerful editing component  Scintilla , Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment. You're encouraged to  translate Notepad++  into your native tongue if there's not already a translation present in the Binary Translations page . And if you want,  help translating Notepad++ official site  into your native tongue would be greatly appreciated. Homepage: 

Sự khác biệt giữa InnoDB và MyISAM

Image
The big difference between MySQL Table Type MyISAM and InnoDB is that InnoDB supports transaction InnoDB supports some newer features: Transactions, row-level locking, foreign keys InnoDB is for high volume, high performance Difference between InnoDB and MyISAM Most people use MyISAM if they need speed and InnoDB for data integrity. You can use more than one or any combination of these table types in your database. Remember to asses the needs of your application before building it. Even though MyISAM is faster than InnoDB in the MySQL world,  InnoDB  is fast compared to any database engine . With InnoDB you get transactions, speed and integrity three features not usually used in the same sentence. InnoDB  has been designed for maximum performance when processing large data volumes. Its CPU efficiency is probably not matched by any other disk-based relational database engine. Fully integrated with MySQL Server, the  InnoDB  storage engine maintains its own buffer pool for

Hiển thị proccess MySQL khi hoạt động

Lệnh sau sẽ cho người quản lý MySQL biết các hoạt động realtime trên MySQL: mysql> show processlist; Nó sẽ hiện thị ra màn hình như sau: +-----+-------+-----------+----------+---------+------+-------+------+ | Id | User | Host | db | Command | Time | State | Info | +-----+-------+-----------+----------+---------+------+-------+------+ | 709 | admin | localhost | database | Sleep | 879 | | NULL | | 710 | admin | localhost | database | Sleep | 766 | | NULL | | 711 | admin | localhost | database | Sleep | 1330 | | NULL | +-----+-------+-----------+----------+---------+------+-------+------+ Kill process này: mysql> kill 709;

Khôi phục mật khẩu user root của MySQL

Image
Có 3 cách để khôi phục lại mật khẩu user root MySQL . Bài viết sau sẽ hướng dẫn các bạn thực hiện việc thay đổi này Khôi phục lại mật khẩu user root của MySQL Cách 1: obviously, before starting messing around check my.cnf or scripts for passwords entries, then try home directories for password files Cách 2: Nếu bạn có thể khởi động lại được mysql, hãy khỏi động ở tùy chọn –skip-grant-tables , sau đó đăng nhập vào M ySQL thay đổi lại mật khẩu user root. Khi hoàn thành hãy khởi động lại MySQL bình thường (không có  –skip-grant-tables ) Cách 3: (Chỉ dành cho hệ thống Linux/Unix) Nếu bạn không sử dụng được 2 cách trên thì hãy làm theo cách 3 sau đây: cd   data /mysql cp   -rp user.MYD bck_user.MYD_` date   +%Y%m%d` cp   -rp user.MYD  /tmp/user .MYD vi   /tmp/user .MYD  #(edit the hashed passwords next to root*) cp   -rp  /tmp/user .MYD user.MYD sudo   kill   -HUP `pidof mysqld` Chúc các bạn thành công.