10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Write a script, which of the directory including sources of kernel, choose files with sources in C (files with .c extension), including in name "io" with dirvers (located in random subdirectory drivers) and place their content in file FILE. (to 20 lines).
Could someone help me with this task?... (1 Reply)
Discussion started by: Czabi
1 Replies
2. Shell Programming and Scripting
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies
3. Shell Programming and Scripting
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies
4. Shell Programming and Scripting
Hi,
I am planning the following to do. On my linux system I've got different users in the /home/ directory. These users have file limitations.
So every user below the /home/ directory should get a text file in a seperate folder /home/$user/files/ which tells him how many files he is already... (2 Replies)
Discussion started by: crusher
2 Replies
5. UNIX for Dummies Questions & Answers
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
4 Replies
6. UNIX for Dummies Questions & Answers
Hello guys,
Forgive me if I duplicate the post but i think i make a mistake choosing the correct forum.
I need some help to solve a little problem, I have a big file with almost 100.000 lines of data, here is an example of line:
100099C01101C00000000059399489283CREMOVISTAR_TX ... (3 Replies)
Discussion started by: lestat_ecuador
3 Replies
7. Shell Programming and Scripting
Hello guys, I need some help to solve a little problem that I have here:
I have a big file with almost 100.000 lines of data, here is an example of line:
100099C01101C00000000059399489283CREMOVISTAR_TX 010001C00000000000099069799MOVISTAR_Tx ... (7 Replies)
Discussion started by: lestat_ecuador
7 Replies
8. Shell Programming and Scripting
a script, cheer that prints its parameter as shown in the example below.
eg:
$ cheer U N I X
Give me a U!
U!
Give me a N!
N!
Give me a I!
I!
Give me a X!
X!
#!/bin/sh
for letter
do
echo "Give me a $letter!";echo "$letter!"
done
this is the code i used for the above script (2 Replies)
Discussion started by: problems
2 Replies
9. Shell Programming and Scripting
Hi ,
I am relatively new to unix...
Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell..
This is very urgent.
Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies
10. UNIX for Dummies Questions & Answers
Hi there,
Could you please help me with that ?
I want to grep a specific string in an .xml file and then rename the file according to the string I found.
How can I do that for many files. Because all the files have similar names but different time stamps I want to name them so it's easy to... (8 Replies)
Discussion started by: guest100
8 Replies