Programming :: Bash - Use The Call Command (displays The Current Month And The Next Month)?

Mar 8, 2011

how i can use the cal command so it displays the current month and the next month, i know you can use cal -3 9 2007 to show the previous current and next but i just want to display the current and next.

View 9 Replies


Ubuntu Networking :: Traffic Monitor - How Much Data Downloaded/uploaded On An Interface This Month And Previous Month

Nov 20, 2010

I'm looking for a powerful network traffic monitor that can do all of the following (or at least a combination of tools that can do the following):

Tell me how much data was downloaded/uploaded on an interface this month and the previous month tell me how the traffic was used throughout the monthshow which internal IPs (IPs in the network) used how much traffic show which ports/protocols on those IPs used all that traffic

Hhow LIVE traffic flow statistics that can tell me total speed of traffic going through an interface as well asshow which internal IPs (IPs in the network) are using how much of the traffic show which ports/protocols on those IPs are using that traffic

This tool will run on a linux router through which all my internal PCs are connected to the Internet. This means the tool(s) need to work with NAT (traffic being forwarded and not necessarily destined for the interfaced being monitored).

The distribution being run doesn't have a package manager so any packages or dependencies have to be manually compiled and SCPed over file by file. For this reason, the tool/tools need to be simple (things like vnstat, not things like ntop that have their own web interface).

I know that vnstat can tell me the first bullet point so it's only there incase there's a tool out there that can do everything. If there's a tool that can only do the second or third bullet point, that's great too - I'll just keep using vnstat and look for something else to do the other task.

View 6 Replies View Related

Ubuntu :: Create Text File Which Lists Sales - Bash Script Shows Total Sales Of Each Month?

Mar 8, 2011

Firstly i'd like to introduce myself before I ask my question, i am currently studying a "Network Operating System 2" course, and in the syllabus the professor decided to use Ubuntu Linux for us. This is a first for me and I am truly greatly interested in the OS. It seems like a solid system once you get to know the deep foundations of it. The professor has already given us an assignment, but I feel its not fair as its just a bit too much from out of what he taught us .. He did not teach us what he is asking for. He asked us to create to a text file which lists the Sales from two Salespersons, and each one will have an amount for each month .. So 12 entries for each salesperson.

Using that text file, we should write a bash script which would read the values from the above text file, and produce a "Monthly Sales" text file, which shows the total sales of each month (combined from both the salespersons). I would like to ask for some guidance, some help on how to start. It's just that he didn't teach us any commands about this matter.

View 9 Replies View Related

Programming :: How To Print Out "n" Days Ago's Year / Month And Day

Feb 10, 2011

Interesting uh? For example, 2 days ago's date is 2011 Feb 8th. This is not a homework...

View 3 Replies View Related

Fedora :: Display The Next Month Using Cal?

Sep 1, 2011

The "cal" command returns the current month. The "cal -3" displays the previous, the current and the next month.

How do you make it display the next month only?

View 11 Replies View Related

CentOS 5 :: Since 1 1/2 Month No Updates Via Yum?

Feb 21, 2011

I know this is not as easy or simple as I talk this questions for a free distro. Is it possible, that the last update for the update repository is from 07. Jan. 2011? I know I can get the srpm from rh and compile it by myself.

Is it right --> in case of new releases and limited resources the updates for supportet releases are not highest priority and so we have to wait a little or compile it manually from rh source?

View 4 Replies View Related

OpenSUSE :: Why Does System Gets Slower After A Few Month

Oct 7, 2010

My system (opensuse 11.2, kde 4.x) got significantly slower after a year of usage. Its response time is higher, boots longer. Filesystem is ext3 and is not fragmented. Number of daemons loaded on startup hasn't changed.

View 9 Replies View Related

Ubuntu :: 8.10 - Date And Time One Month Behind

Mar 5, 2010

When I boot up ubuntu 8.10 the time and date are a month behind. Is there anyway of correcting this?

View 8 Replies View Related

General :: 4 Month Old Drive Failing?

Apr 11, 2011

I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.

View 14 Replies View Related

Server :: Keeps One Month Data - Rsync?

Jul 19, 2011

My rsync takes backup of everything from the differenct linux servers to my backup device which is 2 TB only .Since it takes almost full backup of source , it consumes space lot in the backupdevice. So i wanted to keep all my backup files of one month old latest files in backup device, it should remove all files more than one month data.

View 2 Replies View Related

OpenSUSE :: Install AWN For A Month Now On 3 Different 11.2 Installations And Kde And Gnome?

Jan 28, 2010

I have tried to install AWN for a month now, on 3 different 11.2 installations and kde and gnome, and would really like to know why I can't install it. I have tried:

- packman 1-click
- packman individual package installations
- rpm installation

and I keep getting these errors

- libawn1>=0.2.6 needed by avant-window-navigator-0.2.6-6.45.x86_64
- needed by libawn1-0.2.6-6.45.x86_64

and believe me I have tried to find these and have tried even similar looking things, no luck this is getting my opensuse experience down.

View 9 Replies View Related

Ubuntu Installation :: Wont Start Up After One Month

Mar 11, 2010

this has happened two months in a row since i first installed Ubuntu 9.10, at exactly one month after i've installed it, it wont start up properly when i clicked on the Ubuntu option as my OS.

It will bring me to a page with grub> appearing and im meant to type in something but cant figure out what.

so in the end i have to reinstall ubuntu again in my windows OS and this irks me a great deal, as i will have to reinstall my wine and spotify and not to mention losing all the data and pictures that i have saved in Ubuntu.

View 4 Replies View Related

Ubuntu Servers :: Crontab Omission Of One Every Month?

