scripts

hi all
i nid to write a script to display total disk space plus cpu processing time and convert them to dollars and cents.
how do write it in code?
is it using this
format cOtOdO <<!
i
!

i understand this juz show the disk space
but how to convert them and add together as one command?

Best start reading here and trying stuff out:
Linux Shell Scripting Tutorial - A Beginner's handbook

As a hint you might need the commands df and ps.

Hello,

Per our forum rules, all users must write in English, use semi-formal or formal English language and style, and correct spelling errors.

The reason for this is that most software and operating systems are written in English and these are software related technical forums.

In addition, nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, you need to spell correctly!

So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your language, check your spelling and correct your spelling errors. You might receive a forum infraction if you don't pay attention to this.

Also, do not write in cyberpunk or abbreviated chat style under any circumstances and do not use profanity. This is not a chat room, it is a formal knowledge base to serve you and everyone, of all ages and cultural backgrounds.

Thanks!

The UNIX and Linux Forums

In addition to the above comment:
Rule (11) Post questions with descriptive subjects. For example, do not post questions with subjects like "Help Me!", "Urgent!!" or "Doubt". Post subjects like "Execution Problems with Cron" or "Help with Backup Shell Script".