Your Website Title
Documentation - ADMIRUX.com Interactive Terminal

Documentation - ADMIRUX.com Interactive Terminal

Welcome to the documentation page for the ADMIRUX.com Interactive Terminal. This page provides detailed information on all the commands available in the interactive terminal, how to use them, and examples to help you get started.

The ADMIRUX.com terminal is designed to simulate a Linux command-line environment, allowing you to practice and learn various Linux commands in a controlled environment. Below you'll find a list of commands supported by the terminal, along with explanations and usage examples.

Table of Contents

1. Basic Commands

1.1 help

Description: Lists the top 100 commands available in the terminal.

Usage: help

$ help
    

1.2 pwd

Description: Prints the current working directory.

Usage: pwd

$ pwd
/home/user
    

1.3 clear

Description: Clears the terminal screen.

Usage: clear

$ clear
    

1.4 echo

Description: Prints the provided text to the terminal.

Usage: echo [text]

$ echo Hello, World!
Hello, World!
    

1.5 history

Description: Displays the history of commands entered in the terminal.

Usage: history

$ history
1  pwd
2  ls
3  echo Hello
    

1.6 date

Description: Displays the current date and time.

Usage: date

$ date
Mon Aug 29 14:23:35 UTC 2024
    

1.7 whoami

Description: Displays the current user.

Usage: whoami

$ whoami
user
    

2. File and Directory Management

2.1 ls

Description: Lists files and directories in the current directory.

Usage: ls

$ ls
file1.txt   file2.txt   directory1/
    

2.2 mkdir

Description: Creates a new directory.

Usage: mkdir [directory_name]

$ mkdir new_directory
Directory "new_directory" created.
    

2.3 rmdir

Description: Removes an empty directory.

Usage: rmdir [directory_name]

$ rmdir old_directory
Directory "old_directory" removed.
    

2.4 cd

Description: Changes the current directory.

Usage: cd [directory_name]

$ cd directory1
    

2.5 touch

Description: Creates a new empty file.

Usage: touch [file_name]

$ touch newfile.txt
File "newfile.txt" created.
    

2.6 rm

Description: Deletes a file.

Usage: rm [file_name]

$ rm oldfile.txt
File "oldfile.txt" deleted.
    

3. File Viewing and Editing

3.1 cat

Description: Displays the contents of a file.

Usage: cat [file_name]

$ cat file1.txt
This is the content of file1.txt
    

3.2 grep

Description: Searches for a specific pattern in a file.

Usage: grep [pattern] [file_name]

$ grep "Hello" file1.txt
    

3.3 wc

Description: Counts the lines, words, and characters in a file.

Usage: wc [file_name]

$ wc file1.txt
2  10  100 file1.txt
    

4. Search and Processing

4.1 find

Description: Searches for files and directories by name.

Usage: find [path] -name [name]

$ find /home/user -name "file1.txt"
    

4.2 sort

Description: Sorts the contents of a file.

Usage: sort [file_name]

$ sort file1.txt
    

4.3 uniq

Description: Filters out duplicate lines from a file.

Usage: uniq [file_name]

$ uniq file1.txt
    

4.4 diff

Description: Compares the contents of two files line by line.

Usage: diff [file1] [file2]

$ diff file1.txt file2.txt
    

5. System Information and Management

5.1 df

Description: Displays disk space usage.

Usage: df

$ df
    

5.2 du

Description: Displays the size of a directory and its subdirectories.

Usage: du

$ du
    

5.3 free

Description: Displays memory usage.

Usage: free

$ free
    

5.4 top

Description: Displays real-time system resource usage.

Usage: top

$ top
    

6. Networking Commands

6.1 ping

Description: Sends a ping request to a network host.

Usage: ping [host]

$ ping google.com
    

6.2 traceroute

Description: Traces the path packets take to reach a network host.

Usage: traceroute [host]

$ traceroute google.com
    

6.3 ifconfig

Description: Displays network configuration.

Usage: ifconfig

$ ifconfig
    

6.4 curl

Description: Transfers data from or to a server.

Usage: curl [url]

$ curl http://example.com
    

6.5 wget

Description: Downloads files from the web.

Usage: wget [url]

$ wget http://example.com/file.zip
    

7. Process Management

7.1 ps

Description: Displays currently running processes.

Usage: ps

$ ps
    

7.2 kill

Description: Terminates a process by its PID.

Usage: kill [PID]

$ kill 1234
    

7.3 top

Description: Displays dynamic real-time view of running processes.

Usage: top

$ top
    

7.4 bg

Description: Resumes a suspended process in the background.

Usage: bg [job_id]

$ bg %1
    

7.5 fg

Description: Brings a background job to the foreground.

Usage: fg [job_id]

$ fg %1
    

7.6 jobs

Description: Lists the jobs running in the background.

Usage: jobs

$ jobs
    

8. Miscellaneous Commands

8.1 man

Description: Displays the manual page for a command.

Usage: man [command]

$ man ls
    

8.2 uname

Description: Displays system information.

Usage: uname

$ uname
    

8.3 hostname

Description: Displays the system's hostname.

Usage: hostname

$ hostname
    

8.4 shutdown

Description: Shuts down the system.

Usage: shutdown [options]

$ shutdown -h now
    

9. FAQs

Q: What is the ADMIRUX.com Interactive Terminal?

A: It’s a simulated Linux command-line interface that allows users to practice and learn various Linux commands directly on the website.

Q: How do I navigate the file system?

A: Use the cd command to change directories, ls to list contents, and pwd to print the current directory path.

Q: Can I edit files in the terminal?

A: The terminal supports basic file viewing with the cat command, but editing is simulated. For example, echo "new content" > file.txt can be used to simulate file editing.

Q: How can I view my command history?

A: Type history to see a list of all the commands you’ve entered in the terminal.

Q: What should I do if a command is not recognized?

A: Ensure that you’re using a supported command listed in the help documentation. If the command is still not recognized, it may not be implemented in this simulated environment.

ADMIRUX