Unix basics for software testers

No matter whether you are working on stand-alone project or web project, operating systems and networking knowledge is must for testers. Many testing activities like installation testing, performance testing are dependent on operating system knowledge. Now days most of the web servers are Unix based. So Unix knowledge is mandatory for tester.

For the beginners in Unix, learning basic Unix commands is a good start. This article explains basic Unix commands and in next article we will move on to the Unix operating system basics and advanced Unix commands.

The best way to learn following commands is to read and simultaneously practice them on Unix operating system.

These are the Unix commands that are mostly used while interacting with Unix servers. Most of the time you might be interacting with Unix OS through remote windows machines using softwares like ‘Putty’. In such testing environment this article is very useful.

You can download the article written by Meenakshi on Unix basics for testers on below link:

Download: Unix basics for testers article (Doc file)

I will continue this series of “soft skills required for testers”. Here is list of skills on which I will concentrate in coming posts:

  • Operating systems skill for testers.
  • Networking skill.
  • Database ( Mainly SQL) knowledge for testers.
  • Basic programming skill.

All these skills are required to become a successful software tester.

If you think any other skill should be also included in this “soft skills for testers” article series then please let me know in below comment section. I will work on those subjects to include them in my future articles.

Update: For software Testing job seekers, I have updated our Job page with two new openings. See more details on these job openings on below links:

------------

Don’t want to miss any tip? Subscribe Via Email!



The Best Software Testing Training You'll Ever Get!

software testing QA training

114 comments ↓

#1 suri on 02.03.08 at 12:44 am

Hi
This is very useful to me , becs Im going to be UNIX testing.So, kindly send me more documents on UNIX testing pls.

#2 shabeena on 02.03.08 at 4:20 am

Hello,
This s very good article (very simple sentences), a layman can also understand this thing. Thnx for giving such a nice article.

#3 Jayant on 02.03.08 at 5:22 am

HI Vijay

Greetings!!

Of course the above skills are necessary for testers.
In addition to the above I would like to add, when we talk about Soft Skills necessarily it points out towards the personality as a professional. And that would include – COMMUNICATION SKILLS, INTERVIEW TECHNIQUES, RESUME BUILDING, LEADERSHIP SKILLS & PRESENTATION where I would like to contribute if you find it suitable to include along with the details mentioned by you above which more constitute the technical skills sets. Kindly me update me on the same so as to take it further.

Regards
Jayant

#4 abhishek sharma on 02.03.08 at 10:39 am

i want to learn software testing tools

#5 ashutosh on 02.04.08 at 4:10 am

Thanks Vijay..you are really lots of people.

#6 ashutosh on 02.04.08 at 4:11 am

Thanks Vijay..you are really helping lots of people through your articles.

#7 Jayant on 02.04.08 at 4:13 am

Hi Abhishek

Where are you from?
Are you currently working in testing, kindly forward you resume at jayant1966@gmail.com

regards
Jayant

#8 Thragor on 02.04.08 at 8:29 am

Hello,

a promising start for this series – although I learned nothing new from the beginners guide. Well, ok: I am no beginner ;-)

I am curious about the advanced Unix commands and Operating System Basics. Would expect to find information about e. g. kill/ps (especially on the different IX Systems, e. g. ‘ps -ef’/’ps aux’) and about the different directories like /etc and /var.

Looking forward to it :-)

Regards
– Thragor

#9 balu on 02.04.08 at 8:31 am

Thanks .. This is a very good article it will helps alot

#10 Jegan on 02.04.08 at 10:44 am

I want to learn database testing. Please send me the articles.

#11 santhosh on 02.04.08 at 11:08 am

hi,

Thanks for the above article.
As i have started to study sofware testing from net.. Is its enough to find a job on testing. Right now i am working as a Mail Analyst. Guide me, shal i join for the testing cousre. which institute is good in Bangalore.

Regards
Santhosh Kumar

#12 Purvi on 02.04.08 at 11:36 am

Hello,
I want to learn more about OS, networking & web site testing, could you help me out?

#13 Chandika on 02.04.08 at 4:57 pm

Hi,
It’s really good.But it’s not enough,if a tester will work on Unix environment.
Specially needs more to clarify
Thanks

#14 Chandika on 02.04.08 at 5:01 pm

