NetBSD

How do I see a list of all exported variables and functions under Unix bash shell?

{ 4 comments }

I‘ve received a file called date.tar.gz. How do I open a tar.gz file under Linux or Unix like operating systems?

{ 2 comments }

How do I find out an inode (index-node) of a file under Unix like operating systems?

{ 3 comments }

How do I block a http user agent or a software agent using Nginx web server under Linux or Unix like operating systems?

{ 2 comments }

I‘m writing a shell script for automation purpose. The output the path of the current working directory is stored in $PWD or it can be obtained using the pwd command. How do I find out find out 3rd field separated by the forward slash (/) delimiter using $PWD under Unix like operating systems?

{ 7 comments }

My router configured by ISP tech and it is set to get DNS server address automatically from upstream. Is there is a way to find out the IP address of the dns server used by my router which is located at 192.168.1.1? Is there Linux, Unix, Apple OS X, or MS-Windows command that I can use get the same information?

{ 7 comments }

How do I assign the output of a shell command to a shell variable under Unix like operating system? For example, I want to store the date command output to a variable called $now. How do you do that?

{ 3 comments }