DEV Community

Mathwithnouman
Mathwithnouman

Posted on

HTML LOGIN/SIGNUP CODE :

  1. ls: Lists files and directories in the current directory.

    • Example: ls or ls -l (to display detailed information)
  2. cd: Changes the current directory.

    • Example: cd /path/to/directory or cd .. (to go up one level)
  3. pwd: Prints the current working directory.

    • Example: pwd
  4. mkdir: Creates a new directory.

    • Example: mkdir directory_name
  5. rm: Removes files or directories.

    • Example: rm file_name or rm -r directory_name (to remove recursively)
  6. cp: Copies files and directories.

    • Example: cp source_file destination_file or cp -r source_directory destination_directory (to copy directories)
  7. mv: Moves or renames files and directories.

    • Example: mv old_file new_file or mv file_name /path/to/new_location (to move files)
  8. cat: Displays the contents of a file.

    • Example: cat file_name
  9. touch: Creates a new file.

    • Example: touch file_name
  10. grep: Searches for a specific pattern in files.

    • Example: grep pattern file_name or grep -r pattern directory_name (to search recursively)
  11. chmod: Changes the permissions of a file or directory.

    • Example: chmod permissions file_name (where permissions can be something like 755)
  12. sudo: Executes a command with root (administrative) privileges.

    • Example: sudo command (you'll be prompted to enter your password)
  13. apt-get: Package management command for Debian-based systems to install, update, and remove software packages.

    • Example: sudo apt-get install package_name or sudo apt-get remove package_name
  14. man: Displays the manual pages for a command.

    • Example: man command_name (e.g., man ls)

Top comments (0)