Hi,
It’s really good.But it’s not enough,if a tester will work on Unix environment.
Specially needs more to clarify.Please follow the given website,really will help you.

http://www.computerhope.com/unix.htm#04

Thanks

#15 pooja on 02.04.08 at 6:22 pm

hi vijay

i juz hav given exams of mca..n wanna go for s/w teting..i don hav much knowledge abt s/w testing..so wanna join s/w tsting ins to be a tester …so can u tel me d best ins for s/w testing ..n sum1 has suggested me to do this fr webtek labs…its a company who providing traning for s/w testing..so if u knw abt dis den plzzzz suggest me wat to do… i will be really very grateful to u

#16 meenakshi on 02.05.08 at 3:59 am

To learn software testing in Bangalore a good institute is there in indiranagar,behind coffeday..KARVIN.

#17 Vijay on 02.05.08 at 7:59 am

Hi all,
Thanks for your kind words.
This is the beginning series on Unix and don’t expect all details in one article. We started with Unix basics. As many readers are asking for more detailed resources on Unix we will work on providing more and more guide on all topics of reader’s interest.

I strongly urge to our readers if you are expert in topics mentioned here like Unix, Automation tools etc., you can answer readers queries in comments or can also write about your experience in testing.

#18 chandravadan on 02.05.08 at 9:35 am

hi vijay..
i want to know that visionplus is any testing method or type of tool used for testing purpose?

#19 vidyarani on 02.05.08 at 10:35 am

hi
iam just now registerd
As i have started to study sofware testing from net.. Is its enough to find a job on testing. iwnt more information about i wnt to learn how to write test case
pls help me out

#20 Archana Bhattacharya on 02.05.08 at 10:56 am

i want to learn software testing tools

#21 pooja on 02.05.08 at 11:01 am

thanks meenakshi!!bt i live in delhi..wat abt webtek labs school of s/w testing..its in naraina

#22 pooja on 02.05.08 at 11:02 am

thanks meenakshi!!bt i live in delhi..wat abt webtek labs school of s/w testing..its in naraina..so plzz suggest me ne ins in delhi

#23 venkata on 02.05.08 at 12:20 pm

Hi,

Please let me know how to do unix / sql testing with example?

#24 hari on 02.06.08 at 3:41 am

Hi vijay,

i like to go through the Database testing.Please publish articles related to Database testing…….

Thanks,
Haripriya.

#25 Mohan D on 02.07.08 at 11:04 am

Ya,u mentioned all are imp,apart from that one Functional Automation Tool(QTP),Management Tool(TD),Version Control tool,Domain and Functional Knowledge.
Thanku ur article simply superb
Thanku

#26 Anil on 02.10.08 at 8:31 am

hi,

can give some examples on unix/sql testing with examples.

Thanks,
Anil

#27 Rajupavan on 02.10.08 at 11:30 am

Hi,

This is Rajupavan. I want to know the information about software testing on UNIX environment. Plz send the information.

byeee…..

#28 ashutosh on 02.13.08 at 7:28 am

hi Vijay , your articles are good but can you write some example for how to write descriptive programming and how to use it… you can use Flight Reservation application..
Please write some article on DP..
Its very imp topic

Thank
Ashutosh

#29 Radhika on 02.13.08 at 3:25 pm

hi vijay
can u kindly send me more advaced topics related to testing on UNIX along with some good example..

Thanks
Radhika

#30 balaji on 02.19.08 at 7:54 am

hi Vijay

I have some knowledge on SQL,unix and shell programming.how can use these concepts in testing.i want to become a backend tester.could you pls give me some suggestions.

Regards
balu

#31 vikas on 02.20.08 at 7:18 pm

Thanks for kind suggestion. Well I was asked in the interview about unix vi editor (how to use it). So could u send me articles regarding these.
and Could u send me the url if possible where I could practisc unix commands as I don’t have the unix operating system installed.
Regards Vikas

#32 Vikas on 02.20.08 at 9:13 pm

Hi Pooja
I have also taken s/w testing course from Webtak Labs. Its a good going..but stil u r likely to face struggle.
for more information ..write back to me.

#33 Shabeena on 02.25.08 at 7:32 am

Hello vikas,
These r som links to understand vi.
I hope u will find it easy………:)

