9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Could you please provide the shell script to find number of weekdays and
number of weekends for a given date for that month.
Monday to friday should be considered as weekdays and Saturday and Sunday should be considered as weekends.
Date should be passed as parameter.
For... (13 Replies)
Discussion started by: ROCK_PLSQL
13 Replies
2. UNIX for Beginners Questions & Answers
Hi,
I have parameter file wo_location.prm which has a date variable $last_upd_date= 02032016.
I need to write a unix shell script to find that variable and increment it by 1 day.
The path to the file is root/dir_lc/shared/param/wo_location.prm and the variable is $last_upd_date.
Any... (2 Replies)
Discussion started by: isenhiem
2 Replies
3. Red Hat
How can i trace a destination IP from the initiating IP to see what router(s) it goes thru from the source IP to the destination IP on Linux Redhat server? If it is the traceroute command, what options can i Use to get that infoirmation?
Thanks (2 Replies)
Discussion started by: mrn6430
2 Replies
4. Shell Programming and Scripting
Hi Experts,
i am using the below code get the date of previous day.
#!/usr/bin/ksh
datestamp=`date '+%Y%m%d'`
yest=$((datestamp -1))
echo $yest
When i execute the code i am getting output as:
20130715
What i am trying here is, based on the date passed i am fetching previus day's... (0 Replies)
Discussion started by: learner24
0 Replies
5. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
6. Shell Programming and Scripting
Hi,
I have a text file, foo.txt, it looks something like below. In the file there is a line that gives the date in the form of: Mon Jun 15 11:09:31 2008. I need to find which date is the newest and then store certain details of that list data to another file. So, in this sample text file, I... (6 Replies)
Discussion started by: boolean2222
6 Replies
7. AIX
How to find the router IP address (2 Replies)
Discussion started by: AIXlearner
2 Replies
8. UNIX for Dummies Questions & Answers
Hi, I have a directory PRIVATE in which I have several directories and each of these have several files. Therefore, I need to find those files by size and date to back up those files in another directory.
I don't know how to implement this shell script using ''find''.
appreciate any... (1 Reply)
Discussion started by: dadadc
1 Replies
9. Shell Programming and Scripting
Hello gurus,
I need to write a script to find out all the file that got changed on a specific folder since a given input date (Date to be given as Input)
Thanx (1 Reply)
Discussion started by: ar.karan
1 Replies