Results 1 to 4 of 4

Thread: Basic Commands

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Basic Commands

    Table of Contents
    Basic commands for:





    Basic commands for the Opertating System (OS)
    **QUICK**
    Code:
    id; uname -a; lsb_release -a


    id (man page)
    Displays the user who executed the program.
    Code:
    root@kali:~# id
    uid=0(root) gid=0(root) groups=0(root)
    root@kali:~#


    uname -a (man page)
    Displays the kernel name, hostname, kernel release, kernel version, machine name, processor (if known), hardware (if known) and operating system.
    Code:
    root@kali:~# uname -a
    Linux kali 4.9.0-kali3-686-pae #1 SMP Debian 4.9.18-1kali1 (2017-04-04) i686 GNU/Linux
    root@kali:~#

    lsb_release -a (man page)
    Displays which version of Kali-Linux is currently installed
    Code:
    root@kali:~# lsb_release -a
    No LSB modules are available.
    Distributor ID:	Kali
    Description:	Kali GNU/Linux Rolling
    Release:	kali-rolling
    Codename:	kali-rolling
    root@kali:~#
    Last edited by harbinger; 2017-05-12 at 15:26. Reason: Updated for kali-rolling
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •