Skip to content
hack reveal logo png
HACK REVEAL
  • Home
  • Android
  • Windows
  • Hacks
    • Hacking
    • Reveals
  • Linux
    • kali Linux
    • Exploits
    • Metasploit
  • Tech
    • Cryptocurrency
  • AI Tools
  • Best Product
hack reveal logo png
HACK REVEAL

Advance Linux terminal commands for The Power users

Ankit Chaubey, 11, July 202211, July 2022

One of the aspects of being a power user is to do even the simplest GUI-based tasks from the terminal. While this may seem like an unnecessary complication for some tasks, it is actually good practice to do even the simplest things from the terminal. This allows you to become more familiar with the command line interface and can help you troubleshoot issues more effectively. In addition, many power users find that they can work more efficiently from the terminal, since they can customize their workflow to suit their needs.

TABLE OF CONTENTS

      • 0.0.1 1. Replace Ping And Traceroute With MTR
      • 0.0.2 2. Checking Battery Status From The Terminal
      • 0.0.3 3. Recursively List Files And Folders Tree
  • 1 4. Process Monitoring With Pstree
  • 2 5. Find Files in Linux using the File name
    • 2.1 About The Author
      • 2.1.1 Ankit Chaubey
    • 2.2 Related

1. Replace Ping And Traceroute With MTR

MTR, or My Trace Route, is a network diagnostic tool that investigates the connection between a host and a target by sending packets with low TTLs. This allows each node in the route to be examined, and any problems with the connection can be identified and addressed. MTR is a valuable tool for troubleshooting network issues, and can be used to improve the performance of a network.

mtr google.com
MTR

2. Checking Battery Status From The Terminal

Checking your battery might be something menial but you might need it while writing scripts or while configuring your system.

acpi -V
acpi -V battery status
Battery Status

3. Recursively List Files And Folders Tree

The tree command is a recursive directory listing program that produces a depth indented listing of files. It is very useful for project management, as it allows you to see all the files and sub-folders in a directory in a clear and concise way. This can be extremely helpful when you have a large number of files and doing ls every time would be too time-consuming.

tree
┌──(ankit㉿hackreveal)-[~]
└─$ tree
.
├── complete
│   ├── 8 Most Common Hacking Techniques You Must Know
│   ├── adobe alter
│   ├── arch
│   ├── Debian
│   ├── enc
│   ├── Fedora
│   ├── free bsd
│   ├── Garuda Linux
│   ├── graphene
│   ├── kali
│   ├── Librem 5
│   ├── linux
│   ├── linux bootable
│   ├── Manjaro
│   ├── mint
│   ├── nmap
│   ├── password hacking
│   ├── PinePhone
│   ├── Raspberry Pi
│   ├── Red Hat
│   ├── Tails
│   ├── termux
│   ├── ubuntu
│   ├── Wifi pineapple
│   └── zero days
├── Desktop
├── Documents
├── Downloads
│   ├── 2886078.jpg
│   ├── ankit.jpg
│   ├── Hydra1.ovpn
│   ├── libsdl1.2debian_1.2.15+dfsg1-4+deb9u1_amd64.deb
│   ├── libvpx6_1.9.0-1_amd64.deb
│   ├── ms.png
│   ├── nmap.txt
│   ├── sign.jpg
│   ├── TMvQ1yiw
│   ├── twrp.img
│   ├── utserver.tar.gz
│   ├── ventoy-1.0.75-linux
│   │   └── ventoy-1.0.75
│   │       ├── boot
│   │       │   ├── boot.img
│   │       │   └── core.img.xz
│   │       ├── CreatePersistentImg.sh
│   │       ├── ExtendPersistentImg.sh
│   │       ├── log.txt
│   │       ├── plugin
│   │       │   └── ventoy
│   │       │       ├── theme
│   │       │       │   ├── background.png
│   │       │       │   ├── icons
│   │       │       │   │   ├── deepin.png
│   │       │       │   │   ├── red-hat.png
│   │       │       │   │   ├── ubuntu.png
│   │       │       │   │   └── vtoyiso.png
│   │       │       │   ├── menu_c.png
│   │       │       │   ├── menu_e.png
│   │       │       │   ├── menu_ne.png
│   │       │       │   ├── menu_n.png
│   │       │       │   ├── menu_nw.png
│   │       │       │   ├── menu_se.png
│   │       │       │   ├── menu_s.png
│   │       │       │   ├── menu_sw.png
│   │       │       │   ├── menu_w.png
│   │       │       │   ├── select_c.png
│   │       │       │   ├── slider_c.png
│   │       │       │   ├── slider_n.png
│   │       │       │   ├── slider_s.png
│   │       │       │   ├── terminal_box_c.png
│   │       │       │   ├── terminal_box_e.png
│   │       │       │   ├── terminal_box_ne.png
│   │       │       │   ├── terminal_box_n.png
│   │       │       │   ├── terminal_box_nw.png
│   │       │       │   ├── terminal_box_se.png
│   │       │       │   ├── terminal_box_s.png
│   │       │       │   ├── terminal_box_sw.png
│   │       │       │   ├── terminal_box_w.png
│   │       │       │   └── theme.txt
│   │       │       ├── ventoy_grub.cfg
│   │       │       └── ventoy.json

