LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2019, 01:56 AM   #1
ankitdixit
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Rep: Reputation: 1
How to Crack My Upcoming Linux Interview?


Hello All, I am new in this forum, I want to know how to crack my upcoming Linux interview. I am fresher and I have good knowledge about basic components of Linux, BASH and DOS, symbolic links, daemons. Can anyone suggest me some tricks to crack my upcoming interview?
 
Old 08-26-2019, 02:07 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

welcome to the forum. Perhaps you could tell us exactly what you mean by "Linux Interview"? Are you talking about an interview for some sort of employment?

Evo2.
 
1 members found this post helpful.
Old 08-26-2019, 02:32 AM   #3
ankitdixit
LQ Newbie
 
Registered: Aug 2019
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by evo2 View Post
Hi,

welcome to the forum. Perhaps you could tell us exactly what you mean by "Linux Interview"? Are you talking about an interview for some sort of employment?

Evo2.

I want to look the list of most important Linux interview questions as a fresher level.
 
Old 08-26-2019, 02:43 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Ok, I still don't know what you are talking about. Perhaps someone else knows what you want.

Evo2.
 
Old 08-26-2019, 05:17 AM   #5
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
https://www.computernetworkingnotes....-freshers.html

That's what duckduckgo produced...
 
Old 08-26-2019, 05:28 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by Jan K. View Post
https://www.computernetworkingnotes....-freshers.html

That's what duckduckgo produced...
Some of those questions and the hilariously wrong answers are great!
 
Old 08-26-2019, 06:19 AM   #7
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by ankitdixit View Post
Hello All, I am new in this forum, I want to know how to crack my upcoming Linux interview. I am fresher and I have good knowledge about basic components of Linux, BASH and DOS, symbolic links, daemons. Can anyone suggest me some tricks to crack my upcoming interview?
Questions will depend on job position and requirements.

Not exactly sure what you mean by "tricks to crack an interview"??
 
1 members found this post helpful.
Old 08-26-2019, 07:32 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by dc.901 View Post
Questions will depend on job position and requirements.

Not exactly sure what you mean by "tricks to crack an interview"??
+1 this was my thought.

Less about the technology vs. instead what the position is really about.

Read the job description, see if you fulfill the minimum requirements, or if you come close. Ask to know more about the position if you get a chance. This really is a two way street. Most common sense employers are not interested in getting a body hired, but instead getting someone who will fit within their organization, as well as someone who has the skills, attitude, and resourcefulness to be able to take on work in their organization. It should be more than just "knowing an answer".
 
1 members found this post helpful.
Old 08-27-2019, 08:18 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by ankitdixit View Post
Hello All, I am new in this forum, I want to know how to crack my upcoming Linux interview. I am fresher and I have good knowledge about basic components of Linux, BASH and DOS, symbolic links, daemons. Can anyone suggest me some tricks to crack my upcoming interview?
Welcome to LQ!

First, you state that you have an up coming interview. What position is that interview for? Entry level? You have work experience in IT or working with requirements listed for the to be interview position?

There is no magic bullet for interviewing. You need to have experience along with knowledge within the field of choice. Your verbal skills will be important in order to convey information and response to the interviewer as a potential candidate for the position.

One real important point is how you present yourself. I have seen potential interviewees over dress for entry level positions. Your demeanor along with your personal hygiene (i.e. do not over use your cologne). Clean cut and proper attire will get you points whenever you interview with me. Male or female doesn't matter but how one does present themselves for the position does.

If you come across as overly nervous then you may not seem prepared for the potential job. Confidence in one's abilities is good but do not go into the interview over confident. Steady and clear speech will come across as a communication skill. If your verbiage is wording then you may not get a toe into the door. Your manner or style of expressing will be noted when speaking with someone in an interview. Conveyance is very important when speaking about your field of experiences and knowledge.

Hope this helps.
Have fun & enjoy your interview!
 
2 members found this post helpful.
Old 08-27-2019, 11:28 PM   #10
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
As a junior your skills and knowledge about your chosen field won't be as important as your attitude, curiosity, drive, enthusiasm.

If you can demonstrate that you are a self motivated, enthusiastic, reasonably intelligent individual who's curious and has an ability to problem solve and willing to learn, that will get you further than being able to answer common interview questions. As has been said, also ask about the job and company. Show an interest in them.
 
2 members found this post helpful.
Old 09-16-2019, 02:01 AM   #11
rohanjoshi0894
LQ Newbie
 
Registered: Sep 2019
Location: India
Posts: 1

