Computer Science, asked by saurabhkumar47pakwtj, 11 months ago

write a script for entering values by user...... 11th ncert..

Answers

Answered by BrainlyTech
2

#!/bin/bash


# Ask the user for login details


read -p 'Username: ' uservar


read -sp 'Password: ' passvar


echo


echo Thankyou $uservar we now have your login details

#!/bin/bash


# Demonstrate how read actually works


echo What cars do you like?


read car1 car2 car3


echo Your first car was: $car1


echo Your second car was: $car2


echo Your third car was: $car3

STDIN - /proc/<processID>/fd/0


STDOUT - /proc/<processID>/fd/1


STDERR - /proc/<processID>/fd/2

#!/bin/bash


# A basic summary of my sales report


echo Here is a summary of the sales data:


echo ====================================


echo


cat /dev/stdin | cut -d' ' -f 2,3 | sort

cat salesdata.txt


Fred apples 20 October 4


Susy oranges 5 October 7


Mark watermelons 12 October 10


Terry peaches 7 October 15


cat salesdata.txt | ./summary


Here is a summary of the sales data:


====================================


apples 20


oranges 5


peaches 7


watermelons 12


Lot of typing lol

⭐Mark as brainliest⭐

hope this helped you

ima take a break lol




BrainlyTech: my name is jaylor
BrainlyTech: boy lol
BrainlyTech: can you help me get to expert??
BrainlyTech: i need 4 more brainliest answers
BrainlyTech: mark me as brainliest on the questions that i answered from you
BrainlyTech: ima check
BrainlyTech: you on??
Answered by khushikumarirp25
2

Answer:

Mughe explanation bhi mil gaya mein ab apne se bna sakte hu...

Thank you hint dene ke liye...

Similar questions