environment variables in linux shell

environment pollution in the industriallzation

environment pollution in the industriallzation

Ngày tải lên : 25/04/2013, 08:23
... capacity in environment protection 9. Strengthening and diversification of investment sources for environment protection 10. Strengthening in research and development of technologies in environment ... planning of waste matters - Planning of waste matters collection and treatment stations 3 In Vietnam, urban inundation is seriously in rain season, represent in Ha Noi City (because of rain ... toxic industrial waste matters 5. Control planning of land use and land environment pollution - Suitable and saving in planning land use; - Land environment pollution control. 6. Environment...
  • 6
  • 318
  • 0
The Linux Shell and BASH Scripting

The Linux Shell and BASH Scripting

Ngày tải lên : 24/06/2013, 01:25
... CTT  Input Input  We can input the information into script when executing the script ( interactive)  Commands : read select The Saigon CTT  The Linux Shell The Linux Shell  Shells ... The Linux Shell The Linux Shell  Shells : Bourne (sh), Bourne Again (bash), Korn (ksh), C shell (csh, tcsh)  Programs start from command line have separate environments : parameters, variables ... …  If there is more input than you are looking for, all the extras are put in the last variable. The Saigon CTT  Redirecting Input and Output Redirecting Input and Output  Input (<) or...
  • 32
  • 396
  • 0
C programming in linux

C programming in linux

Ngày tải lên : 13/09/2013, 09:23
  • 84
  • 443
  • 0
Evaluating Variables in a Flat File

Evaluating Variables in a Flat File

Ngày tải lên : 05/10/2013, 08:51
... LOCKED ++ ++ IN $REMAINING day\\(s\\) ++ ============================================================== If the password isnt changed within $REMAINING day\\(s\\), account will be locked. Instructions ... and explain why she didn’t heed the friendly e-mail warnings. The canned template file looks like this: $ENVIRONMENT account password for \\"$USERID\\" expires in $REMAINING day\\(s\\) ============================================================== ... refers to environment variables and contains customizable elements so the message can be tailored specifically to the recipient. In Chapter 36, I present a script that checks every morning for...
  • 2
  • 272
  • 0
Linux Shell

Linux Shell

Ngày tải lên : 19/10/2013, 22:15
... : Linux cất thông tin về tên máy trong tập tin /etc/hots Cú pháp: hostname Linux Shell Trang 4 Chương II : Tìm hiểu & sử dụng Linux shell ... 5.12. Tìm kiếm một tập tin : Cú pháp : - Tìm theo tên : $find đườngdẫn -name têntậptin -print - Tìm theo số i- node (i-num) của tập tin : $find đườngdẫn -inum number -print - Tìm theo tên ... Shell ), bash (Bourn Again Shell ), tcsh , csh , pdksh (Public Domain Shell ) , zsh , ash và mc . Nhưng phổ biến là : sh (Bourn Shell ), csh (C Shell ) , ksh (Korn Shell ) . Để có thể truy...
  • 35
  • 673
  • 1
Writing device drivers in Linux: A brief tutorial

Writing device drivers in Linux: A brief tutorial

Ngày tải lên : 23/10/2013, 22:15
... < ;linux/ init.h> #include < ;linux/ config.h> #include < ;linux/ module.h> #include < ;linux/ kernel.h> /* printk() */ #include < ;linux/ slab.h> /* kmalloc() */ #include < ;linux/ fs.h> ... io.h. <parlelport initial> = /* Necessary includes for drivers */ #include < ;linux/ init.h> #include < ;linux/ config.h> #include < ;linux/ module.h> #include < ;linux/ kernel.h> /* printk() ... everything */ #include < ;linux/ errno.h> /* error codes */ #include < ;linux/ types.h> /* size_t */ #include < ;linux/ proc_fs.h> #include < ;linux/ fcntl.h> /* O_ACCMODE */ #include...
  • 21
  • 437
  • 0
Sử dụng Linux Shell

Sử dụng Linux Shell

