linux undelete folder

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

mkdir Create Folder command in Linux

Tags: security context div Upper context permissions target SEL targe listGrammarmkdir (option) (parameter)Options-Z: Sets the security context, which is valid when SELinux is used;-mset directory permissions while setting directory;-P or--parents If the top-level directory to be set up is not currently established, the upper-level directory will be established;--version displays the version information.ParametersTable of Contents: Specifies a list of directories to create, separated by spaces b

Set the linux shared folder in VirtualBox in windows 7

The enhancement feature of virtualbox linux must be installed. An optical drive is assigned. After the enhancement feature is selected, VBoxGuestAdditons is automatically added. mount-t iso9660/dev/cdrom1/cdrom on your own. Then you can mount the disk and install it directly.After the Enhancement Tool is installed, you can add data space in virtualbox. Find your shared directory in windows and create a mount point in virtualbox

[Go]linux folder compression

[Go]linux folder compression. Tar unpack: Tar xvf Filename.tar package: Tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )---------------------------------------------. GZ decompression 1:gunzip filename.gz decompression 2:gzip-d filename.gz Compression: gzip FileName.tar.gz decompression: Tar zxvf FileName.tar.gz compression: Tar zcvf FileName.tar.gz DirName----------------------------

How Linux C traverses a folder

The Linux C Traversal folder method is relatively simple, using C to implement#include ...Enum{Dt_unknown = 0,//unknown typeDt_fifo = 1,//pipeDT_CHR = 2,//character device fileDt_dir = 4,//directoryDT_BLK = 6,//block device fileDt_reg = 8,//Normal fileDt_lnk = 10,//Connection fileDt_sock = 12,//socket typeDT_WHT = 14//};voidLoopdir (Const Char*Dir_path) {Chartemp[ the] = {0};structDirent *pdirent;DIR*d_in

The configuration of rsync under Linux for folder synchronization

The configuration of rsync under Linux for folder synchronizationhttp://blog.csdn.net/cymm_liu/article/details/31347531Objective: to [88]_a of the host /data/home/web sync to [27]_b of the host /data/home/qy CatalogueBHost asrsyncServer# Check if the system has rsync packages installed[Email protected] home]# Rpm-qa |greprsyncrsync-2.6.9if not, go to yum or apt-get install or go to the website server1. cu

Linux Delete Folder command

Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two parameters-rf that is: RM-RF directory name-R is recursive down, no matter how many levels of directory, delete-F is directly forcibly deleted, without any hint of the meaning of tools/materials Linu

View the total size of all files in a Linux folder

Article Title: view the total size of all files in a Linux folder. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories such as viewing the size of the home directory: Du-s/home You

Solve the mount folder garbled problem in Linux.

Article Title: fix the mount folder garbled in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. Umount is used to detach a mounted disk. Then mount: Sudo mount-o iocharset

Linux Delete Folder command

Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two parameters-rf that is: RM-RF directory name-R is recursive down, no matter how many levels of directory, delete-F is directly forcibly deleted, without any hint of meaningTools/Materials Linux

To compress a folder under Linux

Tar-zcvf/home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.Zip compression method: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

Under Linux mistakenly delete the root folder recovery method

Tags: delete root home directory mistakenly deleted folder directory To/rootFirst, how to restore the Linux root folder after deletion?Today with ordinary users into the system to switch root user prompt without root home directory, do not know what the situation caused$su - rootwarning: cannot change directory to /root-bash-3.2#Second, online search method:Root'

Linux fruit see hard disk which folder occupies disk size

Linux fruit see hard disk which folder occupies disk sizeCD/Login Returns the root directory to view the file size based on the root directory one level at a start.Du-sh * | SORT-NR \ See which of the files in this folder is very detailed and how much information is returnedWhich directory you need to enter and find the information in it directly CD +

Linux Permissions settings (open a folder to a specified user)

Issue background:Today I want to open my data set to colleague a, only allow it to read, not allowed to write.Operation:Step1:See which user this folder belongs to and which groupls folder-lStep2:Usermod-a-G The user name to assign for the group name of the specified folderStep3:Chmod 754 specifying the folder nameExtended:1 Settings for permissionsCHMOD-RWXRWXRW

VMware Linux shared folder virtual machine No shared file resolution __linux

, select "Options", click on the shared folder----always enable---add, and then in order to operate on OK. At this point you create the share folder below the local F disk, which is the folder that this computer shares with the virtual machine.It's OK to be here, you enter the virtual machine, point application-attachment-terminal, enter the

File and folder operation commands in Linux VPS

of directory, delete-F is simply forced to delete, without any hint of the meaning Llinux do not have a recycle Bin, use RM-RF must be extra careful Delete the/home/site/folder (the directory and all the files and folders under it)rm-rf/home/site/ Delete filename.tar.gz fileRm-f filename.tar.gz Here is a description of Linux statistics directory/folder size

Change the folder name in the home directory of Linux back to English

For ease of use, installed in the Ubuntu Chinese version, naturally in the home file user directory "desktop", "Picture", "video", "Music" ... It's all in Chinese. Many times like to put some on the desktop to manipulate the file, Linux command line operation is more, will inevitably use the command line to operate the things on the desktop, then the "CD desktop", hit "desktop" when the input method to switch, trouble ... So we will find a way to chan

View Linux folder size

View the size of the Linux File directory and the total number of files contained in the folder Du-SH xmldb/ Du-Sm * | sort-N // count the current directory size and sort the directory size. Du-SK * | sort-n Du-SK * | grep guojf // view the size of a person Du-M | cut-d "/"-F 2 // read the text before the second character View the number of files in this folder

C + + Traversal folder (LINUX/MAC)

There are many online, send a simple out, the key is the head file "Dirent.h"#include #includeintMainintargcConst Char*argv[]) { structDirent *Dirp; DIR* dir = Opendir ("./"); while((Dirp = Readdir (dir))! =nullptr) { if(Dirp->d_type = =Dt_reg) { //fileprintf"%s\n", dirp->d_name); } Else if(Dirp->d_type = =Dt_dir) { //folder}} closedir (dir); return 0;}C + + Traversal folder

Linux Learning Three: The structure of the folder system and the relative (absolute) path

Understand the role of each directoryBin binary FileBoot file, kernel of boot systemDev device filesETC configuration fileHome Directory for home usersLIB link library fileLost+foundMount Mount pointMNT mount point (manual mount point)NetOpt source package installation software, usually manually installed under the folder (if not named, generally installed under the usr/local directory)Proc Kernel parameters (no actual files, all virtual files, no dis

Mac VirtualBox shared folder with Linux virtual machine

1. Set up the shared directory in VirtualBox, set up automatic mount/fixed assignment2. Install the enhanced tool, in order to avoid installation errors need to install dependent files#更新内核.Yum Update kernel#需要安装相应的kernel-devel and GCC packages, GCC is also a mustYum Install kernel-devel gccRestart the system after upgrade3. Click Settings--click Install enhancements ...And then into the inside of the virtual machineMount/dev/cdrom/home/vbox mount an enhanced package for iOS filesTip Mount:block

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.