make buildworld cd: can’t cd to /usr/src/tools/build/make_check Error and Solution

last updated in Categories , , , ,

‘m trying buildworld under FreeBSD operating system. But I’m getting an error which read as follows:

————————————————————–
>>> Building an up-to-date make(1)
————————————————————–
cd: can’t cd to /usr/src/usr.bin/make
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

How do I fix this problem?

How do I find out what network services are running or listing under Linux?

last updated in Categories ,

Q. How do I find out what network service are running under Linux operating system?

A. For security reason it is necessary to find out what services are running. With the help of netstat command, you can print information about the Linux networking subsystem including running services. It can display program name and PID for each socket belongs to. Use netstat as follows:

$ netstat -atup

OR

$ netstat -atup | grep LISTEN

Where,

  • -t : Select all TCP services
  • -u : Select all UDP services
  • -a : Display all listening and non-listening sockets.
  • -p : Display the PID and name of the program to which each socket belongs