Ngày tải lên : 24/10/2013, 22:15
... e E cuối từ hiện tại Linux Shell Trang 4 Chương II : Tìm hiểu & sử dụng Linux shell I- Các lệnh cơ bản trong Linux Shell : 1. Phép kết gán ... "New York" trong đầu vào chuẩn ( standard input) Linux Shell Trang 9 Ví dụ : $hostname Linux. edu 5.17. Nén một tập tin : Tên tập tin đã nén giống như tên ban đầu và kèm theo đuôi ... bằng giây để nạp Shell TMOUT Thời gian sử dụng Shell PRID ID của tiến trình Shell Linux Shell Trang 19 then Echo $i >>printed else Echo $i >>notprinted fi done 4....
  • 35
  • 371
  • 0
Linux Shell Basic

Linux Shell Basic

Ngày tải lên : 09/11/2013, 02:15
... Linux Shell Basic Kernel Kernel là trái tim của hệ điều hành Linux. Nó quản lý tài nguyên - các tiện ích có sẵn trong Linux. Tiện ích lưu dữ liệu, in dữ liệu ra máy in, bộ nhớ, ... BASH (Bourne-Again Shell) o CSH (C Shell) o KSH (Korn Shell) o TCSH Để tìm tất cả các shell có sẵn trong hệ thống, sử dụng lệnh sau: cat /etc/shells Trong MS-DOS, tên Shell là COMMAND.COM ... các thiết bị input (như bàn phím) hoặc từ một file. Shell thì không phải là phần của kernel, nhưng sử dụng kernel để thực thi chương trình, tạo các file, • Một vài shellLinux chứa: o...
  • 2
  • 333
  • 0
Tài liệu Writing device drivers in Linux: A brief tutorial docx

Tài liệu Writing device drivers in Linux: A brief tutorial docx

Ngày tải lên : 13/12/2013, 11:15
... = Writing device drivers in Linux: A brief tutorial The “memory” driver: removing the driver 7 #include < ;linux/ init.h> #include < ;linux/ config.h> #include < ;linux/ module.h> #include ... < ;linux/ kernel.h> /* printk() */ #include < ;linux/ slab.h> /* kmalloc() */ #include < ;linux/ fs.h> /* everything */ #include < ;linux/ errno.h> /* error codes */ #include < ;linux/ types.h> ... < ;linux/ module.h> #include < ;linux/ kernel.h> /* printk() */ #include < ;linux/ slab.h> /* kmalloc() */ #include < ;linux/ fs.h> /* everything */ #include < ;linux/ errno.h> /* error codes */ #include...
  • 21
  • 412
  • 0
Tài liệu Cơ bản về Linux Shell Script pdf

Tài liệu Cơ bản về Linux Shell Script pdf

Ngày tải lên : 15/12/2013, 20:15
... hiện nay Linux là một hệ điều hành kế thừa của Unix. Linux cũng có những shell tơng tự và bạn có thể sử dụng những giới thiệu về shell ở đây với các hệ thống Linux. 3. Những loại shell hiện ... tin về loại shell nào đợc sử dụng. Mỗi khi bạn login, hệ thống sẽ đọc tệp này để lấy thông tin khởi tạo cho shell. Thông tin có thể gồm một trong những dạng sau: /bin/sh Bourne shell /bin/jsh ... /bin/sh Bourne shell /bin/jsh Bourne shell, có thêm phần điều khiển tác vụ (job control) /bin/ksh Korn shell /bin/csh C shell Bạn có thể thay đổi shell mặc định sang một loại khác bằng...
  • 15
  • 1.2K
  • 24
Tài liệu Cơ bản về Linux Shell Script ppt

Tài liệu Cơ bản về Linux Shell Script ppt

Ngày tải lên : 16/12/2013, 13:15
... hiện nay Linux là một hệ điều hành kế thừa của Unix. Linux cũng có những shell tơng tự và bạn có thể sử dụng những giới thiệu về shell ở đây với các hệ thống Linux. 3. Những loại shell hiện ... tin về loại shell nào đợc sử dụng. Mỗi khi bạn login, hệ thống sẽ đọc tệp này để lấy thông tin khởi tạo cho shell. Thông tin có thể gồm một trong những dạng sau: /bin/sh Bourne shell /bin/jsh ... /bin/sh Bourne shell /bin/jsh Bourne shell, có thêm phần điều khiển tác vụ (job control) /bin/ksh Korn shell /bin/csh C shell Bạn có thể thay đổi shell mặc định sang một loại khác bằng...
  • 15
  • 721
  • 3