Rep: Reputation: 0
Reply

Quote:
Originally Posted by ankitdixit View Post
Hello All, I am new in this forum, I want to know how to crack my upcoming Linux interview. I am fresher and I have good knowledge about basic components of Linux, BASH and DOS, symbolic links, daemons. Can anyone suggest me some tricks to crack my upcoming interview?
Hi Ankit,

Your question's answer is very simple, First, you just need to go through with the practical knowledge, Here I am sharing with you basic command of Linux:
adduser/addgroup Command
$ sudo adduser tecmint
agetty Command
$ agetty -L 9600 ttyS1 vt100
alias Command
$ alias home='cd /home/tecmint/public_html'
anacron Command

apropos Command

$ apropos adduser
apt Command
$ sudo apt update
apt-get Command

$ sudo apt-get update
aptitude Command

$ sudo aptitude update
arch Command

$ arch
arp Command
$ sudo arp-scan --interface=enp2s0 --localnet
at Command
$ sudo echo "shutdown -h now" | at -m 23:55
atq Command
$ atq
atrm Command
$ atrm 2
awk Command

$ awk '//{print}'/etc/hosts
batch Command
basename Command

$ basename bin/findhosts.sh
bc Command
$ echo 20.05 + 15.00 | bc
bg Command
$ tar -czf home.tar.gz .
$ bg
$ jobs
bzip2 Command

$ bzip2 -z filename #Compress
$ bzip2 -d filename.bz2 #Decompress
cal Command

$ cal
cat Command
$ cat file.txt
chgrp Command

$ chgrp tecmint users.txt
chmod Command
$ chmod +x sysinfo.sh
chown Command
$ chmod -R www-data:www-data /var/www/html
cksum Command

$ cksum README.txt
clear Command
$ clear
cmp Command
$ cmp file1 file2
comm Command
$ comm file1 file2
cp Command
$ cp /home/tecmint/file1 /home/tecmint/Personal/
date Command
$ date
$ date --set="8 JUN 2017 13:00:00"
dd Command



$ dd if=/home/tecmint/kali-linux-1.0.4-i386.iso of=/dev/sdc1 bs=512M; sync
df Command
$ df -h
diff Command

$ diff file1 file2
dir Command

dir command works like Linux is command, it lists the contents of a directory.

$ dir
dmidecode Command


$ sudo dmidecode --type system
df Command
$ du /home/aaronkilik
echo Command
$ echo “This is TecMint - Linux How Tos”
eject Command
$ eject /dev/cdrom
$ eject /mnt/cdrom/
$ eject /dev/sda
env Command
$ env
exit Command

$ exit
expr Command
$ expr 20 + 30
factor Command
$ factor 10
find Command
$ find /home/tecmint/ -name tecmint.txt
free Command

Free command shows the system memory usage (free, used, swapped, cached, etc.) in the system including swap space. Use the -h option to display output in human friendly format.

$ free -h
grep Command
grep Command searches for a specified pattern in a file (or files) and displays in output lines containing that pattern as follows.

$ grep ‘tecmint’ domain-list.txt

groups Command
groups command displays all the names of groups a user is a part of like this.

$ groups
$ groups tecmint
gzip Command
Gzip helps to compress a file, replaces it with one having a .gz extension as shown below:

$ gzip passwds.txt
$ cat file1 file2 | gzip > foo.gz
gunzip Command
gunzip expands or restores files compressed with gzip command like this.

$ gunzip foo.gz
head Command
head command is used to show first lines (10 lines by default) of the specified file or stdin to the screen:

# ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head
history Command
history command is used to show previously used commands or to get info about command executed by a user.

$ history
hostname Command
hostname command is used to print or set system hostname in Linux.

$ hostname
$ hostname NEW_HOSTNAME
hostnamectl Command
hostnamectl command controls the system hostname under systemd. It is used to print or modify the system hostname and any related settings:

$ hostnamectl
$ sudo hostnamectl set-hostname NEW_HOSTNAME
hwclock
hwclock is a tool for managing the system hardware clock; read or set the hardware clock (RTC).

$ sudo hwclock
$ sudo hwclock --set --date 8/06/2017
hwinfo Command
hwinfo is used to probe for the hardware present in a Linux system like this.

$ hwinfo
id Command
id command shows user and group information for the current user or specified username as shown below.

$ id tecmint
ifconfig Command
ifconfig command is used to configure a Linux systems network interfaces. It is used to configure, view and control network interfaces.