http://www.washington.edu/computing/unix/vi.html
http://www.eng.hawaii.edu/Tutor/vi.html
http://www.mcsr.olemiss.edu/unixhelp/vi/index.html

#34 Vikas on 02.26.08 at 8:06 am

Shabeena,
I am not the same vikas. I am different and the one who asked about Unix VI is different. But thanks for the information. I hope to be benefitted by your information. Shabeena..i would like 2 know something more from you. can u give me ur e-mail address?
Thanks and regards.

#35 Vikas on 02.26.08 at 8:09 am

Hi Pooja, i have taken s/w testing course from Webtek labs. for more info..u can write back to me. plz mention ur e-mail address..so that i can send u info directly to ur e-mail.
Thanks and regards

#36 Vikas on 02.26.08 at 8:16 am

Hello Pooja,
You can write to me. i have taken S/w testing course from wektak labs as well. plz write with ur e-mail address..so that i can directly reply to ur mail.
Thanks and regards

#37 Milind on 02.26.08 at 6:32 pm

Hi,
This is really a very nice article. Thanks for such good suggestions.

#38 shabeena on 02.27.08 at 3:55 am

Actually i helped tht Vikas only, I din’t know his ID, So i thought this s the better way to help tht vikas………
And abt u, pls give me ur id, thn i wil send u my ID………..:)

Any way thanx for informing me tht, thr r 2 VIKAS in ……………:)

#39 Vishal on 02.27.08 at 5:45 am

Hi,

When ru planning to come out with posts for the topics listed below:

Operating systems skill for testers.
Networking skill.
Database ( Mainly SQL) knowledge for testers.
Basic programming skill.

#40 Vikas on 02.27.08 at 6:51 am

vikas_k32@yahoo.com

#41 vikas on 02.27.08 at 10:56 am

Hi

Well ur links are proving to be great help regarding Unix testing and am able to understand atleat Basic Unix Operating sustem and its operation.
My email id vikas_be2001@yahoo.com

Well I am the one who requested abt the unix in depth knowledge related to testing and use of VI editor in testing the software. It is wonderful to see u testing professtionals on softwaretesting help.com and being so helpful to those who are new to this field. I highly appreciate .

My another query is related to server side testing. How do we do it as It is a essential part in transaction related projects like amazon.com.

Regards
Vikas

#42 Soft Skills for Testers: Advanced Unix commands with examples on 02.28.08 at 7:22 am

[...] If you have missed previous article on “Unix basics for tester” series, you can see the basic Unix commands article here. [...]

#43 puneet on 02.28.08 at 7:34 am

Hi. i’m puneet from Bangalore.. currently working in a software company..i got very useful information.. thanks Vijay.. i want to know about use of sql in testinn.. plz give the valuable information..
thanks and regards
puneet

#44 Jaykay on 02.28.08 at 7:44 am

Hi Puneet, can u give me ur mail id pls, I need one help from u! or send test mail to this id jayakrishnamohan@gmail.com

#45 anitha on 02.28.08 at 10:04 am

i need some real time testing process which is used in some mnc companys with template

#46 anitha on 02.28.08 at 10:05 am

i need some real time testing process

#47 puneet on 02.28.08 at 1:28 pm

hii Jaykay.. my email id is puneetec58@gmail.com.

#48 Srini on 02.29.08 at 6:47 am

Very useful bit of info

#49 sangameshwar on 02.29.08 at 1:37 pm

Hi all,
I have question for you all,
What could be your answer to customer if you come across post release defect.
Urgent

#50 sonali on 03.01.08 at 7:21 am

Hi,
Thanks for the above article.
I want to learn database testing. Please send me the articles.

#51 Bhuwanesh sharma on 03.12.08 at 7:57 pm

Hi,
Today i visited this site for the very first time and this is true that i never see sooo good site like this… i mean i can find everything i want related to testing , soft skills jobs etc… You guys are soo helpfull… Thanks all you guys…..

#52 Bhuwanesh sharma on 03.12.08 at 8:15 pm

hey guys try try this link
“http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html ”

It may help you more for UNIX

#53 Vikas Sharma on 03.13.08 at 8:49 am

HI VijEveryone

Could anyone send info about database testing in real environment.
like Some name of good sites if possible
My id is vikas_be2001@yahoo.com
Thanks
Vikas

#54 Prasad on 03.14.08 at 3:18 pm

