1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Friday, July 30, 2010

How to View bash shell history and Change bash history file size in Ubuntu

http://www.ubuntugeek.com/how-to-view-bash-shell-history-and-change-bash-history-file-size-in-ubuntu.html?utm_source=rss&utm_medium=rss&utm_campaign=how-to-view-bash-shell-history-and-change-bash-history-file-size-in-ubuntu

The Bash shell is the default shell environment in most Linux distributions, including all flavours of Debian. One default feature of the Bash shell is to record a history of all the commands entered by a user in a log file called .bash_history, found in the user's home directory.
View user bash history in Ubuntu

First open up a terminal from Applications > Accessories > Terminal and type the following command

history

This will show you all your terminal commands history on the terminal

If you want to save this history in to a file use the following command

history -w ~/userhistory.txt

Once you have save the file you can view using the following command from your terminal

gedit ~/userhistory.txt

Change bash history file size

If you want to change bash history file size open up your .bashrc using the following command from your terminal

gedit ~/.bashrc

Now add the following line at the top

export HISTFILESIZE=3000

Save and exit the file

As you can see, the limit can be changed.

Bash shell keeps it's own history in a file. You can view that file as stated before, or by opening ~/.bash_history.

Tuesday, July 27, 2010

Latest ATI Video Driver Has Support for Ubuntu 10.04 - ATI Eyefinity is also included in ATI Catalyst 10.7

http://news.softpedia.com/news/Latest-ATI-Video-Driver-Has-Support-for-Ubuntu-10-04-149158.shtml

Advanced Micro Devices (AMD) proudly announced a few minutes ago, July 26th, another improved version of its ATI Catalyst Linux display driver, available for both x86 and x86_64 architectures. ATI Catalyst 10.7 introduces final and stable support for the Ubuntu 10.04 LTS (Lucid Lynx) operating system, early support for the newly released openSUSE 11.3 distribution, and official support for the ATI Eyefinity technology. The software version was updated to 8.753. Without further introduction, let's have a look at the highlights of ATI Catalyst 10.7:

· Production support for Ubuntu 10.04 LTS (Lucid Lynx) operating system;
· Initial support for the openSUSE 11.3 operating system;
· Support for the ATI Eyefinity technology on all supported Linux systems;
· Fixed startup X segmentation fault issue on Ubuntu 10.04 LTS, for multi-ASIC systems;
· The display no longer turns black when display rotation is applied from XRandR or the Catalyst Control Center;
· Solved Catalyst Control Center startup issue after X restart, when a primary display was disabled (dual-head/clone mode);
· Users of two Gemimi cards can now properly enable CrossFire on the first card;
· Fix Xorg Server crash when the "Maintain Aspect Ratio" option is applied at the maximum resolution (GPU scaling);
· Fixed display rotation issue in SUSE Linux;
· Fixed X-window crash when an ATI video card is plugged in a NV's C51 IGP (Integrated Graphics Processor) motherboard;
· Clone mode now works properly if the Fn+F4 key combination is pressed, after an external VGA monitor was connected;
· Fixed display issues in Catalyst Control Center, when the Gamma control was changed, for clone mode;
· Fixed black screen and X-window startup issues when a second ASIC is enabled, and a monitor is not connected.

As usual, some known issues remain unresolved in this release, so make sure you check them out here.

Requirements:
· Red Hat Enterprise Linux (RHEL) suite;
· Novell/SuSE and openSUSE Linux product suite;
· Ubuntu Linux (including 10.04 LTS (Lucid Lynx)).
· XOrg 6.8, 6.9, 7.0, 7.1, 7.2, 7.3, 7.4 or 7.5;
· Linux kernel 2.6 or above;
· glibc version 2.2 or 2.3;
· POSIX Shared Memory (/dev/shm) support is needed for 3D applications;
· You need all of these packages before installing: XFree86-Mesa-libGL, libstdc++, libgcc, XFree86-libs, fontconfig, freetype, zlib and gcc;
· For the best experience, you should also have: the kernel module build environment, either the sources or the headers, and, if you plan to use the RPM packages, you need to make sure the RMP utility is working properly.

