Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PanagiotisKots authored Oct 6, 2024
1 parent b9fcdb3 commit 7e83af4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ After installing the dependencies, compile XShell using gcc, linking both readli
This command compiles the shell.c file and links the readline and history libraries to create the executable xshell.


3. Running XShell
## 3. Running XShell

Once compiled, run XShell with the following command:

Expand All @@ -86,7 +86,7 @@ Once compiled, run XShell with the following command:
./xshell

4. Uninstallation
## 4. Uninstallation

To remove the installed dependencies:
Ubuntu/Debian-based:
Expand All @@ -104,22 +104,22 @@ Arch Linux-based:

Basic Usage

1. Changing Directories
## 1. Changing Directories

Use the cd command to change the current working directory:


cd /path/to/directory

2. Running External Programs
## 2. Running External Programs

You can run any external program, including running processes in the background by appending &:



./my_program &

3. Managing Jobs
## 3. Managing Jobs

XShell provides built-in job control:

Expand All @@ -138,7 +138,7 @@ fg PID

bg PID

4. Command History
## 4. Command History

XShell uses the History library to manage command history:

Expand All @@ -150,7 +150,7 @@ history
Recall Commands:
Use the up/down arrow keys to navigate previously entered commands.

5. Exiting XShell
## 5. Exiting XShell

To exit XShell, use the exit command:

Expand Down

0 comments on commit 7e83af4

Please sign in to comment.