Cany anybody give me any opensource testing projects on unix??????

Rgds,
Prasad

#55 Syed on 03.24.08 at 4:34 pm

Hi Everyone,

Can anyone please let me know, where can i get UNIX OS & how can i install and practice on that.

Kind Regards

#56 zakir on 04.01.08 at 12:05 pm

Hi all and vijay,

Need an information from you. Suppose if I happen to work in Unix OS and I would’ve told to test / monitor the process and log information of the application how do I go about it. And is this testing is what we call Interface testing. Please let me know your thoughts.

many thanks

#57 zakir on 04.01.08 at 12:49 pm

@ Bhuvanesh

Thanks a lotttttttttt frnd. Thats a wonderful site for unix man.

#58 Vishal Chhaperia on 04.02.08 at 9:08 am

Hi Vijay,

Thanks for UNIX command.
It will reallly help us to develope our skills.

call : +91-9830704327

mail me: bishalchaperia@gmail.com

#59 Smitha on 04.09.08 at 4:27 am

Hi,
I have done my MS in CIS in USA and I am looking to start a career in Software testing. I need to know where to start at and what tools and languages to learn. I also need to know what are the different certifications in testing.
Thank you in advance and I really appreciate all your help.

Regards
Smitha

#60 Vijay on 04.09.08 at 5:06 am

Hi Smitha,
If you are really interested to start a career in software testing then please go through this site and prepare a resume that suits for a testing career and apply for the vacancy of a test engineer and upload your resume to various consultancy services. No need to do any course as of now, let companies train you to their needs.
thanks,
Vijay

#61 satyavir on 05.19.08 at 10:52 am

thanks ! its really nice material for me

#62 priti on 05.29.08 at 6:45 am

I have some knowledge on SQL,unix and shell programming.how can use these concepts in testing.i want to become a backend tester.could you pls give me some suggestions.

#63 priti on 05.29.08 at 7:07 am

i m working into development side .now i want to build my carrer in testing .now i started reading testing articals from net.is it necessary to take any testing course? i have the knowledge of unix shell scripting,sql. need to know where to start at and what tools and languages to learn. I also need to know what are the different certifications in testing.
Thank you in advance and I really appreciate all your help

#64 Tarun on 07.10.08 at 7:09 am

hello dears,
i want to know what is the different between a Windows tester and UNIX tester. i am working on UNIX (Linux) environment, and we are using one auttomation tool to do our testing work. shall i call myself as UNIX tester. i mean can some tell me if i called myself as UNIX testere i should have which types of knowledge on UNIX.

Regards,
Tarun

#65 venkat on 08.05.08 at 2:36 pm

all the best to everyone send me some testing docs on unix

#66 venkat on 08.05.08 at 2:39 pm

hello send me testing docs pls

#67 name on 09.01.08 at 1:34 am

Hi!,

#68 aruna on 09.01.08 at 4:54 am

good

#69 Abhishek saxena on 09.01.08 at 6:07 am

will any one of you suggest me a good book on password hacking????

#70 sri on 09.05.08 at 4:03 am

HOw much unix skill is enough for a tester.suppose if i want to execute qtp scripts for a web application in unix environment.how can we connect to a unix server ,if the client is in windows environment

#71 zakir on 09.05.08 at 5:08 am

@ Sri

Since you are going to test only on the Client m/c you don’t need to know much about the server part(Unix) friend. And as you are aware that QTP does not support UNIX OS. Anyhows its always better to be handy with the UNIX OS, a little bit of shell commands will do.

cheers
zakir :)

#72 ezhilmaran on 10.17.08 at 10:19 am

haiii..
i like to study unix testing, if anyone know about the coaching centers in chennai or in bangalure plz mail me,

My email id is ezhilmaran@rocketmail.com

#73 Sridhar on 10.31.08 at 5:53 pm

Hi
Currently I am working as Data Analyst,
I am Interested in Learning Unix ,Can you please suggest me a Book that is Easier to Understand and provided with Examples / or the Location from where I download the Material and Take a Print of that.

Thanks!!! in Advance
Please Reply..,
Sridhar Srigiri

#74 Sridhar on 10.31.08 at 5:55 pm

sridharsrigiri@yahoo.co.in

#75 zakir on 11.12.08 at 10:16 am

Hi Sir,

The below link has some good stuff on unix/linux for freshers

http://www.ee.surrey.ac.uk/Teaching/Unix/unix2.html

Cheers

zakir :)

#76 Srikanth on 11.19.08 at 11:43 am

Hi, This Unix commands document is very useful for me.

Thanks a lot
Srikanth

#77 keerthana on 12.06.08 at 5:45 am

Please pass any info on UNIX, how much knowledge does testers need on UNIX? any good sites to learn UNIX?

Thanks for your help.

#78 keerthana on 12.06.08 at 5:46 am

Please pass any info on UNIX, how much knowledge does testers need on UNIX? any good sites to learn UNIX? My mail id—keerthanakoluvu@yahoo.com

Thanks for your help.

#79 Durai on 12.20.08 at 6:23 am

HI,

Thank you for making such an powerful OS to learn easier.please advice what are the basic and very important topics we should cover for interview and please provide such a documents for our further improvement in unix.

I would like to get the documents for following topics in unix

1.User creation and related topics.
2.process in unix.
3.Run level in unix.
4.How we can make unix as GUI?.
5.How we can mount the device.
6.How we can connect and access the device eg pendrive in Unix OS.
7.usage of TAR commands.

Could you please guide us to improve our knowledge and we will appreciate if you share further important topics which was not listed above.

Thanks and regards

Durai
durai.ravindran86@gmail.com

#80 Rashed on 06.08.09 at 6:11 am

hi dears,

am new to this windows ,an i want to learn unix and shall programming any one can send me on my mail or at r.alghailani@gmail.com .

thanks
Rashed

#81 ekta on 06.17.09 at 11:02 pm

Pls explain how tester test application on unix enviornment, is it to check log file, what is that pls explain.

#82 Smita on 08.25.09 at 9:34 am

What is the post unix tester means

#83 Srikant on 10.01.09 at 4:59 pm

Thanks a lot for sharing the url’s related to UNIX testing.
Can anyone please send information related to database test?

#84 bluestone on 11.30.09 at 10:33 am

plz use this blog for posting jobs testing related materials

#85 sourabh on 12.28.09 at 6:34 pm

Hi…the basic Unix knowledge was really helpful for a beginner like me………..just a suggestion to keep updating the recent job openings posted on the site.
Please send me any testing related articles to sourabhsinha12a@gmail.com

#86 logesh on 03.09.10 at 10:37 am

hi,
i want to know about softwate testing tools, can u send me those details

#87 shaan on 10.27.10 at 6:35 am

This site is very good for fresher in Linux.
Very well explained server part.
N a very friendly site.

#88 sacin on 12.10.10 at 11:12 am

send me material on id for shell scriting

#89 m.shanmugam on 02.24.11 at 4:47 am

good morning,
hi i want learn manual testing plz send me for study material above mail..

thanku

#90 Venkata on 02.25.11 at 7:09 pm

I got a job in Testing with Unix & SQL so pls email me the related material which will be very helpfull to me
thanks for the help
regards

#91 Mina on 04.11.11 at 7:52 pm

lqtLpt Ppl like you get all the brains. I just get to say thanks for he answer.

#92 rinki on 07.20.11 at 6:40 am

use of unix. and you can run the step &create tha unix commnand.

#93 gfvr on 01.18.12 at 11:54 am
#94 gfvr on 01.18.12 at 12:03 pm

alert(“rty”);

#95 priyanka devi on 01.24.12 at 3:07 pm

thanks a lot. it gives us more useful informations

#96 uday on 01.29.12 at 3:29 pm

plz inform any openings up to 0-2 years exp in manual,automachine

#97 Rohan on 02.09.12 at 12:49 pm

ny openings..?? 2+ manual as well as DWH

#98 vishwa on 03.21.12 at 5:20 pm

how to run qtp in unix commends else putty or passport

#99 Khushi on 08.20.12 at 6:20 am

Hi All

#100 Khushi on 08.20.12 at 6:23 am

Hi All,
I am new to Unix and wants to know about Unix,how to test Unix Application,what type of questions ask in Interwiew,please share the info,.it will help me lot
Thanks in Advance.

#101 krishna on 09.17.12 at 5:33 pm

I am new to this website and also first time mailing. Anyone have dummy projects on testing. please

#102 kavita on 09.24.12 at 11:33 am

