`

linux questions

 
阅读更多
linux:
1.How do you identify a Java process id in a UNIX machine?
jps

2.How do you get a thread dump of a Java process in a UNIX machine?
jmap

3.If you have multiple java processes running in a UNIX machine, how would you identify a particular process?
pf -ef | grep processid

4.What tools/commands do you use to help you identify an out of control Java process in a UNIX machine?

5.How would you display the number of active established connections to localhost in a UNIX machine?
netstat

6.How do you find out drive statistics in a UNIX machine?
fdisk

7.How do you list the files in current directory sorted by size in a UNIX machine?
# du /etc | sort -nr | more

8.How do you delete blank lines in a file in a UNIX machine ?
有时当进行某些配置文件的查看时,分去除注释(如:"#"),但之后还会发现中间也许会有好多空行,所以,现小结一下去除空行的方法。

1)用tr命令
# grep -v "#" /etc/snmp/snmpd.conf |tr -s '/n'

2)用sed命令
# grep -v "#" /etc/snmp/snmpd.conf |sed '/^$/d'

3)用awk命令
# grep -v "#" /etc/snmp/snmpd.conf |awk '{if($0!="")print}'
# grep -v "#" /etc/snmp/snmpd.conf | awk '{if(length !=0) print $0}'

4)用grep命令
# grep -v "#" /etc/snmp/snmpd.conf |grep -v "^$"

5) 用grep命令
# grep ^[^#]  /etc/snmp/snmpd.conf
我解释下^[^#]/  是个正则表达式。 ^[^#] 取的结果为非#开头的行。

注:本文中的"|"管道前是去除注释,管道后是去除空行。上面所有例子中是用grep -v来去除注释,也可以用sed -e "s/#.*//g" filename 来过滤。


9.How would you display all the files recursively under current directory in a UNIX machine?
ll -r

10.How would you display disk usage in kilobytes in a UNIX machine?
du:查询档案或目录的磁盘使用空间

11.How do you run a process in background?
http://blog.csdn.net/zjnig711/article/details/6722652

Personal and Behavioral/Situational
1.Did you have to use any design patterns in your Java project

2."Tell me about yourself or about some of the recent projects you have worked with? What do you consider your
most significant achievement? Why do you think you are qualified for this position? Why should we hire you and what kind of contributions will you make?"

3.Why are you leaving your current position?

4.How do you handle pressure? Do you like or dislike these situations?

5."What are your strengths and weaknesses? Can you describe a situation where you took initiative? Can you
describe a situation where you applied your problem solving skills?"

6."Describe a time when you were faced with a stressful situation that demonstrated your coping skills? Give me an example of a time when you used your fact finding skills to solve a problem? Describe a time when you applied
your analytical and/or problem solving skills?"

7."Do you follow any software development processes like agile methodology, XP, RUP etc?
分享到:
评论

相关推荐

    linux-sysadmin-interview-questions, Linux系统管理员/devops访谈问题集合.zip

    linux-sysadmin-interview-questions, Linux系统管理员/devops访谈问题集合 Linux系统管理员/devops面试问题linux系统管理员/devops访谈问题集合。 通过请求请求,问题或者电子邮件来提供免费的帮助。内容的 table...

    Linux_Kernel_Development_Review_Questions

    《Linux内核开发复习问答》是针对重庆大学计算机学院Linux操作系统课程的一份期末复习资料,旨在帮助学生深入理解和掌握Linux内核的相关知识。本资料详细梳理了Linux内核开发的关键概念、原理和技术,覆盖了从内核...

    Linux中文手册

    25.Intel® 810 Chipset Family Common Questions and Issues with Linux* 26.Linux下的设备驱动 27.Intel740 for X 28.技术讲座:Linux自由软件的奇葩 29.网络配置问题 30.外设配置FAQ 31.Linux核心源码介绍 ...

    CompTIA.Linux.LPIC-1.Certification.All-in-One.Exam.Guide.2nd.epub

    packed exam guide covers the leading vendor-neutral credential for Linux and comes with a virtual machine configured for hands-on exercises, video training, and hundreds of practice exam questions. ...

    Linux Essentials 2nd 第2版 无水印pdf 0分

    Hands-on tutorials and end-of-chapter exercises and review questions lead you in both learning and applying new information—information that will help you achieve your goals! With the experience ...

    linux-sysadmin-course, Linux系统管理 101.zip

    linux-sysadmin-course, Linux系统管理 101 linux-sysadmin-courseLinux系统管理 101这里 repo 包含课程的附加材料和演示文稿。它还包括所有 homeworks 。等级:两个测试,每个测试有 50个问题一个问题一点每个作业...

    英文原版-Running Linux 5th Edition

    Widely recognized in the Linux community as the ultimate getting-started and problem-solving book, it answers the questions and tackles the configuration issues that frequently plague users, but are ...

    skypeforlinux-64.rpm

    In case you hit any issues, please check known issues, system requirements, or post your questions directly to this forum. All your feedback will be greatly appreciated. Kind regards, The Skype Team

    NVIDIA-GRID-Linux-KVM-460.32.04-460.32.03-461.33

    包含: NVIDIA-Linux-x86_64-460.32.03-grid.run NVIDIA-Linux-x86_64-460.32.04-vgpu-kvm.run 461.33_grid_win10_server2016_server2019_64bit_international.exe

    skypeforlinux-64.deb

    In case you hit any issues, please check known issues, system requirements, or post your questions directly to this forum. All your feedback will be greatly appreciated. Kind regards, The Skype Team

    Your.UNIX.Linux.The.Ultimate.Guide.3rd.Ed

    Your UNIX/Linux: The Ultimate Guide, written with both users and programmers in mind, is the ultimate UNIX/Linux text. Both pedagogical tool and exhaustive reference, it is well-suited to any course ...

    Linux Essentials(Sybex,2ed,2015)

    Hands-on tutorials and end-of-chapter exercises and review questions lead you in both learning and applying new information—information that will help you achieve your goals! With the experience ...

    [Linux.Essentials].Roderick.W.Smith.文字版.mobi

    Chapters conclude with additional exercises and review questions, allowing you to reinforce and measure your understanding. Offers a hands-on approach to acquiring a foundation of Linux skills, ...

    Sourcetrail_2019_3_46_Linux_64bit.tar.gz

    SourceTrail 免费的 C/C++ 代码浏览工具 Linux 版。Sourcetrail is an interactive source explorer that simplifies navigation in existing source code. Sourcetrail's aim is to give answers to all your ...

    postgresql-10.12-1-linux-x64-binaries.tar.gz

    3. Stack Overflow:全球程序员问答社区,可以搜索或提问关于PostgreSQL的问题,网址为https://stackoverflow.com/questions/tagged/postgresql。 通过了解和掌握这些知识点,你将能够有效地使用和管理PostgreSQL...

    linux 下 结合ftp 和部分telnet 功能的服务器源码

    #####################################################################... if you've any questions please send Email to me at supertiger@yahoo.cn or chat me by QQ : 547268476, I'll appreciate it !

    linux服务器配置大全

    * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { ...

    Beginning Ubuntu Linux Part1

    I aim to answer many of the common questions about Linux. Such knowledge is considered to be as important, if not more so, than understanding the technical details on how Linux works. But while these...

Global site tag (gtag.js) - Google Analytics