Skip to content

siddhant-vij/Unix-Java-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unix Java Tools

Java-based project aimed at simulating UNIX command line tools on a Windows environment. It's designed to practice advanced Java concepts while providing functional versions of classic UNIX commands.

Table of Contents

  1. Features
  2. Contributing
  3. Future Improvements
  4. License

Features

  • File and Directory Management:
    • ls: List directory contents.
    • mkdir: Create new directories.
    • rmdir: Remove directories.
    • cp: Copy files and directories.
    • mv: Move/rename files and directories.
    • rm: Remove files and directories.
    • touch: Create or update files.
    • find: Search for files in a directory hierarchy.
    • df: Report file system disk space usage.
    • du: Estimate file space usage.
    • pwd: Print the current working directory.
  • Networking Capabilities:
    • ping: Check network connectivity to a server.
    • curl: Retrieve web pages and files.
    • wget: Download web pages and files.
    • ifconfig: Display network interface information.
    • traceroute: Trace a route through the network.
  • File Content Manipulation:
    • cat: Concatenate and display file content.
    • head: Output the first part of files.
    • tail: Output the last part of files.
    • grep: Search for patterns in files using regex.
    • sort: Sort lines of text files.
    • uniq: Report or omit repeated lines.
    • wc: Word, line, character, and byte count.
    • tr: Translate or delete characters.
    • echo: Display a line of text.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch:
    git checkout -b feature/AmazingFeature
  3. Commit your Changes:
    git commit -m 'Add some AmazingFeature'
  4. Push to the Branch:
    git push origin feature/AmazingFeature
  5. Open a Pull Request

Future Improvements

  • Other Unix Commands: Add the following to the project:
    • cut: Extract columns from files.
    • diff: Compare files line by line.
    • sed: Stream editor for filtering and transforming text.
    • awk: Pattern scanning and processing language.
    • and other advanced Unix commands.
  • GUI Integration: Develop a Graphical User Interface for the command-line tools for enhanced user interaction.
  • Networking Capabilities: Extend the project to include network-related commands for advanced operations.
  • Cross-Platform Compatibility: Enhance compatibility with other operating systems, including full UNIX and Linux support.
  • Performance Optimization: Optimize command execution and resource management.

License

Distributed under the MIT License. See LICENSE for more information.