find file command in linux example

Adding Swap File Space in a Linux System

Adding Swap File Space in a Linux System

... Systems, Inc. Step 2: Adding a swap file To add swap space on a system, add a swap file by using the following steps: 1. Create a file that is equal in size to the swap file that is going to ... initialized. When it is initialized, the Linux system can use it to swap memory to a disk. Use the mkswap command to enable Linux to use the new swap file. However, the new swap file will not be active. ... following command at the shell prompt: mkswap –f /root/swap.swp or type /sbin/mkswap –f /root/swap.swp 3. To activate this swap file, use the swapon command. To make this swap file inactive,...

Ngày tải lên: 16/10/2013, 21:15

2 399 0
Tài liệu Writing a Script File in Linux pptx

Tài liệu Writing a Script File in Linux pptx

... the Linux environment. Equipment The following equipment is needed in order to complete this lab: ã A lab computer with Linux installed and running. Scenario The members of the Engineering ... Systems, Inc. Lab 10.4.10: Writing a Script File in Linux Estimated Time: 25 minutes Objective Upon completion of this lab, the student will be able to create a script file and run it in ... backup. Instead of typing all these different commands individually each time, a script file can be written to execute all of them with one command. Procedures Basic knowledge of the command line...

Ngày tải lên: 18/01/2014, 05:20

4 443 1
Hệ thống file EXT2 trong Linux

Hệ thống file EXT2 trong Linux

... (file system check). Thông thường, fsck sửa chữa thành công một cách tự động hệ thống tập tin và Linux khởi động lại dễ dàng. Tuy nhiên, nếu hư hỏng quá nặng, Linux sẽ chuyển qua chế độ single ... [root@blackboard root]# eject cdrom Windows. Khi ta đọc/ghi soft link, ta đọc/ghi tập tin; khi ta xóa symbolic link, ta chỉ xóa symbolic link và tập tin được giữ nguyên. Link được tạo bởi lệnh ln . Tự ... chgrp. Liên kết (link) tập tin: Trong Unix có 2 hình thức liên kết hoàn toàn khác nhau, đó là hard link và soft link hay symbolic link. Hard link cho phép tạo một tên mới cho tập tin. Các tên này...

Ngày tải lên: 05/11/2012, 14:37

16 2,1K 6
C programming in linux

C programming in linux

Ngày tải lên: 13/09/2013, 09:23

84 443 0
Writing device drivers in Linux: A brief tutorial

Writing device drivers in Linux: A brief tutorial

... fclose(PARLELPORT); } Writing device drivers in Linux: A brief tutorial Final application: flashing lights 18 #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> ... 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()...

Ngày tải lên: 23/10/2013, 22:15

21 438 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

... = 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> ... 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()...

Ngày tải lên: 13/12/2013, 11:15

21 412 0
Tài liệu Adding Users in Linux pdf

Tài liệu Adding Users in Linux pdf

... 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...

Ngày tải lên: 21/12/2013, 19:15

7 334 0
Tài liệu Changing File Views in Windows (showing file extensions) pdf

Tài liệu Changing File Views in Windows (showing file extensions) pdf

... Systems, Inc. Troubleshooting Changing a file view customizes the preferences. Also, important details and system files can be viewed using advanced options in the Folder Options window. System files ... Systems, Inc. Lab 5.1.6: Changing File Views in Windows (showing file extensions) Estimated time: 20 Minutes Objective Upon completion of this lab, the student will be able to change the file ... display for the files. In this lab, the student will change the File view to the preferred view. Procedures Changing the file view in Windows can reveal important information about files and sub- folders....

Ngày tải lên: 18/01/2014, 05:20

4 250 0
Tài liệu Creating Groups in Linux docx

Tài liệu Creating Groups in Linux docx

... 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 ... created by typing: grep studentA5 /etc/group The grep command looks for strings of text. In this case, the user asked the grep command to look in the /etc/group file for anything named studentA5. ... 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,...

Ngày tải lên: 18/01/2014, 05:20

5 415 0
Tài liệu Creating Directories in Linux pdf

Tài liệu Creating Directories in Linux pdf

... 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 ... pwd command. Next, create the directory structure by typing in the following command: mkdir –p chemistry/experiments/week3 Example Verify that the directories were created correctly by typing: ... home directory including all of the new directories that were created in the steps in this lab. Reflection If the user did not use the –p switch with the mkdir command, how...