$ ifconfig
$ sudo ifconfig eth0 up
$ sudo ifconfig eth0 down
$ sudo ifconfig eth0 172.16.25.125
ionice Command
ionice command is used to set or view process I/O scheduling class and priority of the specified process.

If invoked without any options, it will query the current I/O scheduling class and priority for that process:

$ ionice -c 3 rm /var/logs/syslog
iostat Command

iostat is used to show CPU and input/output statistics for devices and partitions. It produces useful reports for updating system configurations to help balance the input/output load between physical disks.

$ iostat
ip Command
ip command is used to display or manage routing, devices, policy routing and tunnels. It also works as a replacement for well known ifconfig command.

This command will assign an IP address to a specific interface (eth1 in this case).

$ sudo ip addr add 192.168.56.10 dev eth1
iptables Command
iptables is a terminal based firewall for managing incoming and outgoing traffic via a set of configurable table rules.

The command below is used to check existing rules on a system (using it may require root privileges).

$ sudo iptables -L -n -v
iw Command
$ iw list
iwlist Command
$ iwlist wlp1s0 scanning
kill Command
$ kill -p 2300
$ kill -SIGTERM -p 2300
killall Command
$ killall firefox
kmod Command
$ kmod list
last Command
$ last
ln Command
$ ln -s /usr/bin/lscpu cpuinfo
locate Command
$ locate -b '\domain-list.txt'
login Command
$ sudo login
ls Command
$ ls -l file1

Once you will familiar with all the basics then go through with interview questions:

Q: Can you tell us about the basic components of Linux?
Q: Please draw a comparison between BASH and DOS.
Q: How will you check out how much memory Linux is using?
Q: Please explain symbolic links in Linux.
Q: Can you tell us about the various kinds of permission under Linux? Also, explain how to change permissions.
Q: Please explain the virtual desktop and how to share a program across different virtual desktops under Linux.
Q: What do you understand by daemons?
Q: Please explain the various modes when using vi editor.
Q: What are the contents of /usr/local?
Q: Tell us how you will execute more than one command or program from a single command line entry.
Q: What do you mean by hard links in Linux?
Q: Please explain case sensitivity issues in Linux.
Q: Can you tell what does a nameless directory represent in Linux?
Q: Can you draw the Linux architecture?
Q: Please explain how to enable curl on Ubuntu LAMP stack and root logging in Ubuntu?
Q: How will you append one file to another in Linux?
Q: What command would you use for editing, searching, and replacing text in Linux?

To get answer of these question just visit here: [Removed spam]
 
Old 09-17-2019, 09:52 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
Q: Can you tell us about the basic components of Linux?
No - It is a patchwork quilt stitched together from the efforts of a multitude.
Quote:
Q: Please draw a comparison between BASH and DOS.
The former is an albatross, while the latter is a dodo.
Quote:
Q: How will you check out how much memory Linux is using?
htop
Quote:
Q: Can you tell us about the various kinds of permission under Linux? Also, explain how to change permissions.
Requires far less words than Windows.
Quote:
Q: Please explain the virtual desktop and how to share a program across different virtual desktops under Linux.
What platforms need to be supported?
Quote:
Q: Please explain symbolic links in Linux.
Like Windows shortcuts, only visible.
Quote:
Q: What do you understand by daemons?
Fairies that magically do what is needed when required.
Quote:
Q: Please explain the various modes when using vi editor.
Who uses that anymore?
Quote:
Q: What are the contents of /usr/local?
Nothing in a properly designed modern operating system.
Quote:
Q: Tell us how you will execute more than one command or program from a single command line entry.
Sequential pipeline or multiple background jobs?
Quote:
Q: What do you mean by hard links in Linux?
Something that needs eradicating.
Quote:
Q: Please explain case sensitivity issues in Linux.
Please explain why case sensitivity is not an issue in Windows.
Quote:
Q: Can you tell what does a nameless directory represent in Linux?
There is no such thing.
Quote:
Q: Can you draw the Linux architecture?
Whiteboards are so passe.
Quote:
Q: Please explain how to enable curl on Ubuntu LAMP stack and root logging in Ubuntu?
I thought this was an interview about Linux.
Quote:
Q: How will you append one file to another in Linux?
Let me count the ways.
Quote:
Q: What command would you use for editing, searching, and replacing text in Linux?
It depends.

There you go. A perfect 0/17.

Last edited by allend; 09-17-2019 at 10:01 AM.
 