4. Process Monitoring With Pstree

Process management has always been a cumbersome task for Linux users. The tracking of processes and their child process can be quite the task for the user. This is where pstree comes into play. pstree shows running processes as a tree which let’s you view the child threads of a process which can be found under the parent process. pstree is a very useful tool for managing processes and can be a great help for users who are not very familiar with the Linux operating system.

pstree

┌──(ankit㉿hackreveal)-[~]
└─$ pstree
systemd─┬─ModemManager───2[{ModemManager}] ├─NetworkManager───2[{NetworkManager}]
├─accounts-daemon───2[{accounts-daemon}] ├─colord───2[{colord}]
├─cron
├─dbus-daemon
├─fwupd───4[{fwupd}] ├─gdm3─┬─gdm-session-wor─┬─gdm-x-session─┬─Xorg───4[{Xorg}]
│ │ │ ├─gnome-session-b─┬─ssh-agent
│ │ │ │ └─3[{gnome-session-b}] │ │ │ └─2[{gdm-x-session}]
│ │ └─2[{gdm-session-wor}] │ └─2[{gdm3}]
├─haveged
├─packagekitd───2[{packagekitd}] ├─polkitd───2[{polkitd}]
├─power-profiles-───2[{power-profiles-}] ├─rsyslogd───3[{rsyslogd}]
├─rtkit-daemon───2[{rtkit-daemon}] ├─smartd ├─systemd─┬─(sd-pam) │ ├─at-spi-bus-laun─┬─dbus-daemon │ │ └─3[{at-spi-bus-laun}]
│ ├─at-spi2-registr───2[{at-spi2-registr}] │ ├─dbus-daemon │ ├─dconf-service───2[{dconf-service}]
│ ├─evolution-addre───5[{evolution-addre}] │ ├─evolution-calen───8[{evolution-calen}]
│ ├─evolution-sourc───3[{evolution-sourc}] │ ├─gcr-ssh-agent───{gcr-ssh-agent} │ ├─gedit───3[{gedit}]
│ ├─2[gjs───4[{gjs}]]
│ ├─gnome-keyring-d───3[{gnome-keyring-d}] │ ├─gnome-session-b─┬─blueman-applet───3[{blueman-applet}]
│ │ ├─evolution-alarm───5[{evolution-alarm}] │ │ ├─gnome-software───8[{gnome-software}]
│ │ ├─gsd-disk-utilit───2[{gsd-disk-utilit}] │ │ └─3[{gnome-session-b}]
│ ├─gnome-session-c───{gnome-session-c}
│ ├─gnome-shell─┬─firefox-esr─┬─Privileged Cont───15[{Privileged Cont}] │ │ │ ├─RDD Process───2[{RDD Process}]
│ │ │ ├─Web Content───18[{Web Content}] │ │ │ ├─Web Content───16[{Web Content}]
│ │ │ ├─Web Content───22[{Web Content}] │ │ │ ├─Web Content───15[{Web Content}]
│ │ │ ├─Web Content───12[{Web Content}] │ │ │ ├─WebExtensions───16[{WebExtensions}]
│ │ │ └─126*[{firefox-esr}]

5. Find Files in Linux using the File name

The locate command is an essential utility when speed is a priority. It allows you to search for a file using a database of file paths. This makes it much faster than searching through the entire file system manually. Additionally, locate can be used to find files that have been recently created or modified, which can be very useful when trying to track down a specific file.