Detailed installation instructions can be found here, in PDF format.

Download the ATI/AMD Linux Display Driver 10.7 right now fromSoftpedia.


电子书下载网站

http://www.williamlong.info/blog/archives/492.html

  电子书下载网站

  看书多了,尤其是有了iPad之后,就喜欢看电子书了。下面是我找到的一些电子书和盗版书的下载网站。

  PDF/DOC格式电子书下载网站:

  1、 www.docin.com

  2、 wenku.baidu.com

  3、 ishare.iask.sina.com.cn

  EPUB格式电子书下载网站:

  1、 www.shucang.com

  2、 www.cnepub.com

  3、 www.coay.com

  4、 bbs.weiphone.com/thread-htm-fid-224.html

Monday, July 26, 2010

Quest Software Launches Freeware to Centrally Manage Unix/Linux/Mac Users and Groups

http://www.marketwatch.com/story/quest-software-launches-freeware-to-centrally-manage-unixlinuxmac-users-and-groups-2010-07-26?reflink=MW_news_stmp

SAN DIEGO, Jul 26, 2010 (BUSINESS WIRE) -- Burton Group Catalyst Conference 2010 -- July 26, 2010

News Facts:

-- Quest Software, Inc. (QSFT 19.34, +0.12, +0.62%) has launched Quest Identity Manager for Unix as freeware to streamline the management of local Unix/Linux/Mac users and groups; report on key identity and group information across Unix/Linux systems; and assess the readiness of systems for advanced functionality such as Active Directory bridge technologies.

-- Benefits of Identity Manager for Unix include: -- Local User and Group Management -- Enables administrators to use the same tool to manage all Unix account information regardless of its location

-- Creates new user accounts for multiple Unix systems from a single, centralized console

-- Deletes terminated accounts across multiple Unix systems from a single, centralized console

-- Resets passwords centrally across an entire population of Unix systems

-- Reporting -- Quickly and easily provides auditors with granular reports on Unix identity information, including all local accounts associated with a single user, all members of specific Unix groups, etc.

-- Migration and Deployment -- Provides a bird's eye view of all local Unix accounts and system parameters, enabling administrators to determine which systems are ready for advanced functionality offered by Active Directory bridge technologies such as Quest Authentication Services.

-- Web Console -- The Web-based console ties identity related tasks together for a centralized point of management that can be run from any Unix, Linux, Windows, or Mac platform and any of the most common browsers.

Quotes:

Mark Diodati, senior analyst, Burton Group

"The identity management of Unix/Linux and other operating systems users remains a difficult problem. In many cases, each Unix system remains its own "island of identity", or worse tied to a legacy, insecure user account management system. A centralized identity management system is essential for large or highly regulated Unix environments. Further, centralized identity management can be coupled with an authentication strategy to synergistically address organizational governance requirements."

Jackson Shaw, senior director of product management, Quest Software

"Managing Unix/Linux/Mac systems has been a daunting task for administrators and, until now, they have had to perform all tasks manually. The need for a free centralized tool has been expressed, and we are happy to give back and make Quest Identity Manager for Unix the de facto standard for the community."

Get Involved:

-- Try Identity Manager for Unix now: http://www.freeunixiam.com/

-- Check out the 60-second recorded demo to see firsthand how Identity Manager for Unix works: http://www.quest.com/free-unix-iam/videos/qimu-demo-60-small.wmv

看到一句话

http://lazylorna.com/

看到一句话:人生需要结交两种人:良师、益友。能吃得下两样东西:吃苦、吃亏。争取两个极致:把潜能发挥到最大、把生命延续到最长。

Friday, July 23, 2010

5 free online services that store, sync and share your files

http://www.computerworld.com/s/article/9179418/5_free_online_services_that_store_sync_and_share_your_files_?taxonomyId=19

You can upload your files to a 'virtual hard drive' and access them from your other devices

By Howard Wen
July 23, 2010 06:00 AM ET