May 25, 2010

I set a backup copy of your home computer. I have a problem. A copy of the full exercise once a month


15 22 1 * * / root / scripts / full

incremental and would like to do on a daily basis since 22, but aside 1 day each month when it comes to full


00 22 * * * / root / scripts / incremental

How can this be set and whether there is a possibility?

View 1 Replies View Related

Ubuntu One :: Change Subscription From Month To Year?

Nov 15, 2010

Does anybody know where the "pay-per-year-instead-of-per-month-botton" is located. I can't find it

View 2 Replies View Related

Ubuntu :: Slow System After One Month Of 11.04 Usage?

May 19, 2011

i installed ubuntu 11.04 beta rarely two months before. i m updating the version regularly. my system seems to slow very much for merely a month after its installation.what shall i do?

View 9 Replies View Related

SUSE :: Get All Month Start And End Date Between Two Dates?

Dec 22, 2010

I have a requirement where I need to write to a file a block of static text for each month starting from 01-01-2000. It would be something like below


View 2 Replies View Related

General :: Cronjob / Execute At 4:30 Pm On 2nd Monday Of Each Month?

May 10, 2010

Cron setup for execute at 4:30 pm on 2nd monday of each month.

50 16 8-14 * mon /home/user/

It seems to be ignoring the date range 8-14?

View 1 Replies View Related

Slackware :: Change The Display By Clicking On The Month?

Jan 1, 2010

If I click on the clock in the system tray, KDE presents me with the calendar December 2010... if I try to change the display by clicking on the month and selecting Jan, KDE crashes!

View 14 Replies View Related

OpenSUSE :: Month Of Emails Gone After SeaMonkey Upgrade From Repo?

Oct 2, 2010

Imagine my surprise when, after accepting the proposed upgrades posted for OS 11.1 today, that my SeaMonkey email client shows NO messages from Sept. 2010 in any account, sent or received.

More info: Upon checking for messages, an unusually large number were seem to download (POP server) but few appeared in the in boxes. Old messages from August appeared for the first time.

View 4 Replies View Related

Ubuntu :: Change The Date Format So That It's- Month-Day-Year?

May 13, 2010

I use an email program that shows the date as, 10-4-26.....which means the year 2010 (10) April (4) 26th day.

How do I change the date format so that it's- Month-Day-Year?

I want this changed system wide so all dates are shown in the format I want.

View 2 Replies View Related

Ubuntu :: Filter Date By Range Of Month Using Grep?

Jan 30, 2011

how to filter Date in terminal? I can filter a month from another month using grep but I cant grep multiple months. example, I want to show the data from 20/Jan/2011 to 10/Sep/2011. Grep can only show data of January and September. Is there any other unix commands I can use to achieve what I want?

View 9 Replies View Related

Ubuntu Servers :: Schedule A Task To Run On The 1st Saturday Of Every Month?

Aug 10, 2011

Is there a way to schedule a task to run on the 1st Saturday of every month? I'm not sure if what I have here will run. I am running Ubuntu 10.04 Server x64

What I have right now is:

# m h dom mon dow command
00 00 1 * Sat /storage/scripts/

This looks to me that it will only run at midnight if a Saturday is the first of the month. But if that's the case then that's not quite what I'm looking for...

View 2 Replies View Related

Software :: Calc Formula To Check If Day Is Last Day Of Month

Jan 19, 2009

I've got a CD which does the monthly compounding on the last day of every month instead of every 30 days. The bank gave me a print-out (of course), but I'd like to make my own Calc spreadsheet too. My question is: How do I check whether a certain day is the last day of the month? In other words, I'm looking for something that returns TRUE if it's the last day of the month and FALSE if it isn't. I'm using 2.4.1 on Ubuntu 8.10.

View 1 Replies View Related

Ubuntu :: Program To Record Internet Traffic - Gigabytes Per Month?

Jan 16, 2011

Were we are we are now getting dinged by the gigabyte were up till now it was just a monthly cost for unlimited use. I guess they are fishing for more profits anyways I need a program that will record/track my monthly usage is their anything available like this for ubuntu?

View 6 Replies View Related

General :: Auto Delete Mails From Postfix Server After 1 Month?

Jun 21, 2010

How do I make my postfix mail server auto delete mails from user mailboxes after say 1 or 2 months?

View 1 Replies View Related

Server :: File Myscript Runs On Every Tuesday Of April Month.

Apr 18, 2011

I have a cron job like this.

04 07 17 04 02 sh -x myscript

this means the file myscript should be executed when the server date comes to Apr 17 on Tuesday at 07 04 am.

But the file myscript runs on every tuesday of April month.

View 6 Replies View Related

Ubuntu :: Make A Repetitive Job That Reminds To Change Password Every Month?

Sep 5, 2010

I would like to have ability to inform a user to change its passwd every month ? How can I do it in ubuntu by using cmd ?

View 2 Replies View Related

Ubuntu :: Change The System Clock So It Shows The Stardate Instead Of The Month, Day And Year?

May 21, 2010

on the mac there is a piece of software to change the system clock so it shows the stardate instead of the month, day and year. Is there something like that for Ubuntu? I think it would be pretty cool to have a star trek themed desktop

View 9 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related

Ubuntu Networking :: Gui Bandwidth Monitor - Set Up And Just Shows The Amount Of Data Downloaded And Uploaded Per Month

Feb 16, 2010

my isp is putting a max bandwidth in my area and I need to monitor my downloads and uploads per month. Is there anything that has a gui that is easy to set up and just shows the amount of data downloaded and uploaded per month. Also if possible to do a pop up if you set a maximum bandwidth amount.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved