Tuesday, December 31, 2013

Find files under a specified directory that match conditions you specify.

find / -name myfile*
Find files in the root directory and all directories under it that have file names beginning with myfile. The * is a wild-card character that represents any number of characters. The ? is a wild-card character that represents a single character.

find -name '*.pdf' -print -exec chown User2 {} \;

Find all files in this directory and all subdirectories that end with .pdf, display the names of all files that are found on the screen and, for each file (indicated by the curly braces — {}), change its owner to User2.
The -print option is not necessary, but it is handy to track the progress of the find command. If you do not use -print, the find command is silent except for error messages from find or from chown.

find -name '*.pdf' -exec grep -il 'SOMETHING' {} \;
Find all files in this directory and all subdirectories that end with .pdf and look for the pattern SOMETHING in each of the files. The -i option to grep makes the search case-insensitive. The -l option to grep causes grep to display the names of the files that have SOMETHING in them. When a file is found that contains SOMETHING, this command displays the full path to the file from the current directory (for example,./home/user/Documents/Linuxcommand.pdf).

Monday, December 30, 2013

ls -al
List all (-a) the files in the current directory in long (-l) format.

ls *.pdf
List files in the current directory that end with .pdf. The * is a wild-card character that represents any number of characters. The ? is a wild-card character that represents a single character.

Valve now is gives away its wonderful game of zombie shooter,Left 4 Dead 2, for free on download service Steam.

To get your copy of the game, you’ll need to log in to a Steam account, go to Left 4 Dead 2′s store page, and then click ‘install game.’ This expires on December 26th at 10AM PT/1PM ET, this is a great occasion to get this game for free.

Monday, December 23, 2013

Keyboard Shorcuts helps in writing codes easily and shorten time.
Some users, probably power users who loves doing some works via the Command Line, performing complicated tasks with just a few keystrokes.

Basic Keyboard Shortcuts

Up/Down Arrows = With those two keys, you can move between your last commands.Ctrl+Left/Ctrl+Right = Jumps between arguments (words) in your commandCtrl + U = Clears all characters starting from the cursor position.Ctrl + K = Clears all characters starting from the end of the command to the position of the cursor.Ctrl + A = Moves you to the start of the command.Ctrl + E = Moves you the the end of the command.Ctrl + L = Clears the screen.Ctrl + R = Lets you search your command history.Ctrl + Shift + T = Opens new Tab.Ctrl + Shift + N = Opens new Terminal.Ctrl + P = Lets you Browse the command you executed before.Ctrl+ O = Works as "Enter" button.Ctrl + Shift + C = Lets you copy selected text.Ctrl + Shift + V = Lets you paste.Tab = This is the powerful shortcut, Everyone loves it. It completes paths and commands.

With Path :

cd ~/De

after hitting Tab, It completes it.

cd ~/Desktop

With command :

nan

after hitting Tab, It completes it.

nano

What if there are resemblance between names ?

We take for example folder "De" and "Desktop"

we typed "De" and hitting Tab for auto-completion. It makes an output : "De", "Desktop", we have then to add another caracther to make it different.

Manjaro Linux is cutting egde but not bleeding edge. They have their own repositories and access to Arch User repositories (Aur) as well.

It is a rolling release, that means you can install it once, you will continuously get updates (daily updates) no-matter what release you use, in contrast to standard release software which is upgraded between versions.

It comes with Xfce, Openbox, Desktops as the core, however you can find Manjaro Minimal Net Edition (Arch way), and Manjaro Community Editions that gives you a choice between many other Desktops such as Gnome, Cinamon, E17, Lxde, Mate, Kde.

I have tried Manjaro Openbox edition and the Xfce Edition as well. All I have to say is, they did a magnificent job, I felt like I'm on Linux mint but using Arch package manager (Pacman). The installation was quite easy. I used Graphic installation but they provide also Cli installation which is fast.

I had not faced any problem yet, but I wasn't doing match work on my computer.

Tuesday, December 17, 2013

SteamOS is based on Debian GNU/Linux, well known for its stability. It aims to bring PC gaming into the living room.

SteamOS uses Linux kernel 3.10 and GNOME as Its desktop environment. The system includes basic GNOME applications, such as Brasero, Dconf, Baobab, GNOME Terminal, Evince, Disks, Eye of GNOME, GNOME Dictionary, and GNOME Screenshot. The Iceweasel web browser and the Steam for Linux client are also installed, along with a shortcut for the SteamOS desktop.

Most Linux users are excited to see this operating system which is based on Linux, so I came with these quick screenshots.

Saturday, December 14, 2013

SteamOs is available to download now for people who like to test new things especially those who try new Linux distributions. This is their chance to test a new Linux flavour developed by the Bellevue-based game company.

If you want something working good and stable, you might wait because the system is still beta.

The announcement comes as Valve ready their Steam Machine and Steam Controller prototypes for shipping on the same day. only 300 people will be getting the prototype devices, Valve will be offering its Linux-based OS to everyone when the devices ship on Friday.

Valve has limited The beta to the U.S(300 people), It is obvious that They wanted to make Steam hardware available to testers all over the world, however due to some obstacles, they could not make it accessible for all people who want to test SteamOs Machines

How to find all tar files in current directory and decompress them ?

Sunday, December 8, 2013

Valve has decided to support the Linux community by joining The Linux Foundation. In this short movie, we catch Valve's Gabe Newell discussing the part Linux is playing in the organization's advancement system, and Linus Torvalds discusses the benefits of this for Linux and the Linux desktop in general.

Gimp is a GNU Image Manipulation Program, It is well known in Linux, Unix systems.
It is a good replacement for Adobe Photoshop, and It can be a biggest competitor too.
Free and open source software is a simple way to go.

Wednesday, December 4, 2013

Elementary Os distribution

Elementary OS is an Ubuntu-based desktop distribution. Some of its fascinating features include a new GTK+ and icon theme for GNOME, the Midori web browser, new applications developed in-house (e.g. Dexter, an address book and Postler, an email client), and Nautilus Elementary, a simple file manager.

Linux Distro Elementary OS has a custom Desktop, Window Manager, as well as several custom applications to match the OS style.

It is faster and very lightweight distro, that some Lxde users have switched to it, however It still rely on Ubuntu repo.

This short video can show you how to make your own Linux Distribution and how to promote it or how to built your Software Project as well as how to design your website, get more users, fans, and supporters.

Valve has announced a new operating system based on Linux called SteamOS. It is said to run on any living room hardware.

"As we’ve been working on bringing Steam to the living room, we’ve come to the conclusion that the
environment best suited to delivering value to customers is an operating system built around Steam itself.
SteamOS combines the rock-solid architecture of Linux with a gaming experience built for the big screen.
It will be available soon as a free stand-alone operating system for living room machines."

Linus Torvalds was asked many questions at the conference in New Orleans with many Kernel developers. One question he was asked was whether a government agency had ever asked about inserting a back-door into Linux.

Torvalds responded ‘no’ while shaking his head ‘yes,’ as the audience broke into spontaneous laughter.Torvalds also admitted that while he as a full life outside of Linux he couldn’t imagine his life without it. ‘I don’t see any project coming along being more interesting to me than Linux,’ Torvalds said. ‘I couldn’t imagine filling the void in my life if I didn’t have Linux.’”