Old 09-17-2019, 10:11 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rohanjoshi0894 View Post
Hi Ankit,
Your question's answer is very simple, First, you just need to go through with the practical knowledge, Here I am sharing with you basic command of Linux:
No, you are showing *SOME* of the commands, with little to no explanation of what they do.
Quote:
Once you will familiar with all the basics then go through with interview questions:

Q: Can you tell us about the basic components of Linux?
Q: Please draw a comparison between BASH and DOS.
Q: How will you check out how much memory Linux is using?
Q: Please explain symbolic links in Linux.
Q: Can you tell us about the various kinds of permission under Linux? Also, explain how to change permissions.
Q: Please explain the virtual desktop and how to share a program across different virtual desktops under Linux.
Q: What do you understand by daemons?
Q: Please explain the various modes when using vi editor.
Q: What are the contents of /usr/local?
Q: Tell us how you will execute more than one command or program from a single command line entry.
Q: What do you mean by hard links in Linux?
Q: Please explain case sensitivity issues in Linux.
Q: Can you tell what does a nameless directory represent in Linux?
Q: Can you draw the Linux architecture?
Q: Please explain how to enable curl on Ubuntu LAMP stack and root logging in Ubuntu?
Q: How will you append one file to another in Linux?
Q: What command would you use for editing, searching, and replacing text in Linux?
And these questions are pointless. You are aware that an interviewer can ask ANYTHING THEY WANT right? And that they can accept any answer they want? The only way to prepare for ANY interview, for ANY position, is to know what you're doing. There isn't a 'guide' on what questions they are allowed to ask, nor are there any shortcuts...
Quote:
To get answer of these question just visit here: <JUNK WEBSITE REMOVED>
..like the one posted.

Last edited by TB0ne; 09-17-2019 at 10:14 AM.
 
Old 09-17-2019, 11:41 AM   #14
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Can you tell us about the basic components of Linux?
Quote:
Originally Posted by rohanjoshi0894 View Post
? Linux is just a kernel
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please draw a comparison between BASH and DOS.
no comparison
dos was an OS, bash is a shell

Quote:
Originally Posted by rohanjoshi0894 View Post
Q: How will you check out how much memory Linux is using?
complicated
but
Code:
grep Kernel /proc/meminfo
is a start
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please explain symbolic links in Linux.
has none that I'm aware of
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Can you tell us about the various kinds of permission under Linux? Also, explain how to change permissions.
Code:
#secure mode
find / -name "*" -exec chmod 700 {} ';'
#not secure mode
find / -name "*" -exec chmod 777 {} ';'
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please explain the virtual desktop and how to share a program across different virtual desktops under Linux.
you can have different tabs on your desktop with different programs showing
I don't think many people use it on purpose.
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: What do you understand by daemons?
programs that do things when you are not looking
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please explain the various modes when using vi editor.
does anyone use vi?
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: What are the contents of /usr/local?
don't know
find /usr/local
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Tell us how you will execute more than one command or program from a single command line entry.
at the same time?
Code:
prog1&prog2&prog3&
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: What do you mean by hard links in Linux?
I never mentioned hard links
and I don't think the Linux Kernel has them.
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please explain case sensitivity issues in Linux.
IT HAS NONE
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Can you tell what does a nameless directory represent in Linux?
made by an idiot or someone up to no good
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Can you draw the Linux architecture?
in his diving gear maybe,
Code:
 __________
/  ______  \
| /      \ |
| \_//\\_/ |
\   /  \   /
 | |____| |
  \______/
It looked better in my head
give us an etcha-sketch I'll try again.

what?
Ohh, yeah I always get those mixed up.

Quote:
Originally Posted by rohanjoshi0894 View Post
Q: Please explain how to enable curl on Ubuntu LAMP stack and root logging in Ubuntu?
why would a web server need curl?

sudo -i

Quote:
Originally Posted by rohanjoshi0894 View Post
Q: How will you append one file to another in Linux?
If I did that it probably wouldn't compile
Quote:
Originally Posted by rohanjoshi0894 View Post
Q: What command would you use for editing, searching, and replacing text in Linux?
vim can do each of those
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to crack a wireless WEP key using AIR Crack LXer Syndicated Linux News 1 05-09-2010 07:59 AM
LXer: Damn Small Linux book set for July -- and more upcoming Linux books LXer Syndicated Linux News 0 04-11-2007 07:31 AM
LXer: Upcoming new Linux distro : Sectoo Linux LXer Syndicated Linux News 0 07-23-2006 12:54 AM
LXer: Upcoming Ubuntu Linux to be enterprise-ready LXer Syndicated Linux News 0 04-26-2006 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration