Reputation
9,130
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
27 90 164
Impact
~1.3m people reached

6h
comment option -n for pushd and popd
I think you started to drag me into an argument which deviates from the post. When did I try to make you use my wording? After I pointed out your reply's inaccuracy without -n option, you changed "The stack actually start with index 1" to "When using the -n option the stack works as if it actually start with at index 1." Is that what you mean by my trying to make you use my wording? Even after your change, that doesn't cover the example for pushd -n +N.
6h
revised option -n for pushd and popd
added 63 characters in body
6h
revised option -n for pushd and popd
rolled back to a previous revision
6h
revised option -n for pushd and popd
deleted 3 characters in body
6h
comment option -n for pushd and popd
If you don't like me telling you why I think your reply isn't accurate, then I should probably have avoided telling you. Note that when I don't feel something correct, it doesn't mean it is necessarily incorrect. It may be because I haven't understood it.
7h
comment option -n for pushd and popd
I ask a question for correct understanding. If I don't feel a reply correct, I will point it out. I thought you were also for the true understanding, so I answered you why I thought your reply wasn't accurate. I didn't mean to denounce your help. (The first vote on your post was from me, because I appreciated your participation. But that is a different issue.)
10h
comment option -n for pushd and popd
(2) (add:) if the stack doesn't contain the index 0 dir like you mentioned, why does the index 0 dir participate in the rotate by pushd -n +N? So your theory that the stack doesn't contain the index 0 dir applies to some examples, but not to some other examples. I hope to see some reference that support your theory, or provides alternative theory. I guess the design of pushd and popd will have the theory which shows how the commands are supposed to be used.
10h
comment option -n for pushd and popd
(1) "The stack actually start with index 1" isn't right. The stack starts with index 0, which is for the current directory. You can test it without -n option. I am not convinced that with -n, the stack changes to start with index 1 instead of index 0, unless you can provide other references (books or websites). (2) I am not not if your theory for -n option is accurate, because I don't think "The stack actually start with index 1" is correct, and there doesn't seem to be a clear rule across your explanations for the examples
10h
comment option -n for pushd and popd
Why does the index 0 dir appear twice? According to your theory, why not leave the index 0 dir alone, and rotate the rest? i.e. why is the result not 0 /etc/bind 1 /etc/dhcp 2 /etc/lvm 3 ~/me/text 4 /etc/apache2
14h
comment option -n for pushd and popd
thanks. can you explain the result of "pushd -n +1" using your theory?
1d
asked option -n for pushd and popd
Feb
5
comment Why can't wget download a file?
Still not work for me. Do you understand the error message?
Feb
5
reviewed Approve Why can't wget download a file?
Feb
5
asked Why can't wget download a file?
Feb
1
awarded  Notable Question
Jan
30
awarded  Notable Question
Jan
28
asked Which components of Linux IO subsystem are device-independent and device-dependent?
Jan
23
awarded  Popular Question
Jan
22
comment `stat -f` show a ext4 file system type as ext2/ext3
I have seldom used stat, and I haven't seen stat output ext4.
Jan
22
asked `stat -f` show a ext4 file system type as ext2/ext3