What does two dots before a slash mean? (../) [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 7 years ago.
Improve this question
What does ../ mean in Linux/Unix paths? I've seen that it means as 'up a directory' but I couldn't get to understand it fully.

Each directory has two entries in it at the start, with names . (a link to itself) and .. (a link to its parent directory). The exception, of course, is the root directory, where the .. directory also refers to the root directory.

Related

how to remove accidentally created ~ in my other linux directory while using wq~ in vi [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
when I exit my vim, I accidentally typed wq~, and it created my home directory in my other linux directory which I am working on, anyway to remove it?
Quote it
rm '~'
You can also rename it to the name you want:
mv '~' correctname

Anybody know of a good explanation of each of the directories in root (/)? [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 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.

What does 'd' mean in '/etc/cron.d'? [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
On Linux systems there are some special paths like /etc/cron.d/, /etc/apt/sources.list.d/. That are the paths where you can place your own custom configs in separate files.
My question is — what does letter d mean?
directory :) Since there can possibly be a /etc/cron file as well. It is the same for /etc/modprobe.d/

How to rename a file name named "." [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 have downloaded a large file about 2gigs from remote server but by mistake I gave it name . (dot).
How can I rename it using linux commands ?
I don't think you really have named it .. Or at least, you cannot have done so successfully.
The name . is reserved for the current directory. So either it has been given another name implicitly, or it has been removed/discarded.
Try
find -size +1536M -ls
to find if there is any file with this size, and if so, verify if it can be the file you look for.

Ubuntu symbolic link going to source location when up folder [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
The problem is the following - I`ve created a symbolic link to a folder /home/user1/folder1 in /home/user2/. When user2 follows this link, he comes to the /home/user1/folder1, but when he goes up folder he comes to /home/user1/ not /home/user2/. Is it possible to change this behavior?
Thanks. Solved by mount --bind

Resources