http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/Procedure to Add a Swap File under LinuxYou need the command to dd create swap file. The mkswap command is used to set up a Linux swap area on a device or in a file.Step #1: Login as the Root
the difference between BASHRC and profile is to understand the difference between BASHRC and profile, first of all to figure out what is interactive shell and non-interactive shell, what is login shell and non-login Shell. The interactive mode is
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
What is a process? When a user-typed command executes a program, it initiates a process for the system. However, unlike the program, in this process, the system may need to start one or more processes to complete independent multiple tasks. The main
My Linux is Fedora 13 and the installation method is as follows:1. Open Terminal, execute# yum Install-y Tigervnc Tigervnc-server2. Edit/etc/sysconfi/vncservers# vi/etc/sysconfig/vncserversIn the end, add:vncservers= "1:sky" vncserverargs[1]=
Modify SSH ports and disable root telnet under LinuxAs we all know, SSH default port number is 22, to change the port number is 9688, need to edit/etc/ssh/ssh_config and/etc/ssh/sshd_config two files can;To disable root login, you need to edit
Now unknowingly already junior, and this major thing not much interested in, I am optimistic about WP development and Linux development.Why study WP development? In fact, is a kind of interest, I have a 620 in the hand, learning to learn on the
1. uname-aYou'll view kernel name, network node hostname, kernel release, kernel version, machine hardware name, processor type, Hardwa Re platform, operating system2. Cat/proc/versionHis file won't show you the name of the actual OS release, but
Linux Command Basics. Experimental objectivesSkilled basic commands. Experimental steps
Linux Command line Basics
[[email protected] ~]# ls//View list target content[[email protected] ~]# ls-l//display in long format[[email protected] ~
Linux is a lot of frequently used commands are necessary, here will I learn Linux in the introduction of some of the frequently used basic commands to share with you, hoping to help you.This is the bird in the book I have done a bit, I hope not to
Bulk Add Users1. Write user information files according to/etc/passwd file format Users.infoXiaofang01::1001:503::/home/xiaofang01:/bin/bash #注意不能有空行, or you'll get an error.2, newusers
3, pwunconv# cancel shadow password function4. Write the
SetUID[permission value =4] Question: Why can ordinary users change their passwords?ll $ (which passwd)
1, SetUID: When an executable program / command has SetUID permissions , the user executes this program, will be executed as the owner of the
September 25, foreign exposure of a "destruction level" bash vulnerability, hackers can use this vulnerability to remotely execute arbitrary commands, complete control of the target system! the vulnerability is cve-2014-6271, mainly in bash version 1
Hostname and Linuxhostname in LinuxHostname command to view the host's hostname,# HostnameThe hostname command can be used to set the system's hostname.# Hostname newnameNewname is the new hostname to be set. It takes effect immediately after
Linux special permission analysis (version 2) and linux Version 2SetUID [permission value = 4]
Q: Why can ordinary users change their passwords?
Ll $ (which passwd)
1. SetUID: When an executable program/command has the SetUID permission, the user
Centos yum library update
When upgrading the system on CentOS VPS today, yum reports the following error:# Yum update
Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileTraceback (most recent call last): File "/usr/bin/yum",
Add, delete, modify, and delete users in linux
Http://blog.csdn.net/pipisorry/article/details/39533627
1. Create a user:
1. Run the useradd command.
UseraddFunction Description: create a user account.Syntax: useradd [-mMnr] [-c ] [-d ] [-e ] [-f ] [-
Solve the Problem of restarting the boot black screen after upgrading the kernel in Ubuntu 14.04
At work today, the SoftWare Updater prompts that SoftWare updates are available. After some SoftWare packages are checked, the SoftWare Updater will
Error prompt for enabling PHP In Ubuntu 14.04
In Ubuntu 14.04, the default PHP development environment configuration does not prompt all warning and error messages. This is very painful for developers. Record the configuration method here for
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