Skip to main content

Linux: Install testdisk

Computer hard disk - source: pixabay.com

Install testdesk on Ubuntu

sudo apt install testdisk
sudo apt install testdisk

sudo testdisk
sudo testdisk

Install testdisk on Fedora Workstation

[tuyen@g73jh ~]$ sudo dnf -y install testdisk
[sudo] password for tuyen: 
Last metadata expiration check: 0:57:18 ago on Mon 07 Oct 2019 11:33:47 AM +07.
Dependencies resolved.
================================================================================
 Package          Architecture   Version                  Repository       Size
================================================================================
Installing:
 testdisk         x86_64         7.1-1.fc30               updates         444 k
Installing dependencies:
 libewf           x86_64         20140608-13.fc30         fedora          517 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 961 k
Installed size: 5.0 M
Downloading Packages:
(1/2): libewf-20140608-13.fc30.x86_64.rpm       285 kB/s | 517 kB     00:01    
(2/2): testdisk-7.1-1.fc30.x86_64.rpm           168 kB/s | 444 kB     00:02    
--------------------------------------------------------------------------------
Total                                           200 kB/s | 961 kB     00:04     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : libewf-20140608-13.fc30.x86_64                         1/2 
  Installing       : testdisk-7.1-1.fc30.x86_64                             2/2 
  Running scriptlet: testdisk-7.1-1.fc30.x86_64                             2/2 
  Verifying        : testdisk-7.1-1.fc30.x86_64                             1/2 
  Verifying        : libewf-20140608-13.fc30.x86_64                         2/2 

Installed:
  testdisk-7.1-1.fc30.x86_64           libewf-20140608-13.fc30.x86_64          

Complete!
[tuyen@g73jh ~]$ 


Popular posts from this blog

Linux command: lspci

Linux command: lspci - list pci devices tuyendq@ubuntu001:~$ man lspci NAME        lspci - list all PCI devices SYNOPSIS        lspci [options] DESCRIPTION        lspci is a utility for displaying information about PCI buses in the system and devices connected to them.        By  default,  it  shows a brief list of devices. Use the options described below to request either a more verbose output or output intended for parsing by        other programs.        If you are going to report bugs in PCI device drivers or in lspci itself, please include output of "lspci -vvx" or even better  "lspci  -vvxxx"  (however,        see below for possible caveats).        Some  parts of the output, especially in the highly verbose modes, are probably intelligible only to experienced PCI hac...

Linux command: lastlog

lastlog command reports the most recent login of all users or of a given user. NAME lastlog - reports the most recent login of all users or of a given user SYNOPSIS lastlog [options] DESCRIPTION lastlog formats and prints the contents of the last login log /var/log/lastlog file. The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by their order in /etc/passwd. OPTIONS The options which apply to the lastlog command are: -b, --before DAYS Print only lastlog records older than DAYS. -h, --help Display help message and exit. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -t, --time DAYS Print the lastlog records more recent than DAYS. -u, --user LOGIN|RANGE Print the ...

DOS Commonly Used Commands