10 Useful Linux Commands

Here's a list of 10 commands which may come handy when using the command line in Linux:
Search for all files modified in the last N days containing a specific text in their name
find DIR -mtime -N -name "*TEXT*"
For example:
find ~ -mtime -5 -name "*log*"
Will display all the files modified in the past 5 days which include the text 'log' in their filename.
Determine which processes use the most memory
ps aux | sort -nk 4 | tail
Will show the first 10 processes which use the most memory, using ascendant sorting. Alternately:
http://tuxarena.blogspot.com/2009/12/10-useful-linux-commands.html
-
- Login or register to post comments
Printer-friendly version- 2264 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
Submitting my first patch to the Linux kernel
I started using Linux three years ago while attending university, and I was fascinated to discover a different desktop environment. My professor introduced me to the Ubuntu operating system, and I decided to dual-boot it along with Windows on my laptop the same day.
Within three months, I had completely abandoned Windows and shifted to Fedora after hearing about the RPM Package Manager. I also tried running Debian for stability, but in early 2017 I realized Arch Linux suits all my needs for cutting-edge packages. Now I use it along with the KDE desktop and can customize it according to my needs.
| Ubuntu, Lubuntu and Xubuntu
|
Software: Flowblade, Linux Package Managers, and Programmers' Tools
| Symantec may violate Linux GPL in Norton Core Router
For years, embedded device manufacturers have been illegally using Linux. Typically, they use Linux without publishing their device's source code, which Linux's GNU General Public License version 2 (GPLv2) requires them to do. Well, guess what? Another vendor, this time Symantec, appears to be the guilty party.
This was revealed when Google engineer and Linux security expert Matthew Garrett was diving into his new Norton Core Router. This is a high-end Wi-Fi router. Symantec claims it's regularly updated with the latest security mechanisms. Garrett popped his box open to take a deeper look into Symantec's magic security sauce.
What he found appears to be a Linux distribution based on the QCA Software Development Kit (QSDK) project. This is a GPLv2-licensed, open-source platform built around the Linux-based OpenWrt Wi-Fi router operating system.
|



Content (where original) is available under CC-BY-SA, copyrighted by original author/s.



Recent comments
18 hours 3 min ago
1 day 22 hours ago
1 day 22 hours ago
1 day 23 hours ago
3 days 17 hours ago
3 days 20 hours ago
4 days 3 hours ago
4 days 8 hours ago
1 week 2 days ago
1 week 2 days ago