A simple shell program written in C. The shell provides a command-line interface for executing various commands and interacting with the operating system. Written for Operating systems classes at the University of Adam Mickiewicz in Poznań.
Change the current working directory.
Syntax: cd [directory]
- If no
directory
is specified, the home directory is set as the destination. - Use
~
as a shortcut for the home directory. - Use
-
as a shortcut to switch to the previous directory.
Clear the terminal screen.
Terminate the shell.
Display implemented commands and project specifications.
Display previously entered commands.
List directory contents.
Syntax: ls [options]
Available options:
-a
: Do not ignore entries starting with.
.-g
: Like-l
, but do not list owner.-G
: In a long listing, don't print group names.-l
: Use a long listing format.-p
: Append/
indicator to directories.-Q
: Enclose entry names in double quotes.
Move (rename) files or directories.
Syntax: mv [source] [destination]
- Rename
source
todestination
, or movesource
todirectory
. - Directories are moved (renamed) recursively.
- Extensive control of key input.
- History accessible through up/down arrow keys.
- Shortened home directory path.
- Color-coded text.
- Custom startup animation.
- Sound alert for errors.
- User login and host name.