• <em id="6vhwh"><rt id="6vhwh"></rt></em>

    <style id="6vhwh"></style>

    <style id="6vhwh"></style>
    1. <style id="6vhwh"></style>
        <sub id="6vhwh"><p id="6vhwh"></p></sub>
        <p id="6vhwh"></p>
          1. 国产亚洲欧洲av综合一区二区三区 ,色爱综合另类图片av,亚洲av免费成人在线,久久热在线视频精品视频,成在人线av无码免费,国产精品一区二区久久毛片,亚洲精品成人片在线观看精品字幕 ,久久亚洲精品成人av秋霞

            linux刪除文件夾(linux刪除文件夾及其子文件)

            更新時間:2023-03-02 08:37:14 閱讀: 評論:0

            概述

            在大多數情況下,我們在linux中刪除文件和目錄是通過rm命令,這些方法并不能永久、安全地從硬盤(或任何存儲介質)中刪除文件。

            假設文件包含機密或機密內容,例如系統的用戶名和密碼,攻擊者可以輕松恢復文件的已刪除副本并訪問這些文件 。

            在本文中,我們分享一些用于在 Linux 中永久安全地刪除文件的命令行工具。

            一、Shred -覆蓋文件以隱藏內容

            1、安裝軟件包

            yum install coreutils-8.22-24.el7_9.2.x86_64 -y

            2、命令及參數選項

            [root@192_168_209_128 ~]# shred --helpUsage: shred [OPTION]... FILE...Overwrite the specified FILE(s) repeatedly, in order to make it harderfor even very expensive hardware probing to recover the data.Mandatory arguments to long options are mandatory for short options too. -f, --force change permissions to allow writing if necessary -n, --iterations=N overwrite N times instead of the default (3) --random-source=FILE get random bytes from FILE -s, --size=N shred this many bytes (suffixes like K, M, G accepted) -u, --remove[=HOW] truncate and remove file after overwriting; See below -v, --verbo show progress -x, --exact do not round file sizes up to the next full block; this is the default for non-regular files -z, --zero add a final overwrite with zeros to hide shredding --help display this help and exit --version output version information and exit

            選項說明:

            -z- 添加一個帶有零的最終覆蓋以隱藏切碎-v– 可以顯示操作進度-u- 覆蓋后截斷和刪除文件-n– 指定覆蓋文件內容的次數(默認為 3)

            3、示例

            shred覆蓋文件以隱藏其內容,也可以選擇刪除它。

            $ shred -zvu -n 5 passwords.list二、Wipe —在 Linux 中安全擦除文件

            Linux wipe命令可以安全地從磁存儲器中擦除文件,從而無法恢復。

            1、安裝軟件包

            首先,您需要安裝擦除工具,運行下面的相應命令:

            $ sudo yum install wipe [On RedHat bad systems]

            2、命令及參數選項

            $wipe --help

            選項:

            -r- 告訴擦除遞歸到子目錄-f- 啟用強制刪除和禁用確認-i- 顯示刪除過程的進度

            3、示例

            以下命令將銷毀目錄private下的所有內容。

            $ wipe -rfi private/*

            [

            三、Linux 安全刪除工具包

            Secure-delete是一個安全文件刪除工具的集合,其中包含srm (cure_deletion) 工具,用于安全刪除文件。

            1、安裝軟件包

            首先,您需要使用以下相關命令安裝它:

            $ sudo yum install cure-delete [On RedHat bad systems]

            2、命令及參數選項

            $[root@192_168_209_128]# srm --helpUsage: srm [OPTION]... [FILE]...Overwrite and remove (unlink) the files. By default u the 35-pass Gutmannmethod to overwrite files. -d, --directory ignored (for compatability with rm(1)) -f, --force ignore nonexistant files, never prompt -i, --interactive prompt before any removal -x, --one-file-system do not cross file system boundaries -s, --simple overwrite with single pass using 0x00 (default) -P, --openbsd overwrite with three pass like OpenBSD rm -D, --dod overwrite with 7 US DoD compliant pass -E, --doe overwrite with 3 US DoE compliant pass -G, --gutmann overwrite with 35-pass Gutmann method -C, --rcmp overwrite with Royal Canadian Mounted Police pass -r, -R, --recursive remove the contents of directories -v, --verbo explain what is being done -h, --help display this help and exit -V, --version display version information and exit

            選項:

            -f - 強制刪除-r - 遞歸刪除,刪除目錄及目錄中的內容-v – 啟用詳細模式-z– 用零而不是隨機數據擦除最后一次寫入

            3、示例

            您可以使用srm工具在 Linux 系統上安全地刪除文件或目錄,如下所示。

            $ srm -vz private/*

            [

            本文發布于:2023-02-28 21:02:00,感謝您對本站的認可!

            本文鏈接:http://www.newhan.cn/zhishi/a/1677717434100734.html

            版權聲明:本站內容均來自互聯網,僅供演示用,請勿用于商業和其他非法用途。如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除。

            本文word下載地址:linux刪除文件夾(linux刪除文件夾及其子文件).doc

            本文 PDF 下載地址:linux刪除文件夾(linux刪除文件夾及其子文件).pdf

            標簽:文件夾   其子   文件   linux
            相關文章
            留言與評論(共有 0 條評論)
               
            驗證碼:
            推薦文章
            排行榜
            Copyright ?2019-2022 Comsenz Inc.Powered by ? 實用文體寫作網旗下知識大全大全欄目是一個全百科類寶庫! 優秀范文|法律文書|專利查詢|
            主站蜘蛛池模板: 久久9精品区-无套内射无码| 少妇人妻偷人精品免费| 国产精品一区在线蜜臀| 精品国产一区二区三区av色诱| 永久免费无码国产| 91国在线啪精品一区| 99久久婷婷国产综合精品青草漫画 | 国产不卡精品视频男人的天堂| 国产一区二区三区不卡自拍| 大香蕉av一区二区三区| 国产自产av一区二区三区性色| 欧美成人无码a区视频在线观看| av 日韩 人妻 黑人 综合 无码| 亚洲第一国产综合| 52熟女露脸国语对白视频| 国产成人av一区二区在线观看| 成人国产精品一区二区网站公司| 国产精品自线在线播放| 国产成人综合久久亚洲精品| 97色伦97色伦国产| 国产亚洲久久久久久久| 一区二区三区四区在线不卡高清| 亚洲午夜伦费影视在线观看| 国产很色很黄很大爽的视频| 久爱免费观看在线精品| 亚洲欧洲日产国无高清码图片 | 亚洲AV无码东方伊甸园| 欧洲精品码一区二区三区| 国产一区二区三区黄网| 亚洲欧美精品一中文字幕| 乱码视频午夜在线观看| 国产性天天综合网| 国产高清自产拍av在线| 天天躁夜夜躁狠狠综合| 国内精品一区二区不卡| 国产亚洲曝欧美精品手机在线| 一色桃子中出欲求不满人妻| 99国产精品欧美一区二区三区| 亚洲国产精品综合久久20| 国产尤物精品自在拍视频首页| 欧美性xxxxx极品|