Fermé

Shell Programming

Write UNIX Shell scripts to solve the following programming problems -

1) Write a shell script that calculates GCD (greatest common divisor) of two numbers.

• You may take the input numbers from either command line or using standard inputs.

• The program must check if the inputs are numbers.

2) Write a shell script to make a CLI based calculator, the program should behave as follows:

• The program must start with a clear screen, prompting to input two numbers.

1

• Once given, it must list 5 operations (Add, Sub, Mul, Div, and Mod).

• Based on the user’s choice, it should perform addition, subtraction, multiplication, division,

and modulus (manage any illegal operation e.g. 0/0).

• Once calculated, the result must be printed on a new line and the program must print “Press

any key to continue” on the next line.

• Pressing any key, the program must go back to the first step.

3) Write a shell script that takes a decimal number as input and prints its binary, octal, and hexadecimal equivalents.

• Check if the input is a number.

• You may use any inbuild unix tool to perform the conversion.

4) Write a script that takes two filenames and returns the one having more lines than the other.

• Filenames must be given with their relative paths.

• In case of a tie, the script must return both the filenames.

• In case the files are empty or do not exist, the program must print a custom error statement.

5) Write a shell script that creates a CSV file and records the number of packets sent and received by

a given network interface ordered by the timestamp.

• The interface name and the interval must be provided by the user using a command-line

argument.

• Please note, a CSV (Comma Seperated Value) file is a text file that stores a table. The

first line records the column names and the followig lines record individual rows. Each value

seperated by comma (See the example below)

name year marks

abc 2 86

xyz 1 45

pqr 2 66

• the CSV formation of the given table is,

name,year,marks

abc,2,86

xyz,1,45

pqr,2,66

Compétences : Script Shell, Linux, Programmation C, UNIX, Python

en voir plus : linux shell programming ftp, shell programming trainingmumbaiindia, linux shell programming weblink, shell program previous day directory files, informix shell programming, freelancer shell programming, linux shell script find last hours files, shell programming small projects, shell programming tasks, jobs bash shell programming, mini project shell programming, mini projects linux shell programming, projects shell programming, shell programming, shell programming project bid, shell programming task, shell programming tshirt, shell programming mumbai, vncserver script shell programming, shell programming assignment

Concernant l'employeur :
( 4 commentaires ) Mumbai, India

Nº du projet : #28306151

9 freelances font une offre moyenne de 2358 ₹ pour ce travail

idleswell

Thanks for your project. I have been writing Shell scripts since 1985. In addition, I have a Linux system available for development. I will create scripts for the Bash shell for the 5 problems described in the attac Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 4 jours
(103 Commentaires)
5.6
cgconsulting9

I will be happy to pick this for you. I have over six years experience with Shell Scripting in Unix, Win, MacOS. I have read the description and would be able to complete it.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 2 jours
(10 Commentaires)
4.1
fahdhtolba

Hello, I have a bachelor of computer science and more than 8 years of experience in C/C++, assembly and shell programming for Linux/Unix, I have developed numerous network programming projects, for example a simple imp Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 5 jours
(6 Commentaires)
3.9
AnilMaram22

I am expertize in writing shell scripting and deployed in many production server, I would like work on your project where we can easily work on command line using $1 ..$9 variables

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 2 jours
(7 Commentaires)
2.8
hieuhoang117

Hello, I'm HieuHoang, a System Admin. I have 2 years of experience working with Linux server. I used to create some scripts CShell or Python on Linux to manage or monitor system. Please consider and contact me, we wil Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 7 jours
(2 Commentaires)
2.5
leoher96

Hi There, I could help you with your project. I guess it would take me around 1h per bullet. (5h total) Please let me know if interested and I can start working on this right now. Regards, Leonardo

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 5 jours
(2 Commentaires)
1.7
(2 Commentaires)
1.3
TheDevopsGuru

Expert in Devops, Ansible, Shell Scripting, Automation, Linux, Google Cloud , AWS, Hadoop, Redis, Postgresql, MongoDB, Kafka, Big Data, Stardog, Python, High Availability, Graph database, Solr, NoSql, Jenkins, CI/CD et Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% INR en 1 jour
(1 Évaluation)
0.0
singhudeek17

Hi, i am writing shell scripts from 2013 and experts in this filed. i will complete these within 4 days.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 4 jours
(0 Commentaires)
0.0