When I type `route -n` into the Mac terminal, why doesn't it show a routing table? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I read in "TCP/IP Network Administration" by O'Reilly, 2002, that typing the route -n command should bring up a routing table.
When I typed it into the terminal on a Mac, it returned the following:
usage: route [-dnqtv] command [[modifiers] args]
What is the correct command to use to see the routing table in my terminal?

On Mac OS X you can use netstat(1). In your case, netstat -nr, probably.

Related

custom filename for output-file without using additional-suffix [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I would like to split a huge text file into separate text files. I use:
split -l 1000 file.txt split_file
and I will get split_fileaa, split_filebb, etc.
How can I change the extension to be
split_file0.txt, split_file1.txt, etc?
--additional-suffix is what you need for the additional suffix :
split -l 1000 -d --additional-suffix=.txt file.txt split_file
There is a -d option for numeric suffixes.

Find out the number of CPU cores used by a linux job [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
How can I find out how many CPU cores is a job running on a Linux system using?
Is it somehow through the top command?
you can use ps -aF or I am guessing you are referring to htop which is a graphical tool.

ksh: cannot execute a compiled c library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I downloaded
http://stedolan.github.io/jq/
Linux 64 bit copy
and ftp to AIX server 64 bit.
$ chmod 777 jq
$ ./jq
ksh: ./jq: cannot execute
Does any one know what the problem is ?
I will be compiling the source files,
as Linux 64-bit binary is for the x86_64/amd64 architecture, while there's a significant chance that AIX system might be a POWER architecture .

Find location of .csr file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I need to find the location of an existing csr file on my linux server, but I'm not sure where it's stored.
What's the best way to find this out?
If you have locate installed (it is part of GNU Findutils, may be included in your installation) then you can simply do:
locate myfile.csr
Otherwise you may have to search the whole filesystem with find:
find / -name "myfile.csr"
If you have some idea of where it might be (eg under a certain home dir or something) then you can specify that directory in place of the /.

Unwanted message when opening the shell [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I just uninstalled a program (ros) from my computer (ubuntu) using the ubuntu software center.
However, since this moment, whenever I open a shell, I get the following message:
bash: /opt/ros/groovy/setup.bash: No such file or directory
Did I do anything wrong?
Have a look at ~/.bash_profile

Resources