10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
My task is to modify the command line cat -n /etc/fstab | grep and after grep, filter to only show line 7.
I can't use sed awk or any other command, only grep (1 Reply)
Discussion started by: taurus1992
1 Replies
2. Homework & Coursework Questions
#!/bin/sh
#Buddy Gibbons
#COP3353 - Assignment 4
#4/21/12
file=$1
directories=0
files=0
rfiles=0
xfiles=0
wfiles=0
if
then
echo "Usage: assignment4.sh <directory_name>"
exit
fi (1 Reply)
Discussion started by: tennistennis1
1 Replies
3. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
To sort a data
2. Relevant commands, code, scripts, algorithms:
The data provided is saved in dummy.txt and provided in LIBSVM format, but I think this information is redundant..
+1 1:2 2:4 4:3.2
-1 2:2.1 2:2.1 ... (4 Replies)
Discussion started by: eeweepoh
4 Replies
4. Shell Programming and Scripting
Hello im currently taking up Operating Systems and we're on unix ryt now. we have to make a script and here are the requirements.. can someone please help me. I would reli appreciate it.. because i dont reli know how to make scripts yet.
Name of script : parkingcharge.sh
Create a script that... (1 Reply)
Discussion started by: pitdark
1 Replies
5. Shell Programming and Scripting
i have to do this but i am confused,
Create a file containing the bash functions which perform the following tasks. Clearly label each function. Print out and turn in this file.
1.Write a function which displays the current date, time, username, and current directory.
... (1 Reply)
Discussion started by: CRAZYLITTLELOU
1 Replies
6. Shell Programming and Scripting
Hi,
I have multiple servers and each server hosts multiple databases. Now i have requirement as below
1) Create a file in any server which will hold all the database name.
2) Write a shell script that will read the file and connect to each and every database. and log out of it one by... (2 Replies)
Discussion started by: amritansur
2 Replies
7. UNIX for Dummies Questions & Answers
hi friends,
How to obtain list of groups we r a member of and redirect it to a file.
how to append the details of current OS to a file.
how to append the estimated file space to a file.
how to append the details of users loged on along wth their current activity into a file.
Thank you...I'm... (3 Replies)
Discussion started by: bobby36
3 Replies
8. Shell Programming and Scripting
hi guys...
am new 2 dis unix world...
am in need of a unix manual...
cud sum1 pls post sum links 2 download it?>?>? :confused:
Danks in advance... ;) ;) ;) (1 Reply)
Discussion started by: sundar_shankar
1 Replies
9. UNIX for Dummies Questions & Answers
friends i wanted to now whehter there exists a book as a solution to the questions posted in exercies of the Design of Unix Operating system by Maurice J Bach !..its really urgent !! (1 Reply)
Discussion started by: darshaan
1 Replies
10. UNIX for Dummies Questions & Answers
I have a few questions about Unix. Can you please help!
1.How do I create an alias that greps the password file for my username and returns my password file entry? Once I get the alias to work I want to be able to let a friend use it .So that he can use the alias to locate his password entry... (1 Reply)
Discussion started by: JJJ
1 Replies