Linux sh script exception: Bad Interpreter: no such file or directory

LinuxSh script exception: Bad Interpreter: no such file or directory   From: http://huangchaobiao111.blog.chinajavaworld.com/entry/4484/0/ Run the. Sh script in Linux./bin/sh ^ m: Bad Interpreter: no such file or directory is abnormal. Analysis:

Common Unix/Linux commands: Man, Su, PS, ls, etc.

MAN: manual refers to the manual. You can use this command to query the usage of other commands. PWD: Print working directory indicates a password. Su: Switch the swith user to the root user. CD: Change directory switch directory Ls: List

Restore Rm-RF files in Linux ext3 ext4 by mistake

Today, Rm-RF. * deleted an important email directory. Fortunately, it was restored through extundelete.Write down the operation process:1. PreparationsMainly throughExtundelete 0.2.0 Recovery completedDependent on two packages Sudo aptitude

Compile and update the kernel version in Ubuntu 8.04 Linux

Ubuntu 8.04 was tested on the virtualbox virtual machine. 1. Download the kernelSource code Http://www.kernel.org/ Download the latest stable version of the Linux kernel is: 2.6.25.7. Click "F" to download it.Http://www.kernel.org/pub/linux/kernel/v2

In Linux, CP directly overwrites the method without prompt

When a new server is deployed, No matter what parameter-F is added or whether the request is overwritten, this is intolerable when a large number of CP overwriting operations are performed. Copy the files under directory A to directory B CP-r a/*

Count the number of files in the current folder in Linux

1) count the number of files in the current folderLs-L | grep "^-" | WC-l 2) count the number of directories in the current folder Ls-L | grep "^ d" | WC-l 3) count the number of files in the current folder, includingLs-LR | grep "^-" | WC-l 4)

Concise Linux Command Line notes: CMP

ArticleDirectory Parameters Option Example Tips Compare two files CMP [Options]File1 file2   CMP is used to compare two files in bytes. If the two files are the same, CMP does not display any content. Otherwise, CMP

Linux: Basic command: view disk space. netstat and WC are simple to use.

View disk space, DF command DF-lH   You can use netstat to view network port information. Display netstat-N with IP Address Netstat-N | grep Reg can add some filtering information Netstat-N | WC-l count the total number of net stat-n  

Next, let's talk about folder permissions in Linux.

Some netizens said that the log I wrote was too simple. Well, I will give it a little more details. In fact, it is very difficult: For details, don't want to see it. For simple reasons, you can't understand it! InHomezzIn the data transfer process

Linux founder hopes to increase the number of Linux kernel performance tests

In March 31, Linux founder Ranas torvalz advocated increasing the number of regular performance tests on the Linux kernel to promptly identify the causes of performance degradation. Currently, only a few of the latest linux kernels have

System Management commands required for Linux

For Linux systems, whether it is a central processor, memory, disk drive, keyboard, mouse, or user, it is a file. Linux system management commands are the core of its normal operation. After familiarizing yourself with common Linux File Processing

Build a lamp environment with Linux _ source code (2)

This section describes the installation and configuration of some common plug-ins and tools. 1. eaccelerator Eaccelerator is a free and open source PHP accelerator that optimizes and dynamically caches content, This improves the cache

Linux kernel update

I. kernel Introduction Kernel is the core of an operating system. It manages system processes, memory, and device drivers. Program File and network systems determine the system performance and stability. An important feature of Linux is its Source

Install source insight using wine in Linux

Http://blog.chinaunix.net/space.php? Uid = 20587912 & Do = Blog & id = 405022   Windows Souce insight is a very classic C compiler. Both application development and compilation are quite good. Linux has kcodes, but the function is not as good as

Basic knowledge about Linux hard disk partitioning

To install L I n u X, you must prepare hard disk space for it. This hard disk space must be used with other operating systems installed on your computer (such as wi n d o w s, o s/2 or another version of L I n u X) the disk space used is separated.

Collect common Linux commands

Summary of common Linux commands: I. Common commands: 1. Date: print or set the system date and time 2. stty-A: You can view or print control characters (CTRL-C, Ctrl-D, Ctrl-Z, etc) 3. passwd: print or set the system date and time (view with passwd-

Linux Startup Flowchart

  Reference :《Analyze the Linux Startup Process"   Appendix:Analyze the Linux Startup Process   Taking redhat9.0 and i386 as examples, this article analyzes the Linux Startup Process from user power on to command line prompt on the screen. It also

Linux File System vs Windows-based File System

Despite many similarities, there are still many differences between Linux file systems and Windows file systems like MS-DOS: In a MS-DOS, a drive letter represents a different storage device (for example, a: floppy disk and C: Hard Disk ). in

Query file information in linux

The stat System Call series include fstat, stat, and lstat, which are used to return "Related File status information". The difference between the three is that the source file setting method is different. 1 First, I would like to introduce a very

How to uninstall a Linux system on Windows XP and Ubuntu tulinux

In windows XP and linux, Ubuntu is uninstalled. Many students use the method of directly formatting and deleting linux partitions in windows, however, unfortunately, if you delete the linux partition and restart the computer, the grub> symbol will

Total Pages: 5467 1 .... 1287 1288 1289 1290 1291 .... 5467 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.