Tài liệu Adding Users in Linux pdf

Tài liệu Adding Users in Linux pdf

Ngày tải lên : 21/12/2013, 19:15
... Systems, Inc. Lab 10.2.2: Adding Users in Linux Estimated Time: 20 minutes Objective In this lab, the student will learn how to create user accounts using the Linux Red Hat 7.X operating system. ... studentA4 B1 instructorB1 instructorB1 Instructor, Windows Computer B2 studentB2 studentB2 B3 studentB3 studentB3 B4 studentB4 studentB4 C1 instructorC1 instructorC1 Instructor, Linux Computer ... Systems, Inc. Step 5: Account Verification In this step, verify that the accounts were created correctly in step 4 by using the finger command. To learn about the finger command type: man finger...
  • 7
  • 334
  • 0
Tài liệu Linux Shell Basic pptx

Tài liệu Linux Shell Basic pptx

Ngày tải lên : 22/12/2013, 13:17
... file và bảo shell thực thi text file này thay vì nhập vào các lệnh. Điều này gọi là shell script. Định nghĩa: Shell script là một chuỗi các lệnh được viết trong plain text file. Shell script ... lệnh sau: $ echo $SHELL Làm thế nào để sử dụng Shell: đơn giản gõ các lệnh. Shell script là gì: Bình thường thì shell là trình giao tiếp. Có nghĩa là shell chấp nhận các lệnh từ bạn (keyboard) và ... Bất kỳ shell nào cũng đọc lệnh từ người dùng (bàn phím hoặc chuột) và bảo cho Linux Os những gì mà người dùng muốn. Nếu chúng ta cho một lệnh...
  • 2
  • 422
  • 0
Tài liệu Creating Groups in Linux docx

Tài liệu Creating Groups in Linux docx

Ngày tải lên : 18/01/2014, 05:20
... Engineering group. 3. Next, add a student account to the new Engineering group by typing: usermod –G Engineering studentA5 Press Enter. This will add the studentA5 account to the Engineering ... root user. The group is called Engineer because Linux can only display eight characters, otherwise Engineering would appear. Both the root account and the Engineering group have the same Read, ... following command: chgrp Engineering Eng 5. Verify that ownership has changed from the root to Engineering: ls –l 4 - 5 IT Essentials II v2.0 - Lab 10.2.4 Copyright  2002, Cisco Systems, Inc....
  • 5
  • 415
  • 0
Tài liệu Creating Directories in Linux pdf

Tài liệu Creating Directories in Linux pdf

Ngày tải lên : 18/01/2014, 05:20
... Inc. Step 3: Creating Directories 1. The following command sequence will not work unless the user is in the home directory. Type: cd Verify that the user is in the home directory by using ... directory structure by typing in the following command: mkdir –p chemistry/experiments/week3 Example Verify that the directories were created correctly by typing: ls –R Be sure to use ... directory. Create a graphical representation of the home directory including all of the new directories that were created in the steps in this lab. Reflection If the user did not...
  • 3
  • 339
  • 0
Tài liệu Configuring FTP Services in Linux ppt

Tài liệu Configuring FTP Services in Linux ppt

Ngày tải lên : 18/01/2014, 05:20
... Copyright  2002, Cisco Systems, Inc. Lab 10.4.4: Configuring FTP Services in Linux Estimated Time: 25 minutes Objective In this lab, the student will configure a Linux Red Hat 7.2 computer ... the FTP site anymore. If having difficulties with the Linux FTP client, try a windows computer. A Windows system can easily connect to a Linux FTP server by using a popular program called WS_FTP. ... Cisco Systems, Inc. /etc/rc.d/init.d/xinetd start 3. Check the status of the xinetd daemon: /etc/rc.d/init.d/xinetd status In the space below, write down the status of the xinetd daemon:...
  • 5
  • 363
  • 0

Xem thêm