Building out a command line repository slowly but surely. Looking to also add some weekly security blog content.

CMD Line
  • Home
  • Cisco
    • Cisco Switches Routers
    • VOIP
    • Cisco Command Cheat Sheet
    • Another Cheat Sheet
  • Fortinet
    • Fortigate
  • HPE
    • HPE
  • Juniper
  • Linux
    • Linux Cheat Sheet
    • Linux Commands
  • Mitel
    • Mitel
  • Palo
    • Palo
  • PowerShell
    • Exchange
  • Tools - External Links
    • BPing The ping that beeps
    • Scripting
  • Windows
    • Commands
  • Contact Us
  • More
    • Home
    • Cisco
      • Cisco Switches Routers
      • VOIP
      • Cisco Command Cheat Sheet
      • Another Cheat Sheet
    • Fortinet
      • Fortigate
    • HPE
      • HPE
    • Juniper
    • Linux
      • Linux Cheat Sheet
      • Linux Commands
    • Mitel
      • Mitel
    • Palo
      • Palo
    • PowerShell
      • Exchange
    • Tools - External Links
      • BPing The ping that beeps
      • Scripting
    • Windows
      • Commands
    • Contact Us
CMD Line
  • Home
  • Cisco
    • Cisco Switches Routers
    • VOIP
    • Cisco Command Cheat Sheet
    • Another Cheat Sheet
  • Fortinet
    • Fortigate
  • HPE
    • HPE
  • Juniper
  • Linux
    • Linux Cheat Sheet
    • Linux Commands
  • Mitel
    • Mitel
  • Palo
    • Palo
  • PowerShell
    • Exchange
  • Tools - External Links
    • BPing The ping that beeps
    • Scripting
  • Windows
    • Commands
  • Contact Us

Just a list of hopefully helpful commands- FYI im not native

Shell Commands

  • df
  • ls - Lists the files in a directory
  • cat -  It is generally used to concatenate the files. It gives the output on the standard output. 
  • cp -  This command will copy the files and directories from the source path to the destination path. It can copy a file/directory with the new name to the destination path. It accepts the source file/directory and destination file/directory. 
  • more -  It is a filter for paging through text one screenful at a time. 
  • less -  It is used to viewing the files instead of opening the file.Similar to more command but it allows backward as well as forward movement. 
  • head -  Used to print the first N lines of a file. It accepts N as input and the default value of N is 10. 
  • tail -  Used to print the last N-1 lines of a file. It accepts N as input and the default value of N is 10. 
  • rm -  Used to remove files or directories. 
  • mv -  Used to move the files or directories. This command’s working is almost similar to cp command but it deletes a copy of the file or directory from the source path. 
  • touch -  Used to create or update a file. 
  • sort -  This command is used to sort the contents of files. 
  • wc -  Used to count the number of characters, words in a file. 
  • cut -  Used to cut a specified part of a file. 
  • chmod -  Used to modify the access/permission of a user. 
  • chgrp -  Used to change the group owner of the file. 
  • netstat - 
  • chown - Used to change the owner of the file. 
  • cron
  • traceroute
  • init
  • gzip
  • netcat
  • nslookup
  • grep -   This command is used to search for the specified text in a file. 
  • kill
  • find
  • mkdir -  Used to create a directory if not already exist. It accepts the directory name as an input parameter. 
  • ping
  • dd
  • vi - Opens VI editor
  • wget
  • ifconfig - shows network card information
  • lastboot - shows last boot
  • uptime - shows uptime
  • sudo reboot - reboots the server


Terminal Commands

 

  • ls : To get the list of all the files or folders.
  • ls -l: Optional flags are added to ls to modify default behavior, listing contents in extended form -l is used for “long” output
  • ls -a: Lists of all files including the hidden files, add -a  flag 
  • cd: Used to change the directory.
  • du: Show disk usage.
  • pwd: Show the present working directory.
  • man: Used to show the manual of any command present in Linux.
  • rmdir: It is used to delete a directory if it is empty.
  • ln file1 file2: Creates a physical link.
  • ln -s file1 file2: Creates a symbolic link.
  • locate: It is used to locate a file in Linux System
  • echo:  This command helps us move some data, usually text into a file.
  • df: It is used to see the available disk space in each of the partitions in your system.
  • tar: Used to work with tarballs (or files compressed in a tarball archive)

CMD Line

Copyright © 2024 CMD Line - All Rights Reserved.

Powered by GoDaddy

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

Accept