Skip to content

bash scripts help generate number of blocks that make up a file, input can come from a file or stdin

Notifications You must be signed in to change notification settings

nthanapaisal/inodeGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inodeGenerator [completed]

bash scripts help generate number of blocks that make up a file, input can come from a file or stdin

Execute:

1. Takes the input from stdin (inodeScriptCommand.bash)

- Execute the script [ $ bash inodeScriptCommand.bash ]
- Insert the inputs in the command line in this format after the prompt: actualSize fileSize k-BlockSize byteAddress [ $ 4 GB 4 4 ]

2. Takes the input from a file if the user has a list of inputs (main.bash and inodeScriptFile.bash)
- Input.txt format by line: [ 4 GB 4 4 ]
- Execute the script [ $ bash main.bash input.txt ]

notes:

Scripts can take to file size from bytes up to TB

About

bash scripts help generate number of blocks that make up a file, input can come from a file or stdin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages