Language Selection

English French German Italian Portuguese Spanish

A Casual guide to some commonly used Linux Commands

Filed under
HowTos

Through this document i try to explain some of the commonly used commands under linux and their basic use In this first part of series we cover ls,cat,arch,bzip2,gzip,tar,pwd,more,mpg123

1. cat : ( concatenate)

This command can be used for diplaying content of a file on the console, combining two files into a single file , or appending content of one or more files into a single file commonly.

cat v1 This statement would display the file named v1 on the console

cat v1 v2 v3 > v4 This statement would combine the content of textfile v1,v2,v3 and create a new file v4 having all the content of three files.

cat v4 >> v5 This statement would append v4 file at the end of file v5. To end the statement type (Ctrl + D (EOF))

cat > filename << STOP This statement would create a filenamed filename at the console and aaccept input from the user for the file , the file is ended(terminated ) on typing Ctrl + D.

2. arch

Full Story.

More in Tux Machines

ACPI, kernels and contracts with firmware

This ends up being a pain in the neck in the x86 world, but it could be much worse. Way back in 2008 I wrote something about why the Linux kernel reports itself to firmware as "Windows" but refuses to identify itself as Linux. The short version is that "Linux" doesn't actually identify the behaviour of the kernel in a meaningful way. "Linux" doesn't tell you whether the kernel can deal with buffers being passed when the spec says it should be a package. "Linux" doesn't tell you whether the OS knows how to deal with an HPET. "Linux" doesn't tell you whether the OS can reinitialise graphics hardware. Read more

Canonical Partners with AMD for Ubuntu OpenStack Cloud Server

Canonical, the lead commercial sponsor behind the open-source Ubuntu Linux distribution is ramping up its OpenStack efforts thanks to a new server solution from AMD. Read more

Docker Raises $40M in Series C Financing to Drive Open Source Adoption

Docker said it has secured $40 million from investors for its open-source platform designed for developers and system administrators to build, ship and run distributed applications. Bill Coughran from Sequoia Capital will represent the venture capital firm on Docker's board of directors. Here are the details. Read more

Open Source Fix For US Voting System ?

Open source programmers and maverick election officials want to improve the way we vote, register to vote, and count the votes. Wish them luck. Read more