Linux Beginner's function

function--functionThe code that repeats in the script and does not have any changes is encapsulated to invoke execution in the appropriate scenario;The programmer calls this encapsulated code a functional body, or a module;In shell scripting, a

Linux displays memory size in bytes

Linux displays memory size in bytes[Email protected]:~$ free-b Total used free shared buffers cachedmem: 3177537536 1761021952 1416515584 8433664 69103616 715993088-/+ buffers/cache: 975925248 2201612288Swap: 409468

Linux commands for everyday use

The first time to open a 51CTO blog, I hope to insist on updating their blog, improve themselves, but also hope to bring some useful things to you.1. Switch between desktop and command interface: Desktop switch to command interface

Modification of permissions under Linux-JDK configuration-common operations for files

I. Setting 777 permissions and user rights under LinuxSet all files for WWW directory to be writable 777 sudo chmod 777-r www (here-r is inherited) Set all file permissions for the WWW directory to user-owned sudo chown-hr

See which process is working on a file under Linux

As a result of the work, a server Agent has been developed recently, which has a function of writing to the/path/to/file fileAfter the program deployment is complete, the content in the/path/to/file file is just beginning to match the expectedBut

About Iptables on Linux

There are several commands: 1, service iptables staus 2, service iptables start 3, service iptables Restart there is a configuration file/ect/sysconfig/iptables execute the first command When found no response, to the/ect/sysconfig/directory is not

Installing Tomcat on Linux

Installing TomcatSoftware: apache-tomcat-7.0.70.tar.gz Compressed package/usr/yanghai decompression to/USR/LOCAL/TOMCAT7 boot tomcat:/usr/local/tomcat7/ Apache-tomcat-7.0.70/binsh startup.sh Boot log:1 [email protected] bin]# sh startup.sh2Using

Linux Mount External devices

Description: Media is the storage directory for devices that are automatically mounted by the system, and MNT is the storage directory for our manually mounted devices.1. sudo fdisk-l view device name2. sudo mount [device name]/MNT (or other

Linux folder operations and recursive traversal of folders

Introduction to Folder-related functionsmkdir Function Create folder#include #include int mkdir (const char *pathname, mode_t mode);RmDir Deleting a folder#include int rmdir (const char *pathname);Dopendir/fdopendir//Open FolderDir is a struct that

Linux kernel regulator architecture and authoring

Power Type Introduction(Baidu Encyclopedia) Ldo is low dropout regulator, meaning for the lower dropout linear regulator, is relative to the traditional linear regulator. Conventional linear regulators, such as the 78XX series of chips, require an

Linux Input/Output redirection

In the Linux operating system, we will have some of these requirements, for example, we need to use the shell to write some automated operations scripts, and need to save the execution of the script to another text, this is called output redirection.

Linux Data Backup (NFS mapping method)--Problem debugging

configuration article:http://jimann.blog.51cto.com/3295893/1918945This article is used to summarize the problems that occur during the configuration process, and the environment is the same as the configuration No portmap-* server

Linux under Disk Multipath

Sometimes we in the Linux system through the "fdisk-l" command, you will see the/dev/mapper/xxxxx disk, which is likely to be a logical volume, or the configuration of multipath, you can first through "lvdisplay" how to see, then the description is

Linux static libraries, shared libraries

First, what is the libraryIn essence, a library is a binary form of executable code that can be loaded into memory by the operating system. Because of the different nature of Windows and Linux, the binary of the libraries is incompatible. The

Install node under Linux

After some of the toss finally installed on Linux node, recorded to avoid forgetting1. Download nodeGo to the official website to download the latest Linux version of the corresponding node.js,node-v6.10.2-linux-x64.tar.gz2. Upload the node file to

Linux firewall configuration-Allow forwarding

first, the experimental targetIn the last "Linux Foundation Network Building Experiment", the internal and external network virtual machine can ping, because temporarily shut down the firewall, but in reality this operation obviously has a great

Linux System shortcut keys

Ctrl + Actrl + Ectrl + Cctrl + Dctrl + Lctrl + Uctrl + Kctrl + Rctrl + yAnswer:1.1.1Cursor MovementCTRL + a switch to the command line start CTRL + E to switch to the end of the command line1.1.2Cut PasteCTRL + U Clear (cut) the contents of the

Linux configuration firewall, open 80port, 3306port may encounter small problems

??Vi/etc/sysconfig/iptables-A input-m state–state new-m tcp-p Tcp–dport 80-j Accept (consent 80 port via firewall)-A input-m state–state new-m tcp-p Tcp–dport 3306-j Accept (consent 3306 port via firewall)Special tips:Very many netizens add these

Linux df-h and fdisk-l command differences

The Fdisk tool is a partitioning tool; DF is used to view the usage of the file system (partition)!    Fdisk focuses on displaying information about partitioned tables;    DF focuses on displaying information about all file systems in the current

Linux password protection

Before writing the method of Linux password cracking, although it is very convenient to forget the password, but at the same time others can easily crack your liunx virtual machine, security problems exist.Here are some security protections for

Total Pages: 5467 1 .... 2529 2530 2531 2532 2533 .... 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.