Linux learning note (5)

2013-3-1 Export PS1 = "\ $? [\ U @ \ H \ W] \ $" Export PS1 = "\ [\ e [31m \] \ $? \ [\ E [32m \] [\ U @ \ H \ W] \ $ \ [\ e [M \]" Readelf-L | grep InterpreterThis command can be used to view which dynamic linker is used for binary files. An

Linux SCSI device hot swapping (related points/sys/block /)

sca

Let's take a look at the/proc/SCSI content. CAT/proc/SCSI Attached Devices: HOST: sci2 channel: 00 ID: 00 Lun: 00 Vendor: Seagate model: st336607lsun36g Rev.: 0507 Type: Direct-access ansi scsi revision: 03 HOST: sci2 channel: 00 ID: 01 Lun:

Tar command in Linux

Reference: it is common to use the tar command in Linux to package and compress files. If you want to break it into multiple files, you can split the final compressed package according to the specified size. This requires the split command. Example:

Linux Process Control-exec Series

It is called by the exec system. In fact, in Linux, there is no exec () function form. Exec refers to a group of functions, with a total of six functions: # Include Int execl (const char * path, const char * Arg ,...);Int execlp (const

Linux source command

  Source command usage: Source filename Purpose: read and execute the command in filename in the current bash environment. Note: This command is usually replaced by the "." command. For example, source. bash_rc and. bash_rc are equivalent.

Add a location for alias in Linux and make it take effect

The. bash_profile file is in the root directory of the account. Edit this file. Alias L. = 'LS-D. [A-Za-Z] *-- Color = tty'Alias LL = 'LS-l -- color = tty'Alias ls = 'ls-- Color = tty'Alias mmsdb1 = 'mysql-a-hmmsdb1-umms-P! ^ # AccessMmsdb'Alias

Enable automatic mounting of USB flash drives and SD cards in Linux

In Linux, we often use USB flash drives and SD card mounting. It is very difficult to manually mount or detach each time. We can use the following methods to automatically mount or detach USB flash drives and SD cards. 1. Add the following

Linux learning suggestions ~~

I have been in touch with embedded Linux for nearly three years. I have been a Linux veteran since I started my step-by-step exploration. Many colleagues or friends around me are still learning Linux, and I am always confused, to record your

Demonstration and Analysis of Linux debugging tool GDB

Source: Linux debugging tool GDB demo analysis-ckhitler log Lupa open-source CommunityHttp://home.lupaworld.com/home-space-uid-56821-do-blog-id-233717.html1) GDB debugging information 1) is a command line debugger that can be used to fully control

Network settings in Linux

Set DNS Server/Etc/resolv. conf; Generated by/sbin/dhclient-scriptNameserver 210.82.5.1Nameserver 219.141.136.10 Set IP Address:Modify the ifcfg-eth0 under the/etc/sysconfig/network-scripts/directory, ifcfg-eth1... fileFor

Linux Command ultimate series (grep)

1. Common Parameters of the grep command(1)-a num# Grep-A 1 aa test.txtDescription: searches for AA-style rows from test.txt and displays the last row of the row.(2)-B num# Grep-B 1 aa test.txtDescription: searches for AA-style rows from test.txt

Remotely connect to Ubuntu Linux from Windows

To remotely connect to Ubuntu Linux from windows, you can use either of the following methods:1. SSH2. Remote Desktop   The remote desktop mode is used here, mainly VNC.   The main steps are as follows:1. Install vnc4server In ubuntu.

In Windows 7, we asked Linux Samba about shared files.

The first two solutions are self-built. Http://www.enet.com.cn/article/2010/0512/A20100512651960.shtml By default, Windows 7 cannot normally access Shared Folders on nas or Samba servers. The reason is that, starting from Vista, Microsoft only uses

View processes in Linux

You can use the ps command. It displays information about the currently running process, including the PID of the process. Both Linux and UNIX support the ps command to display information about all running processes. The ps command can provide a

Inter-process communication in Linux-pipelines and named Pipelines

1. Pipeline overview and related API applications 1.1 key concepts related to pipelines As one of the first Unix IPC formats supported by Linux, pipelines have the following features: The pipeline is half-duplex, and data can only flow in one

Differences in uClinux Linux

For uClinux, it is designed for a processor without MMU and cannot use the virtual memory management technology of the processor. UClinux still uses paging Management of memory, and the system paging the actual memory at startup. The program is

Linux learning note (4)

2012-11-9 Chmod-v a + wt $ LFS/sources Chmod A + WTIs to set the directory or file attribute to 1777, so that anyone can read and write it. When a directory is set to "stick bit" (with chmod A + T ),1. Delete super Administrator2. Delete the owner

[Linux Command] create a user useradd

Use the root user to create a new user, useradd-M bxy, and then set the password for bxy: passwd bxy press enter, and then enter the password twice. Done. The/etc/skel directory is very useful. The file/etc/profile is under the control of the system

Two Methods for automatically mounting windows partitions when Linux is started

Linux users will certainly not be unfamiliar with the content discussed in this article. In Linux, partitions in Windows file systems are usually not automatically mounted on startup. In ubuntu, You need to click the Windows partition to mount the

Learning Linux programming with me (ii) ------ tools

I don't want to start with how to install and use Linux. It doesn't mean anything to a programmer. There is always a Linux suitable for you!I also hope that I can show you the process of learning Linux. I hope that the crowdsourced security testing

Total Pages: 5467 1 .... 4874 4875 4876 4877 4878 .... 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.