locate file
┌──(ankit㉿hackreveal)-[~]
└─$ locate .pdf     
/home/ankit/san backup/Advanced Penetration Testing. Hacking the World’s Most Secure Networks ( PDFDrive ).pdf
/home/ankit/san backup/Advanced penetration testing ( PDFDrive ).pdf
/home/ankit/san backup/Black Hat Python ( PDFDrive ).pdf
/home/ankit/san backup/CTS COPA 2017.pdf
/usr/lib/python3/dist-packages/PyInstaller/hooks/hook-reportlab.pdfbase._fontdata.py
/usr/lib/python3/dist-packages/PyInstaller/hooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-310.pyc
/usr/lib/python3/dist-packages/PyInstaller/hooks/__pycache__/hook-reportlab.pdfbase._fontdata.cpython-39.pyc
/usr/lib/ruby/gems/3.0.0/gems/typeprof-0.15.2/doc/ppl2019.pdf
/usr/share/doc/afl++-doc/afl/testcases/others/pdf/small.pdf

10 Linux Commands That Will Save You Time and Increase Your Productivity

LinOxide

About The Author

Ankit Chaubey

See author's posts

    Related

    Hacks Linux Reveals LinuxLinux commands

    Post navigation

    Previous post
    Next post

    Related Posts

    Hacking theharvester best information gathering and penetration testing tool, website footprinting tool, best website scanning software for kali linux, website details finder tools, hack reveal

    theHarvester: Best Free Penetration Testing Tool in 2023

    14, February 202314, February 2023

    Penetration testers can use theHarvester, a Python-developed program similar to sublist3r. theHarvester collects data on emails, sub-domains, hosts, employees, open ports, and banners from a variety of public sources, including search engines, such as Google, Bing, Baidu, DuckDuckGo, Twitter, etc. Anybody who wants to know what an attacker can observe about the…

    Read More
    Linux Top media server sofware for linux

    Top 10 Media Server Software for Linux Users

    28, June 202228, June 2022

    A media server is a specialized file server or computer system for storing media (digital videos/movies, audio/music, and images). It enables you to access your media files over a network. In order to set up a media server, you need computer hardware (or perhaps a cloud server) as well as…

    Read More
    Reveals best free apis for projects

    The Best Free APIs For Projects to Get You Started

    15, March 202315, March 2023

    There are some free APIs for projects that you may include into your projects or MVPs for free, despite the fact that many of them are premium and charged for. The greatest free APIs that we are aware of are listed below. They provide valuable functionality either totally free or…

    Read More

    Comment

    1. Pingback: Termux: List Of Basic Commands You Need To Know 🔥

    Leave a ReplyCancel reply

    Search

    Recent Posts

    • RapidScan: The Ultimate Multi-Tool Web Vulnerability Scanner
    • Zphisher: The Ultimate Automated Phishing Tool Explained
    • Internet Anonymity 101: The Ultimate Guide for Staying Anonymous Online
    • How to Use Photoshop’s AI Generative Fill In 2023
    • Unlock Instagram Hacks with Inshackle – The Ultimate Tool

    Archives

    • How to Use Photoshop's AI Generative Fill
      How to Use Photoshop’s AI Generative Fill In 2023
    • 40 Best Text to Video AI Tools
    • How to Fix “This account is not allowed to use WhatsApp” Error
      How to Fix “This account is not allowed to use WhatsApp” Error
    • 4 ways to hack cameras
      4 Ways To Hack CCTV Cameras And How To Prevent
    • AI Website Builders
      The 7 Best AI Website Builders In 2023
    • PhoneSploit Pro
      PhoneSploit Pro: Taking Phone Hacking to the Next Level
    • Bypass Your Android Screen Lock Without a Password
      How to Hack/Bypass Android Screen Lock Without a Password
    • Instagram Password Hacking
      Bruteinsta: The Ultimate Instagram Password Hacking Tool?
    • Burner Phone
      What is a Burner Phone: Everything You Need to Know
    • how to access Dark Web
      Exploring the Dark Web: How to Get Started Safely
    • anime face changer
      The Best Ai Anime Editor Apps For Android And iOS
    • How to Unbanned From WhatsApp Quickly In 2023
      How to Unbanned From WhatsApp Quickly In 2023

    AI News (4) AI Tools (10) Android (66) Best Product (29) ChatGPT (1) Cryptocurrency (5) Cyber Security (48) Deal (19) Exploits (11) Games (10) Hacking (79) Hacks (15) How To (64) kali Linux (41) Linux (70) Metasploit (6) Reveals (112) SEO (3) Tech (141) Uncategorized (2) Windows (71) Windows Tips (17)

    ©2023 HACK REVEAL | WordPress Theme by SuperbThemes