Ngày tải lên: 18/01/2014, 05:20

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

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

... 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 ls command, or view the file in a KDE window. Was the file received? Y/N __________________________________________________________________ Troubleshooting If having trouble connecting to ... 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....

Ngày tải lên: 18/01/2014, 05:20

5 363 0
Tài liệu Configuring Telnet in Linux ppt

Tài liệu Configuring Telnet in Linux ppt

... Cisco Systems, Inc. Troubleshooting Configuring services like Telnet for a Linux operating system can be somewhat confusing to the inexperienced user. Editing the configuration files can be ... remotely administer a Linux server. Equipment The following equipment is required for this exercise: ã A system running Linux Red Hat 7.2 or greater ã Another system, either Linux or Windows, ... Telnet into the Linux server Scenario The student is setting up a Linux server that will need to be administered and accessed remotely. To do this, Telnet services will be installed on the Linux...

Ngày tải lên: 18/01/2014, 05:20

5 298 0
Tài liệu Checking Resource Usage in Linux pptx

Tài liệu Checking Resource Usage in Linux pptx

... Cisco Systems, Inc. Example of the du command Step 3: The top Command 1. Use the man command to learn about the top command. From a terminal window type: man top 2. In the space below, ... difference in the commands when the –hs switches are added? How much space is being used in studentA5’s home directory? 7. The du command can useful in determining the size of any directory or file ... command Step 2: The du Command (disk usage) 1. Remain logged in as the root user; Use the man command to learn about the du command. From a terminal window type: man du 2. In the space below,...

Ngày tải lên: 24/01/2014, 19:20

6 264 0
Tài liệu LESSON 2: BASIC COMMANDS IN LINUX AND WINDOWS docx

Tài liệu LESSON 2: BASIC COMMANDS IN LINUX AND WINDOWS docx

... empty. Example: rmdir tools find / -name file Find a file with the name file beginning the search in the root directory Example: find / -name myfile echo string Write the string “string” in the ... equivalences between Linux and Windows. Commands are executed from a shell (in Linux) or from a MS-DOS window (in Windows). Linux Windows command help command /h, command /? man command help command cp ... BASIC COMMANDS IN LINUX AND WINDOWS command command /h”. As another example, in Linux: “cp” is just like the Windows command, “copy”. command help command / h cp copy del mv more print deltree ls cd md rd route tracert Ping ipconfig 14 ...

Ngày tải lên: 26/01/2014, 20:20

15 502 1
Tài liệu Tìm hiểu khái niệm cơ bản về hệ thống file trong HĐH Linux pot

Tài liệu Tìm hiểu khái niệm cơ bản về hệ thống file trong HĐH Linux pot

... có file metadata, inode hoặc vị trí của file được ghi lại trước khi thực sự ghi vào ổ cứng. Các tùy chọn file system: Như đã đề cập tới ở bên trên, có khá nhiều dạng file hệ thống trong Linux ... nhau trên nền tảng laptop hoặc desktop với Linux. - Ext – Extended file system : là định dạng file hệ thống đầu tiên được thiết kế dành riêng cho Linux. Có tổng cộng 4 phiên bản và mỗi phiên ... năng hỗ trợ của file hệ thống Linux hoàn toàn khác biệt so với Windows và Mac OS X. Cụ thể, trongWindows hoặc Mac OS X , chúng ta có thể dễ dàng tìm được các ứng dụng hỗ trợ file hệ thống non...

Ngày tải lên: 26/02/2014, 06:20

6 749 3
Sharing Success--Owning Failure: Preparing to Command in the Twenty-First Century Air Force doc

Sharing Success--Owning Failure: Preparing to Command in the Twenty-First Century Air Force doc

... Texas, in 1984 and remained there as a first assignment instructor pilot (FAIP) in the Euro-NATO Joint Jet Pilot Training Program. Following Sheppard, he checked out in the F-16 Fighting Falcon ... keep information and ideas flowing daily in all directions. In almost every case study presented in this paper, as well as virtually every mishap board you will ever be involved in, a breakdown in ... in the world, asking for assis- tance. He was working on a painting of the F-16 entitled “Viper Venom” and asked for help by providing unclassified information on our squadron aircraft. Talking...

Ngày tải lên: 15/03/2014, 09:20

131 349 0
w