File/Directory Permission In Linux/Ubuntu/CentOS
Account Management In Linux/Ubuntu/CentOS
Mục lục1. Tạo mới Group/User
2. Thêm/xóa user trong group
3. Profiles/Policies cho User
Nội dung:
1. Tạo mới Group, User mới
Commands
Diễn Giải
cat /etc/group
Kiểm tra các group hiện tại đang tồn tại trên hệ thống
(...)
Hard Links & Symbolic Links In Linux/Ubuntu/CentOS
Khi một file hoặc folder được tạo ra trong Linux nó sẽ tạo ra 1 số cho file
hoặc folder đó. Số đó gọi là INODE và đây là dãy số duy nhất trên hệ thống của
Linux nhằm mục đích quản lý.
Ví dụ:
khanhvc@ubutu:~/projects$ ll -i
total 12
2621505 drwxrwxr-x 3 khanhvc khanhvc 4096 Thg 9 23 14:05 ./
(...)
Basic File Editing - Vim In Linux/Ubuntu/CentOS
Regular Expression In Linux/Ubuntu/CentOS
Nội dung:
Tạo Regular Expression (RegEx) đơn giản
Sự khác nhau giữa RegEx căn bản và RegEx extended (Egrep)
Commands
1. Grep - Global RegEx: In ra dòng nếu tìm thấy mẫu (patterns)
Cú Pháp
Ví Dụ
Giải Thích
grep(...)
Using Streams, Pipes & Redirects - STDOUT/STDIN/STDERR In Linux/Ubuntu/CentOS
Nội dung:Redirecting standard input/output/errorPipe: dữ liệu output của command này trở thành dữ liệu input của command khácSử dung output của command như là argument của command khácĐẩy output của command đến stdout và log fileCommand
Lệnh
Giải Thích
Ví Dụ
>
(...)
Subscribe to:
Posts (Atom)