linux undelete folder

Read about linux undelete folder, The latest news, videos, and discussion topics about linux undelete folder from alibabacloud.com

LINUX Folder Packaging

Tar-zcvf/data/www.tar.gz data/wwwTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingCompression:Compresses the current folder Zip-r./xahot.zip./*-R means recursionZip [parameters] [file name after packaging] [packaged directory path]Decompression Unzip Xahot.zip not explainedThe basic usage of the Linux zip command is:Linux zip command parameter list:-a convert th

A simple way to jump to the top N-tier folder under Linux

Edit FileVim. BASHRC (make changes valid under current user)OrVim/etc/profile (need to run under root user to make the changes available to all users)Add an alias at the end of a filealias cd1= ' CD..alias cd2= ' CD. /.. 'alias cd3= ' CD. /.. /.. 'alias cd4= ' CD. /.. /.. /.. 'alias cd5= ' CD. /.. /.. /.. /.. 'Alias cd6= ' CD. /.. /.. /.. /.. /..‘Save File ExitTo make the change effective , run the commandsource. BASHRC or Source/etc/profileYou can use the followingLike what. If you want to jump

View the folder size in the current directory of Linux

and each of its subtrees with 1024-byte blocks, enter:Du-k/home/franThis shows the number of 1024-byte disk blocks in the/home/fran directory and each of its subdirectories.To summarize disk usage for one directory tree and each of its subtrees through MB disk blocks, enter:Du-m/home/franThis shows the number of MB disk blocks (approximately the nearest second decimal number) in the/home/fran directory and each of its subdirectories.To summarize the disk usage of one directory tree and each of

How to see how many files are in the Linux folder (Mac same)

See how many files and folders are in the directory, in the terminal input ls|wc-w See how many files are in the directory, enter in the terminal ls|wc-c Look at the number of files under the folder, how many subdirectories, in the terminal input ls-l|wc-l If you only want to know the number of files, in the terminal input/bin/ls-l|grep^-|wc-l查看每个磁盘的大小,每个目录的所占大小。df -hl 比如

Linux Utility Commands-View the size of a folder

1. View the current directory all file files and their size: Ls-la2. View the size of the current directory folder: Du-h--max-depth=1.3. Check the size and usage of all disks that are currently hanging on the system: DF-HL4. View the drive letter that the current system hangs on: Mount5. Find a file in the current directory and its subdirectories: Find./-name "*"6. Look for a character in the current directory and its subdirectories: Grep-rin "*".

Linux two disk mount pointing to a folder LVM Disk Management (i)

Tags: LVM Disk ManagementNote: The operation of any disk may damage the data inside, please back up the data in advance, remember! Remember! Remember!0x00: Preface.In the Linux use process, found a file is very large, such as 5G, but there are two physical disk one Left 4 G, one left 3G, disk space is not enough, so certainly can't put in. If the 5G file is divided, it can be put in, but if there are many files! This is when you can use LVM to help us

Linux Find Folder command

Find command:Find directory address under root directory lookup folder name called Www.91cnm.com/ -name www.91cnm.com -d 1 Find files called index.php in the/var/www/directoryfind /var/www/ -name index.php 1 Find all files at end of ". Sh" under the root directoryfind / -name *.sh 1 Download command: Download www.91cnm.com/index.php resourceswget www.91cnm.com/index.php (下载大文件的时候加上后台执行,断开远程连接还可以下载)

Linux File and folder permissions

Universal Linux basic knowledge, Linux files and folder permissions, do not move on 777 permissions. The online tutorial is too complex to be wordy, briefly summarized as follows ...One, view Linux file permissionsLs-l (General)LL (Ubuntu applies, equals Ls-al)Ii. Permission IdentifiersR (Read), W (write), X (Execute)4

Linux file folder recursive monitoring

Linux file folder recursive monitoring Developed a standard PHP composer package, use the time directly require can. Realize The PHP version of the implementation of the shell version of the idea, through the pipeline command to pass the results of the shell command, and then do various processing of the results to achieve our monitoring files. In order to complete this function, first to implement a PHP ve

A method for obtaining folder content in Windows and Linux

Windows: Header files: Key functions: _ findfirst and _ findnext Key struct: _ finddata_t _ Finddata_tfileinfo; intptr_t hfile; string root; root. Assign (PATH); // folder absolute path int Len = root. Length (); If (! Isendobliqueline (PATH) // the end of the path is not '\' {root. append ("\");} root. append ("*"); // all files in the path hfile = _ findfirst (root. c_str (), fileinfo); If (-1 = hfile) {assert (false); return;} strcpy (

Linux Delete Folder command

Linux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into deep distress, now use the RM-RF command. Direct RM is OK, but add two parameters-rf namely: RM-RF directory Name -R is recursive down, no matter how many levels of directory, delete -F is simply forced to delete, without any hint of the meaning Method: 1. Delete Folder inst

Linux C Read the file name of all files (including subfolders) under the folder (GO)

Linux C reads the folder below to use the struct struct dirent, in header # include 1#include 2 structdirent3 {4 LongD_ino;/*inode Number Index node*/5off_t D_off;/*offset to this dirent in the directory file*/6Unsigned ShortD_reclen;/*length of this d_name filename long*/7UnsignedCharD_type;/*The type of d_name file type*/8 CharD_name [name_max+1];/*File name (null-terminated) file name, maximum 255

Linux deletes the specified folder under all subdirectories __linux

Linux deletes the specified folder in all subdirectories using the Find +exec combination to complete, such as: Find./-type d-name "Del_dir"-exec rm-r {} \; Description ./For the start directory to query, start searching from this directory, including subdirectories under this directory -type D destination for folder -name "Del_dir" specifies the name of the

Vagrant Failure-Upgrading the virtual machine Linux kernel causes the shared folder to not mount

I ' m new to the use Vagrant, today upgraded the next vbox in the ubuntu12.04 kernel, the results vagrant reload after the error.Failed to mount folders in Linux Guest. This is usually becauseThe "vboxsf" file system is not available. Verify thatThe guest additions is properly installed in the guest andcan work properly. The command attempted was:Mount-t vboxsf-o uid=id-u vagrant,gid=getent Group vagrant | cut-d:-f3 vagrant/vagrantMount-t vboxsf-o uid

Detailed Linux under the TAR Compression decompression folder commands and Parameters _linux

Objective Tar on Linux is commonly used in packaging, compression, compression tools, he has a lot of parameters, this article only lists commonly used compression and decompression parameters, the following directly on the three commonly used commands, take a look at it 1, compress the current directory folder/file test to test.tar.gz: TAR-ZCVF test.tar.gz Test 2, extract the current directo

Bulk modification of file and folder owners and permissions under Linux

Tags: directory bulk oracl Div change IDC User Group title HTTPBatch modification of file and folder owners and permissions under Linux requires two commands, chmod and ChownExample: Perform the same permission change for all files in the/opt/oracle/directory as subdirectories:Chmod-r 700/opt/oracle/-r parameter is all files and subfolders under the recursive processing directory700 is a changed permission

Securefx to solve the problem of Chinese garbled folder after connecting Linux

When using Securefx to connect Linux, the Discovery folder display garbled, has been trying a variety of configurations, now the method to organize a bit! For everyone's Reference!First, set the character encoding to UTF-8 in the optionsThen locate the Securefx configuration file in the global options go to the directory and select "Sessions"; Find the INI file for the link address in "Sessions". and

Log folder log file contents in Linux

/faillog – Contains user logon failure information. In addition, the error login command is also recorded in this file. In addition to the above Log file, /var/log is also based on a system-specific application that contains the following subdirectories:/var/log/httpd/ or /var/log/apache2 -Contains server access_log and error_ Log information. /var/log/lighttpd/ -Includes Light HTTPD of the Access_log and the Error_log . /var/log/mail/ – This subdirectory contains additional logs for the mail

Linux Command for viewing the folder size

[Root @ NS1 opt] # Du-H-S/* | sort12 k/mnt13 m/sbin16 K/lost + found1.8 GB/usr194 m/root22g/OPT24 k/tmp4.0 K/initrd4.0 K/Misc424 K/dev4.5 m/boot4.9 m/bin61 m/var8.0 K/home81 m/lib903 M/proc9.1 m/etc ------------- View the size of the Linux File directory and the number of files contained in the folder Total statistics size Du-SH xmldb/ Du-Sm * | sort-N // count the current directory size and sort the direc

View the file and folder size in Linux (df & amp; du)

View the file and folder size in Linux (df amp; du)Df Usage: df [Option]… [File]…Displays the information of the file system where each file is located. All file systems are displayed by default. Common options-H,-human-readable size displayed as human readable form (e.g., 1 K 234 M 2G) Example [Root @ www ~] # Df-H file system capacity in use % available mount point/dev/sda1 94G 21G 68G 24%/tmpfs 1014 M 0

Total Pages: 15 1 .... 11 12 13 14 15 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.