Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Hệ điều hành
Lecture Operating systems: Lesson 10 - Dr. Syed Mansoor Sarwar
Đang chuẩn bị liên kết để tải về tài liệu:
Lecture Operating systems: Lesson 10 - Dr. Syed Mansoor Sarwar
Diễm Liên
55
20
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Lecture Operating systems: Lesson 10 - Dr. Syed Mansoor Sarwar. The main topics covered in this lesson include: input, output, and error redirection in UNIX/Linux; FIFOs in UNIX/Linux; use of FIFOs in a program and at the command line; . | Operating Systems Lecture 10 Agenda for Today Review of previous lecture Input output and error redirection in UNIX Linux FIFOs in UNIX Linux Use of FIFOs in a program and at the command line Recap of lecture Review of Lecture 9 UNIX Linux IPC tools and associated system calls UNIX Linux standard files and kernel s mechanism for file access Use of pipe in a program and at the command line Input Output Error Redirection You can use the Linux redirection features to detach the default files from stdin stdout and stderr and attach other files with them. Input Redirection Input Redirection command lt input-file command 0 lt input-file Purpose Detach keyboard from stdin and attach input-file to it i.e. command reads input from input-file and not keyboard Input Redirection cat lt Phones contents of Phones grep Nauman lt Phones output of grep Output Redirection Output Redirection command gt output-file command 1 gt output-file Purpose Detach the display screen from stdout and attach output-file to it i.e. command sends output to output-file and not the display screen Output Redirection cat gt Phones your input grep Ali Phones gt Ali.phones output of grep find -name foo -print gt foo.log error messages Error Redirection Error Redirection command 2 gt error-file Purpose Detach the display screen from stderr and attach error- file to it i.e. error messages are sent to error-file and not the display screen Error Redirection find -name foo -print 2 gt errors output of the find command ls -l foo 2 gt error.log output of the find command cat error.log ls foo No such file or directory find -name ls -print 2 gt dev null bin ls UNIX Linux FIFOs IPC for communication between related or unrelated processes on a computer P1 P2 FIFO UNIX Linux System UNIX Linux FIFOs A file type in UNIX Created with mknod or mkfifo system call or by mkfifo command UNIX Linux FIFOs Unlike a pipe a FIFO must be opened before using it for communication A write to a FIFO that no process has opened for .
TÀI LIỆU LIÊN QUAN
Lecture Operating systems: Lesson 3 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 4 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 2 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 1 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 5 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 6 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 7 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 8 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 9 - Dr. Syed Mansoor Sarwar
Lecture Operating systems: Lesson 10 - Dr. Syed Mansoor Sarwar
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.