Computerworld - "Syncing to the cloud" may sound like marketing-speak, but it's actually a convenient thing to do: Upload your important files to an online server and access them from any of your other computers and mobile devices.

Cloud-based syncing services usually use a virtual drive that exists on your desktop in some manner, and it is linked directly to your online storage space. The contents of this virtual hard drive remain in sync across all of the desktops, notebooks and mobile devices on which you have installed the client software.

You designate which files or folders that you want to be part of the virtual drive; everything on that drive is then automatically uploaded to an online server. From there it is accessible (by logging on with a username and a password) from your other devices, either from another installed version of the application, or via a Web interface. And you can grant other people access.

For this roundup, I chose five services that store, sync and share your files in the cloud: DriveHQ, Dropbox, OpenDrive, SpiderOak and ZumoDrive. I reviewed them using their desktop front-end clients, and I used only the free account versions of these services (because everybody likes free stuff). Most of these also offer paid upgrades; in those cases, I list the other options that are available.

Incidentally, until recently Microsoft offered its own data synchronization service, called Live Mesh, but it's now defunct. Another Microsoft service, Windows Live Sync, doesn't have direct syncing access to an online storage space. However, features of Live Mesh have been incorporated into the upcoming version of Windows Live Sync as part of Windows Live Essentials.

The new Windows Live Sync will give you 2GB of online storage for syncing files. Unfortunately, the next version of Windows Live Essentials won't run on Windows XP, so XP users may want to check out the services in this roundup.

Ten Reasons to Dump Windows and Use Linux

http://www.pcworld.com/businesscenter/article/201731/ten_reasons_to_dump_windows_and_use_linux.html?tk=hp_new

Now is a particularly good time to ditch Windows for good, for workstations as well as servers. For instance, now that Microsoft stopped supporting Windows Server 2003 on July 13, you'll need to find something different to use for your servers. Whether it's switching from Windows Server 2003 to 2008 or to Linux-based servers--or changing out tired and faulty Windows Vista desktops for the alien Windows 7 or something more user-friendly--Linux provides you with freedom and freedom of choice.

You might believe that dumping Windows and switching to Linux is a difficult task, but the change in thought and the perception of that switch are the most difficult. If you've attempted an upgrade from Windows XP to Windows 7, you know what pain is.

Business owners find that Linux, for what was once a "niche" operating system, provides the necessary components and services on which many rely. Linux continues its entry into the world's largest data centers, onto hundreds of thousands of individual desktops, and it represents a near 100 percent domination of the cloud services industry. Take the time to discover Linux and use it in your business. Take the time to discover Linux and use it in your business. Here are ten reasons to give Linux at least a second look:

1. Commercial Support

In the past, businesses used the lack of commercial support as the main reason for staying with Windows. Red Hat, Novell and Canonical, the "big three" commercial Linux providers, have put this fear to rest. Each of these companies offers 24x7x365 support for your mission-critical applications and business services.

2. .NET Support

Businesses that have standardized on Microsoft technology, specifically their .NET web technology, can rely on Linux for support of those same .NET applications. Novell owns and supports the Mono project that maintains .NET compatibility. One of the Mono project's goals is to provide businesses the ability to make a choice and to resist vendor lock-in. Additionally, the Mono project offers Visual Studio plugins so that .NET developers can easily transfer Windows-based .NET applications without changing their familiar development tools. Why would Novell and others put forth the effort to create a .NET environment for Linux? For real .NET application stability, Linux is a better choice than Windows.

3. Unix Uptimes

Linux stability offers business owners the peace of mind that their applications won't suffer lengthy outages due to operating system instability. Linux enjoys the same high uptimes (often measured in years) that its Unix cousins do. This stability means that Linux can support your "99.999 percent available" service requirements. Rebooting after every patch, service pack, or driver change makes Windows an unstable and unreliable choice for those who need nonstop support for their critical applications and services.

4. Security

No operating system is 100 percent secure and Linux is no exception. But, Linux offers excellent security for its users. From regular kernel updates to an almost daily list of security patches, Linux code maintainers keep Linux systems very secure. Business owners who rely on commercially supported Linux systems will have access to every available security fix. With Linux, you have a worldwide community providing security fixes, not a single company with closed source code. You are completely dependent on the response of one company to provide you with timely security fixes when you use Windows.

5. Transferable skills

One barrier to Linux adoption was the idea that Linux isn't enough like Unix, and therefore Unix administrators couldn't successfully use their knowledge when making the switch to Linux. The Linux filesystem layout looks like any commercial version of Unix. Linux also uses a standard set of Unix commands. There are some Linux commands that do not transfer, but this is also true of any version of Unix.

Windows administrators might find that using a keyboard instead of a mouse is a difficult part of the transition, but once they discover the power of the command line, they might never click again. Don't worry, though, for you GUI-bound Windows types, Linux has several desktop managers from which to choose--not just one.

6. Commodity hardware

Business owners will like the fact that their "out-of-date" systems will still run Linux and run it well. Fortunately for Linux adopters, there's no hardware upgrade madness that follows every new version of the software that's released. Linux runs on x86 32-bit and 64-bit architectures. If your system runs Windows, it will run Linux.

7. Linux is free

You may have heard that Linux is free. It is. Linux is free of charge and it is free in the sense that it is also free of patents and other restrictions that make it unwieldy for creative business owners who wish to edit and enhance the source code. This ability to innovate with Linux has helped create companies like Google, who have taken that ability and converted it into big business. Linux is free, as in freedom.

8. Worldwide community

Linux has the support of a worldwide community of developers who contribute to the source code, security fixes and system enhancements. This active community also provides businesses with free support through forums and community sites. This distributed community gives peace of mind to Linux users, because there's no single point of failure and no single source for Linux support or development.

9. Linux Foundation

The Linux Foundation is a corporate collective of platinum supporters (Fujitsu, Hitachi, HP, IBM, Intel, NEC, Novell and Oracle) and members who, through donations and membership dues, sponsor Linus Torvalds and others who work on Linux full time. Their purpose is to "promote, protect and standardize Linux to fuel its growth around the world." It is the primary source for all things Linux. The Linux Foundation is a big positive for Linux users and adopters because its existence assures continued development of Linux.

10. Regular Updates

Are you tired of waiting for a Windows service pack every 18 months? Are you also tired of the difficulty in upgrading your Windows systems every few years because there's no clear upgrade path? (Ubuntu Linux offers new, improved versions every six months) and long-term support (LTS) versions every two years. Every Linux distribution offers regular updates of its packages and sources several times per year and security fixes as needed. You can leave any upgrade angst in your officially licensed copy of Windows because it's easy to upgrade and update Linux. And, the best part? No reboot required.

If you'd like to give Linux a try, there are several distributions that are free to download and use without the need for any commercial support contrac:

CentOS – Red Hat Enterprise Linux-based free distribution

Ubuntu – Free, enterprise Linux distribution (Commercial support available).

Fedora – The Fedora Project is the free, community-supported version of Red Hat Linux.

OpenSUSE – The free, community-supported version of Novell's SUSE Linux.

Debian – The parent distribution for many Linux distributions including Ubuntu and Linux Mint.

You can find information regarding switching from Windows to Linux through the Linux Foundation or any of its platinum members. Making such a shift requires more of a change in perception rather than a change in business process. When it comes to increasing your efficiency, saving money, and providing non-stop services to your business and its customers, how many reasons do you need?

Wednesday, July 21, 2010

Laptop Tips: Add RAM, Recycle a Hard Drive, Tweak Power Settings

http://www.pcworld.com/article/201546/hasslefreepc.html?tk=rss_howto

Learn how to add memory to a laptop, turn an old laptop drive into external storage, and use your laptop's power settings most effectively.

Rick Broida, PC World

Jul 20, 2010 7:00 pm

It's been almost a year since I served up some nice, hot laptop tips (see "Laptop Q&A: Power Off Quickly, Fix Sticky Keys")--and that's inexcusable. I'll make it up to you this week with some useful advice on adding memory to a laptop, turning an old laptop hard disc into an external drive, and using your laptop's power settings effectively.

