How can I rename a directory in linux with terminal? [closed] - linux

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 1 year ago.
Improve this question
scenario: I have ssh onto a remote server and have created a directory named helloworld/ and after working with it for some time I wanted to rename it to something like hello_world/ I was wondering how I can easily do that.
I was looking online and I was not able to find much resources, but I think this is a pretty simple thing, so I imagine there will be a simple way of achieving this.
Please let me know

mv <source_directory> <target_directory>

Related

Is it possible to see "hidden" documents without knowing they exist? [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 11 months ago.
Improve this question
is it possible to see all files that are theoretically viewable by a link but not linked on the main website?
For example:
Let's say the website has:
index.html
undepage/index.html
supersecretdocument.pdf
Is it possible to see the supersecretdocument.pdf know that the document exists without knowing that it's there?
If you're asking "Can I know a file exists without trying to GET (or HEAD) it?", the answer is "no."

Where does finger info come from in RedHat? [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 3 years ago.
Improve this question
One of the data elements produced by the finger command gives information on how long a logged in session has been idle. Where does finger get that information from on RedHat? I've looked in /proc/<pid>/ but did not find anything useful, and the documentation doesn't go into the commands implementation.
So, where in the system is finger (or w) pulling this information from?
The finger program get's this information from utmp file located at /var/run/utmp.

Is there a special user and group for a shared file which anyone can read/write in linux? [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 6 years ago.
Improve this question
I am making a folder where there are some shared files which can be read and written by anyone (but not executable) in a server. But I don't know what kind of owner and group are used for the files. Are there any special or well known owner or group for the purpose? Thank you very much.
The best approach to do this would be to use:
chmod 110
This will change file permission to read & write, no execute
linuxcommand.org/lts0070

samb.conf: Where is the "security" parameter? [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 7 years ago.
Improve this question
I'm trying to make files in my linux virtual server browsable from my windows. I'm following the instructions given here: https://help.ubuntu.com/lts/serverguide/samba-fileserver.html
However, I cannot find the security parameter it's talking about. Can I just create that anywhere under the [global]? Or is there a pretty specific place to put it?
Yep, you can just specify the "security=" parameter anywhere in the global section.
https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html

Make changes with Ubuntu kernel [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 want to modify sched.h to add in some scheduling algorithm. I use find / -name sched.h command finding a lot of results.But which one should I really modify ?
And in /usr/src,there are a lot of relating folders whose names are similiar. I'm using ubuntu14.04. Where are my real source code?
use uname -a to see which kernel you are currently running. After that, i would edit the /include/linux/sched.h for that kernel.

Resources