Simple Linux command line Note: The whereis lookup file whereis [options] filewww.2cto.com parameter file is the file to be searched for by whereis, which belongs to the original code, binary or help file option-B only searches for binary files-B
How to safely uninstall refit open findercommand + shift + g, enter/go to the efi folder, delete the system --- Resource Library ---- startupitem --- refitbless folder, delete (no need to worry about it) in System Preference settings ---- start the
Install an lftpyum-yinstalllftp script to automatically back up the database www.2cto.com # every day #! /Bin/bash/usr/local/mysql/bin/mysqldump-uusername-ppassword -- databasesblog & gt;/home/wwwroot/backup/da... install an lftp yum-y install lftp
During UBUNTU upgrade from UBUNTU 10.10 to UBUNTU 11.04, after downloading and installing more than 1600 files, manually killing CUPS twice, the system is stuck again after successful execution (wait for N hours): www.2cto.com is installing the new
Scp batch upload public key #! /Bin/bashcat/root /. ssh/id_rsa.pub & gt;/root. ssh/authorized_keys: import the public key to the auth file to host1 'cat/root/a' # The content in file a is the target host address foriin $ ho you want the scp public
Use unpartitioned disk space Environment: when the system is installed, some disk space is divided, and some are not divided. now, the remaining disk space is divided. Www.2cto. comStep: 1. first, check the remaining disk space. 2. partitioning hard
Sometimes we need the Linux system to automatically load some scripts or system services when it is started, mainly in three ways: ln-s in/etc/rc. d/rc *. create/etc/init in the d directory. d/soft link of the service (* represents 0 ~ 6. one of the
In Linux, VIM removes the carriage return character in the text file edited in windows. if you use VIM to open the file created in windows, ^ M characters will appear, indicating a carriage return character. (in windows, the editor clicks the
Linuxiptables is an ip address. Linuxiptables shields ipiptables from great and profound knowledge. if you know the basic syntax and other requirements, check the information. Here are several Linux commands for shielding ip addresses, as shown
The first article on losetup and mount-oloop was launched. for linux O & M, I would like to introduce losetup and mount-oloop. Advertisement: www.2cto.com for linux O & M, the first unix/linux System Management Technical Manual (version 4 ). I am
In linux, how to mount a hard disk or partition has been frequently asked about how to mount a hard disk or partition in recent days. the steps for mounting a hard disk are described as follows: www.2cto. com1 check 1.1format check hard disk
Ubuntu static and dynamic IP address settings preface today, we suddenly notified you of the migration of the data center. I need to reset the IP address. here, we will first record it and set the target system ubuntu10.04server. Modify the static
How to add a virtual network card 1 & gt; delete ent0 & amp; ent1 network card on AIX (take ent0 as an example): www.2cto. comBringtheinterfacedown: # ifconfigen0downDeletethenetworkinterfacedefinitionfortheadapter: # ifconfig... how to add a
How to mount an optical drive and an ISO file to an optical drive on AIX: mount-rvcdrfs/dev/cd0/mntwww.2cto.com to an old system to mount an ISO File: First, create a bare device of the same size as the iso file. # Mklv-yis0_lvdatavg10 second: Use
Run the agedu command to View disk usage. run the following command to install sudoapt-getinstallagedu on ubuntuwww.2cto.com to scan the disk (-s) from the root (/) start scanning # agedu-s/after scanning, an agedu will be generated in the current
Tmux command and use tmux # enable tmuxtmuxls # display the existing tmux list (C-bs) tmuxattach-session-t number # select tmuxC-bc to create a new window www.2cto. switch comC-bn to the next window and switch C-bp to the previous window... tmux
To modify a binary file, use vim to open the file to be edited or viewed in binary format. if you do not use the-B parameter, conversion errors may occur. for details, refer to the section after the separator line. Www.2cto. comvim-bfile-to-open.dat
How do I not need to enter the password in sudo? 1. for users not in the admin group, set www.2cto through sudodomaindo. comtestALLNOPASSWD: ALL2. for users in the admin group, open the # comment before adminALL, so that the default account does not
In Linux, the development time has been scattered for nearly a year and a half. at the beginning, VIM was used for simple code editing, during that time, I became familiar with VIM commands, switching the editing mode, moving the direction, and
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.