Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 OPERATING SYSTEM


  Use rsync to delete mass files quickly in Linux

Yesterday I encountered an issue to delete many log files in my Linux workstation, there were around 100,000 files to be deleted. These are log files and they grow very fast, and we need to delete them frequently. Usually we would use rm -rf * to delete these files, but we may need to wait for a relative long time if there are too many files. So we must adopt some unusual way. Fortunately, we can use rsync to delete mass files in one shot.1. Install rsyncyum install rsync2. Create a new empty foldermkdir /tmp/test3. Use rsync to delete target folderrsync --delete-before -a -H -v --progress --s...

14,152 0       DEMO RSYNC DELETE FILE


  Office will finally be on iOS and Android in 2013

It was confirmed that Office would land on iOS and Android platforms by Microsoft in October. Microsoft claims that Office will be on these two platforms in some way. Now many sources indicated that Office will be officially launched at the beginning of 2013.It is reported that the mobile version of Office will be free on Android and iOS, it allows users to view Office documents. Mobile version of Office also requires a Microsoft account just like SkyDrive and OneNote App. After login, users can do some corresponding operations. The released Office will include Word, PowerPoint and Excel, but ...

3,365 0       ANDROID IOS OFFICE OFFICE 365


  Concise bash programming skills

The following are some concise bash programming skills which we may need in our daily programming work.1. Check status of command execution The usual way:echo abcdee | grep -q abcd if [ $? -eq 0 ]; then echo "Found"else echo "Not found"fiConcise way:if echo abcdee | grep -q abc; then echo "Found"else echo "Not found"fiOf course you can remove if...else with following code[Sun Nov 04 05:58 AM] [kodango@devops] ~/workspace $ echo abcdee | grep -q abc && echo "Found" || echo "Not found"Found2. Redirect standard out and standard error to /dev/nullThe usual way:grep"abc" te...

10,167 2       TIP BASH SKILL


  Windows 8 launch event data

Today on Microsoft Windows 8 launch event, Microsoft CEO Steve Ballmer and Windows manager Steven Sinofsky shared with us some data. Let's see what's happening to Windows.Since launch, Windows 7 system gains a total of 670 million upgrade and 400 million new PC installed with Windows 7.Microsoft's cloud storage service Skydrive, 200 million users share 11 billion photos and 550 million documents. new 2PB file uploaded monthly.(1PB = 1024TB)Windows 8 has been tested in 190 countries for 1.24 billion hours.Windows 8 to reconnect the WiFi only needs one second, while windows 7 takes 15 seconds.Th...

3,075 0       WINDOWS 8 MICROSOFT DATA


  Windows 8 price is unveiled

Although it's still half month away from releases of Windows 8, Microsoft releases price of all versions of Windows 8 on Windowsteam blog. From now on, users can pre-order this product on Amazon, Bestbuy, Staples and Office Depot.The prices for different version :Windows 8 Professional Upgrade : $69.99Windows 8 Pro Pack-Product Key Card : $69.99Windows 8 64 bit(Full Version) -- OEM : $99.99Windows 8 32 bit (Full Version) -- OEM : $99.99Windows 8 Professional 32 bit (Full Version) -- OEM : $139.99Windows 8 Professional 64 bit (Full Version) -- OEM : $139.99If you upgrade Windows after 26th Octo...

3,370 0       WINDOWS 8 PRICE


  9 reasons to use Zsh

Like majority *nix users, I have been using bash for many years. Sometimes I feel uncomfortable with bash. I tried use some other shells as well such as ksh, tcsh and zsh which I am going to talk about. A few days ago, I found an open source project ranking in the 6th named oh-my-zsh on Github, I downloaded it and had a try with it. It's amazing. We should use zsh to replace bash now.Why do we need to use zsh?Here is a 4 minutes YouTube video which shows many reasons why we should switch from bash to zsh.Reason 0 : zsh is compatible with bashCompatible with bash means that we don't need to spe...

9,957 0       ZSH ADVANTAGE COMMAND


  Using msmtp to replace sendmail

sendmail is a mail client in Linux with many vulnerabilities and tedius configuration steps, many system administrators have disabled using it. Then how do we know what happens if a crontab script executes with error?Actually there are some replacements for sendmail, one is ssmtp, but this application is no longer maintained, we even cannot find its source code on Google. Fortunately, we can use msmtp to replace sendmail. The address : http://msmtp.sourceforge.net/1. InstallationAfter downloading and decompressedm we run./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etcmakemake in...

13,455 0       SENDMAIL MSMTP REPLACEMENT


  Good bye, IE8, Google Apps leaves you

Google Apps team annouced not supporting IE 8 and lower version of IE, this will affect every Google App user including commercial, education and government. The time for leaving IE 8 is 15 November, at that time, IE 10 will be released for a few weeks.Google Apps team explained here:As we announced last year, we support the latest version of Google Chrome (which automatically updates whenever it detects that a new version of the browser is available) as well as the current and prior major release of Firefox, Internet Explorer and Safari on a rolling basis. Each time a new version of one of th...

2,812 0       IE8 GOOGLE APPS