Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have did this assigment, I need it checked, using linux terminal. And hopefully provide correct answer. this is a revive. 1 a) Write the

I have did this assigment, I need it checked, using linux terminal. And hopefully provide correct answer. this is a revive.

1 a) Write the commands that will display the static ip address for fiu.edu

ping fiu.edu

b) Write the commands that will display all your files in your hard disk ending on .java

ls -R | grep '\*.java$'

2 a) Write the commands that will display the total amount of files ending on .java on your entire hard disk

ls -l *.java b) Using regular expressions, write the commands that will display all files on your current directory, with all attributes, containing the letter p or A grep '[pA]

3 a) Write the commands that will display all the hops it takes to reach, from your computer, the website genomepro.cs.fiu.edu,

tracepath genomepro.cs.fiu.edu

b) Write the command(s) that will performs DNS lookups displaying domain names and associated IP address host genomepro.cs.fiu.edu 4 a) Write the commands that will display your computer's current network interfaces showing their current active ip addresses ip addr

b) Write the commands that will display the name of all the current network interfaces, in your computer, that are NOT currently connected ifplugstatus

5 a) Run command to listen to your computer's ports, as learned in class, such as: tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 1315/mongod tcp6 0 0 :::139 :::* LISTEN 1079/smbd udp 0 0 0.0.0.0:5353 0.0.0.0:* 714/avahi-daemon: r udp6 0 0 :::48054 :::* 714/avahi-daemon: r

sudo netstat -plunt

b) Write the commands that will display lines with anything not a letter or number in a text file grep '[^a-zA-Z0-9] fileName

6

a) Write the commands that will display lines containing letters a thru z and A thru Z in a text file grep '[a-zA-Z] fileName

b) Write the commands that will display lines with numbers only using the following format xxx-xxx-xxxx found in a text file

grep '[0-9]\{3\}-[0-9]\{3\}-[0-9]\{4\}' fileName

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

Students also viewed these Databases questions

Question

7. Describe the basic components of a wired LAN.

Answered: 1 week ago