Hi Vijay,
Can you please elaborate on embedded testing

#103 suresh on 09.25.12 at 5:54 am

Hi Friends

Can any body pls help me out to know how to test a web application completely… with all kinds of testing(from start to end).

#104 Mohan on 09.27.12 at 11:45 am

Hi Vijay,

After long back get a chance to read this useful Linux article, really good as well as lots of readers post their Queries, its awesome.

I am not familiar with linux, but bit aware of this OS. Herewith shared some information, hope it may help you all.

Linux has more than 650 commands and every command has its own set of options all performing different operations. Going through each and every one of these commands will be a very tedious task. However limiting yourself to only a few of them is never an option. The trick here to learning all these commands, is to categorise them according to their function. By doing this, you will know atleast the basic commands and have some measure of control over the Linux command line.

When you go through these commands, you will be able to perform different function as per your need in the Linux command line.

Basic Commands
Editor
User Account
Network Commands
Archive Commands
Help Commands
Package Management Utilities
Process Commands

Basic Commands

The ‘must’ know commands fall in this category. I have distributed the commands into two sub categories: Directory commands and File commands.
Directory Commands

pwd : Print working directory
mkdir : Create directories
cd : Change the current directory
rmdir : Remove directories

File Commands

ls : List directory contents
rm : Remove files
cp : Copy files from a source to the same or different target(s).
mv : Move file to different targets.
cat : Read one or more files and print them to standard output. If you need to

view contents of a short file, cat is recommended.

cmp: Compare two files byte by byte.
wc: Print the number of new lines, words, and bytes in files.
du : Estimate disk usage of each file and recursively for directories.
find: Search for files in directory hierarchy, e.g. find notes.txt
grep: Print lines matching a pattern,e.g. grep –i topic notes.txt (topic is the pattern)
sort: Sort lines of text files

Editor

Every Linux program is an executable file. For instance, the cp command is provided by the file in /bin/sh which holds the list of machine instructions. Similarly, if you are installing a package , let’s say vsftpd, your focus will be modifying its configuration file , vsftpd.conf present in /etc directory. This is where you will be using editors.

I use ‘Vim’ frequently. It’s an advanced text editor that comes with a more complete feature than the ‘Vi’ text editor. The other text editors are: nano, vi, kate, (KDE Advanced Text Editor), gedit (graphical user interface).

e.g. vim rabi.c ( vim filename ).
User Account

In linux, you can say that using the ‘root’ account is like having the powers of God. You will have access to almost each and every file(configuration files, system , text files etc) with no interruption and restriction. You need to be very careful while doing work as the root (super user). Therefore, managing user accounts and groups is an essential part of a system administrator.

For example, an organization ABC has three departments: Marketing, Technical and Account, each department having 3-4 employees. The organization demands you to verify the users of marketing, technical and account departments so that the employees of each group will be able to view his/her own department file.

Given a scenario, if you know how to manage these accounts, you can easily set permissions for the users mentioned above. If not, these commands are essential for the task.

useradd : for creating user account.

This command can be executed by administrators only. On debian, you should use adduser. For other options like adding expiry date, home directory etc refer man useradd.

passwd : for changing user password.

If the user has set password before, he/she will be prompted for the first password whereas superuser is permitted to bypass the step so that forgotten passwords may be changed.

You can find advices on how to choose a strong password on http://en.wikipedia.org/wiki/Password_strength

usermod : modify user accoun.
userdel : delete a user account and related files

This command can be executed by administrators only.

groupadd : create a new group
groupdel : delete the group and entries referring to the group
groupmod : modify a group definition on the system
chmod : modify properties for users
chown : change file owner and group
chgrp : change group ownership

Network Commands

Linux is predominantly known for its use in servers. In 2009 it held a server market share ranging between 20–40%(source : wikipedia). One should know the commands to check the ip address, download files from the net, get DNS, etc.

wget : a non-interactive network downloader

Even if a download fails due to a network problem, it will keep retrying until the whole file has been retrieved. The server will instruct to continue to download from where it it left off.

$ wget url-for-file

ping : send ICMP ECHO_REQUEST to network hosts, you will get back ICMP packet if the host responds. This command is useful when you are in a doubt whether your computer is connected or not.

$ ping IP or host name

hostname : show or set the system’s host name

dnsdomainname : show the system’s DNS domain name

netstat : displays the status of ports ie. which ports are open, closed, waiting for connections. It displays the contents of /proc/net file.

ifconfig : configure a network interface, or to display their current configuration. It is also useful to get the information about IP address, Subnet Mask,set remote IP address , Netmask etc.

ifup : bring a network interface up

ifdown : take a network interface down
Archive Commands

You want to install a package from its source code. You find out that the source code of the package is archived in a file xxx.tar. In this situation, the command-line utility ‘tar’ proves to be a vital resource for you. The ‘tar’ is probably the most popular Linux backup utility. If the ‘tar’ file is compressed with the compression utility like ‘bzip’ or ‘gzip’, the resulting file is the famous ‘tarballs’ which is a common method to deliver software installation archives.

tar : an archiving program designed to store and extract files from an archive known as a tarfile.

Options :

-c : create a new archive

-r : append files to the end of an archive

-t : list the contents of an archive

-u : only append files that are newer than copy in archive

-x : extract files from an archive

-C : change to directory Dir

-j : filter archive through bzip2, use to decompress .bz2 files.

-v : verbosely list files processed

-f : use archive file

-z : filter the archive through gzip

Examples: tar -xvf test.tar ( extract foo.tar to the current location)

tar -xvzf test.tar.gz ( extract gzipped test.tar.gz )

tar -cvf test.tar foo/ ( compress the contents of foo folder to foo.tar )
Help commands

There are manual pages for almost all the commands of Linux. You can access the manual pages using man command. The man command offers documentation of the command. If you type:

$ man ls

You will be seeing the manual page of ls with its name, synopsis, description, author, copyright etc. Remember, there is a manual page for the man command itself.

If you desire to have a brief reference of the command, use -help option with the command. $ ls -help

You can even use info command to have a quick overview of the command. $ info ls

Remember, that memorizing all the commands in Linux along with all its options is a very difficult job. So memorise the command and options which has frequent usage and leave the rest to the HELP commands.

Please go through below mention links as well.

http://www.fortystones.com/15-reasons-switch-linux/
http://www.fortystones.com/40-linux-shell-commands-beginners/
http://www.fortystones.com/basic-command-line-tips-tricks-ii/
http://www.fortystones.com/basic-networking-commands-linux/
http://www.fortystones.com/linux-file-types/

Cheers..
Mohan

#105 Sameer on 09.30.12 at 4:06 pm

Hello Vijay,
Really nice to see ur earlier posts to some of the guys over here, its so helpful.
If we have to make a fresh start with Automation tool then which will the best to start with, as I currently don’t have experience on automation.
In how much extent Unix commands needed for testers?

Hoping ur reply at earliest.
Thanks in advance !

#106 Sameer on 09.30.12 at 4:10 pm

Can anybody tell me which is good institute in Pune to learn Automation tool?

Regards,
Sameer

#107 sravanthi on 10.09.12 at 10:32 am

Hi,

I would like to chnage from .net to testing field.I am having 2.3 exp in .net.I have decided to change the platform.Now my problem is whether i have to search the test jobs based on exp or fresher?I need your suggestion.Please help me out.

Thanks & Regards,
sravanthi.

#108 Antony on 11.02.12 at 7:39 am

i am Senior Testing Engineer

#109 cupid on 01.09.13 at 11:44 am

kindly send me some more questions and answers.on unix from a tester point of view.

my mail id is varunpratap086@gmail.com

#110 bristy on 01.15.13 at 6:45 am

Can anyone please tell me how a tester use unix/linux to test an application? what would be the process. Please someone answer this in detail.

#111 AgentHHH on 07.03.13 at 5:59 pm

Hi,
CAn anyone help in knowing more about Banking Domain

Kindly provide links

Thankx

#112 Hemant on 07.04.13 at 11:07 am

Hi Everyone,Can anybody help in installing the hp qc 11 on linux server ? Thanks in advance.Hemant

#113 Ankit on 08.27.13 at 7:33 am

Hi ,

Can anyone provide me some docs for unix testing and database testing.

Thanks
Ankit

#114 mayuri on 03.18.14 at 7:08 am

hi
i am interested in network testing .
since i am beginer i don,t know anything abut it but i like networks and testing pls suggest me the materials and scope of network testing.

Leave a Comment