Add RAM to a Laptop

So my dad was griping that his Acer Aspire 9300 laptop takes forever to boot. I inspected it for spyware, excessive startup programs, and the other usual suspects, but everything checked out.

Then I remembered that the machine is about three years old and wasn't a powerhouse to begin with. So I checked the RAM. Bingo: It has only 1GB. Windows Vista needs at least 2GB to run smoothly. (So does Windows 7, but I've seen it run reasonably well on less.)

Upgrading a laptop's RAM may sound like a big deal, but it's actually the single easiest upgrade there is. The only challenge lies in determining how many RAM modules your system currently has and what kind they are.

To find out, turn off your system, unplug it, remove the battery, and flip it over. You should see at least one panel that can be removed with a small screwdriver. Consult your manual if you can't find the one covering the RAM sockets--or just open them all. Here's what you're looking for:

Most laptops have two sockets. If only one is occupied, just buy a module that exactly matches the existing one and drop it in. That'll effectively double your RAM.

If both sockets are filled, you'll have to replace both modules. In the case of Dad's Aspire, for example, it had a pair of 512MB modules for a total of 1GB of RAM. We elected to replace them with a pair of 1GB modules for 2GB total. (What to do with the displaced RAM? EBay, of course!)

Not sure what kind of memory your laptop takes? Head to a site like Crucial, which can identify nearly every make and model. (Of course, once you know what you need, you can shop around to find the best price.)

Recycle an Old Laptop Hard Drive

Inexpensive hard drive enclosures are ideal for recycling old laptop drives that have been replaced by higher-capacity models.

An enclosure is essentially an external case for that internal drive, one that lends it a USB interface. When all is said and done, you'll have a compact USB hard drive you can use for backups, extra storage, transporting files, and so on.

More immediately, an enclosure lets you easily restore your data onto the new drive--a simple drag-and-drop operation. With that done, you'll have to decide if you want to wipe the drive or keep it intact (you know, "just in case").

When shopping for an enclosure, make sure to choose one that offers the proper kind of interface for your old drive. Again, if it's more than a few years old, it's probably IDE. Any newer and it's more likely to be SATA. In either case, you should be able to find one for just $10-15. I recommend hitting sites like Meritline andNewegg.

Learn Your Laptop's Power Settings

My aunt recently told me about a problem with her new laptop: Whenever she'd step away from it for more than a few minutes, she'd close the lid. Upon returning, she'd open the lid, only to be faced with a blank screen and no response from the mouse or keyboard.

Want to know why? The default lid-closing action for most laptops is to put the system in Sleep mode, and Windows is notoriously bad at waking up properly. I advise most laptop users to use Hibernate mode instead, as it's much more reliable when it comes to waking up.

You see, Sleep (aka Standby) puts your system into a low-power state, allowing you to pick up where you left off (in theory, anyway) after just a few seconds. However, a PC in Sleep mode continues to consume battery power, so it's not uncommon to return to a "sleeping" PC to find that it's just plain dead. Or, in my aunt's case, unresponsive.

Hibernate, however, saves your machine's current state to a temporary hard-drive file, then shuts down completely (much like Off). When you start it up again, it loads that file and returns you to where you left off--no booting required.

Both ends of the Hibernate process take a little longer than sleep mode (usually 10-20 seconds, in my experience), but you avoid any of the issues that can arise when Windows suddenly loses power.

And as noted, sleep mode is notoriously flaky. If your system refuses to wake up properly, you'll end up losing whatever documents and/or Web pages you had open. Consequently, I recommend using hibernate most of the time.

If you've got a hassle that needs solving, send it my way. I can't promise a response, but I'll definitely read every e-mail I get--and do my best to address at least some of them in the PCWorld Hassle-Free PC blog . My 411: hasslefree@pcworld.com . You can also sign up to have the Hassle-Free PC newsletter e-mailed to you each week .

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...