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 /.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 4 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 faced to next trouble when I try create a link
sudo ln /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/libpthread_nonshared.a
I get: '/usr/lib/x86_64-linux-gnu/libpthread_nonshared.a' not such file or directory. Despite locate return exactly same result:
locate libpthread_nonshared.a
/usr/lib/x86_64-linux-gnu/libpthread_nonshared.a
The destination likely doesn't exist. Either create /usr/lib64 then link. Another option is to just symbolically link the entire directory.
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
Ubuntu uses the path x86_64-linux-gnu, while many other distros use the lib64 path. I'm guessing you are installing/using something that is only looking for /usr/lib64/*
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 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 register standard user from GUI in CentOS 7(Shambala). From vipw file I changed its the users content
sha mbala:x:1001:1001:sha mbala:/home/sha mbala:/bin/bash
and now I'm having trouble with entering in home directory with
cd ~sha mbala
I Also tried
cd ~sha\ mbala
The problem is that I need to enter home directory using ~.
A basic gnu/linux username is a 32 character string (useradd(8)). This is a legacy format from the BSD 4.3 standard. passwd(5) adds some additional restrictions like, do not use capital letters, do not use dots, do not end it in dash, it must not include colons.
check more details in this answer What are the real rules for linux usernames on CentOS 6 and RHEL 6?
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 7 years ago.
Improve this question
I want to know the purpose of each folder in the root directory of linux/mac, like /var, /etc, /usr, /opt, etc. Can anybody shed some light?
Read the File Hierarchy Standard (at least for Linux). See also this and the Linux standard base.
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.
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
Here is the scenario,
I have 1000 files in a folder each 0f 3 MB, I want to zip all files into 50MB each zip and remove those files
50MB may contain 20 files or 10 files but that zip package should be <=50MB
Do they have to be separate, complete zips, or do you just want each file to be <50mb. If so, look at adding -s 50M to your zip invocation (check man zip for split)