I have following symlink in my home directory.  lrwxrwxrwx 1 mtk mtk   43 Aug  8 20:35 tripple-bit -&gt; /media/mtk/study/Collage/docs   I use the symlink to navigate to the docs folder directly. But now, while being in docs folder, I want to move to it's parent directory i.e. /media/mtk/study/Collage in this case.   How can I achieve this?  On giving cd .., it comes back to the home directory and not the parent directory.
When I cd a link, my current path is prefixed with the link's path, rather than the path of the directory the link links to.  E.g.  ~/dirlinks/maths$ ls -l logic lrwxrwxrwx 1 tim tim 71 Jul 27 10:24 logic -&gt; /windows-d/academic discipline/study objects/areas/formal systems/logic  ~/dirlinks/maths$ cd logic ~/dirlinks/maths/logic$ pwd /home/tim/dirlinks/maths/logic  ~/dirlinks/maths/logic$ cd .. ~/dirlinks/maths$   I would like to have my current path changed to the path of the linked dir, so that I can work with the parent dirs of the linked dir as well. Besides ls the link to find out the linked dir, and then cd into it, what are some simpler ways to accomplish that? For example, after cd into a link, how do you change your current path to the path of the linked dir?
A ring element with a left inverse but no right inverse? Can I have a hint on how to construct a ring $A$ such that there are $a, b \in A$ for which $ab = 1$ but $ba \neq 1$, please? It seems that square matrices over a field are out of question because of the determinants, and that implies that no faithful finite-dimensional representation must exist, and my imagination seems to have given up on me :) I might end up teaching philosophy in Finnish lukio/gymnasium. I will not get an opportunity to practice teaching it - I do get to practice teaching mathematics a fair deal, though. (The situation is somewhat unfortunate.) I have taken subject studies in philosophy at university. They amount to around 60 credits (ECTS).  Suppose I give the students an exam, which asks them to write an essay or two. After that my task is to grade the exams in a fair way and comment them in such a way that the students can learn from the feedback.  -  Suppose the task was to write an essay on the problem of universals - nominalism and realism, say. Let us say 6 points is the perfect score for this task.  I would expect the students to define nominalism and realism (2 points, maybe?) and explain the problem (2 points). Remaining two points for taking some stance and arguing for it - realism is more reasonable because so and so. Partial credits for demonstrating only partial understanding.  -  Am I missing some important aspects of philosophical thinking? Should I emphasize the different parts of an answer in a different way? I suspect my perspective is influenced by fairly extensive mathematics education - is there something particular I should watch out for? How to delete files listed in a text file I am working on Ubuntu 12.04 64bit.  I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet. Workaround for Android 4.4 not being able to write to SD cards? 2 different bibliographies I'm writing my thesis and I would like to make 2 "bibliography" references: The first one would be for the publications I'm in and the second one for external references. I've made one *.bib file right now and it's working but I have no idea how I should work with 2 *.bib files.  Any suggestion will be appreciated. Sending the output from 'dd' to awk/sed/grep I'm trying to approximate the computer's write speed using dd:  dd if=/dev/urandom of=/dev/null bs=1K count=10000   which gives the following output  10000+0 records in 10000+0 records out 10240000 bytes (10 MB) copied, 0.746313 s, 13.7 MB/s   How can I get the '13.7 MB/s' into a bash variable? I've tried piping the output from dd to progs like awk, sed and grep to no avail.  Ultimately, I'm calling this via os.system(...) from within a python script. If anyone knows of a more direct way to get a similar result inside python I'd be interested in that also. I'm trying to predict how long a file copy will take, based on the file size.  Any help would be greatly appreciated. If I have a Java source file (*.java) or a class file (*.class), how can I convert it to a .exe file?  I also need an installer for my program. What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018? I searched around, and currently there are two methods suggested; installing an enhancement for Windows Subsystem for Linux and installing an XServer.  I want to know which method is the most hassle-free (easy to install AND to use), and which one is less memory-heavy.  I just want Synaptic and CMake. Why couldn't that be a builtin feature? Cannot install Oracle JDK via apt in Ubuntu 16.04 I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt installer, 9.0.1-1~webupd8~0, is failing to download the binaries and I suspect that the reason is because   I carried out the typical steps for installation:    add-apt-repository ppa:webupd8team/java apt-get update &amp;&amp; apt-get install oracle-java9-installer   I am then prompted with the following error message:  Downloading Oracle Java 9... --2018-01-16 15:15:07--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.200.70.136 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following] --2018-01-16 15:15:11--  https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following] --2018-01-16 15:15:11--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-16 15:15:11 ERROR 404: Not Found.  download failed Oracle JDK 9 is NOT installed. dpkg: error processing package oracle-java9-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java9-installer E: Sub-process /usr/bin/dpkg returned an error code (1)   I found , but it does not appear that the  works for JDK 9.0.4+11. I've updated the SHA checksums (), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.  What steps need to be carried out to get the JDK apt installer to work until the WebUpd8 team is able to update the PPA? Ignore python multiple return value Say I have a Python function that returns multiple values in a tuple:  def func():     return 1, 2   Is there a nice way to ignore one of the results rather than just assigning to a temporary variable? Say if I was only interested in the first value, is there a better way than this:  x, temp = func() How to check which TLS protocol is using the FUEL-SDK for java I am trying to understand capitalization rules with Mom and Dad. I believe I have it correct below, but please let me know if I do not.     The one thing I learned from my dad was that it was good to earn the trust of one's children. Dad has shown me how good that a dad can be. One day when I went to his house, and Dad wasn't there, I ran outside....   The above passage is just made-up just so that you would see what I mean about capitalization. Let's put numbers by each one, like so:     The one thing I learned from my dad(1) was that it was good to earn the trust of one's children. Dad(2) has shown me how good that a dad(3) can be. One day when I went to his house, and Dad(4) wasn't there, I ran outside....    This is one where I'm not certain. I believe in this sense I'm showing possession here with "my", and it just didn't seem right saying "my Dad". I don't know what the grammar rule is here, or if I even have it right. This one is obvious—it starts the sentence. In this case, I'm using Dad like a name instead of saying "Larry". Therefore, it should be capitalized. Again, just like 3. Has the below question been answered here before?  Prove: For a given enclosed volume, a sphere has minimum surface area.  Please provide link or ways to solve it. I know it is a problem of Minima and involves finding derivative and second derivatives. However, how to to frame the leading equations which has to be differentiated?  I am looking for a way to solve only using High School level Calculus. I think there must be an answer. I have been thinking a bit about Morita equivalence   and I would like to know whether it also applies to subrings such as right or left ideals.  And, if so, how specifically? Could you illustrate if with the example of 2x2 matrices with zero entries in the bottom row? Since Morita equivalence concerns non-commutative rings, I am assuming it should apply, but I am just guessing.  Thanks in advance. Can I carry spare Lithium-Ion batteries with me on Lufthansa? I am travelling from the US to India on Lufthansa. I have five spare Lithium-ion batteries, each 850mAh.  Can I bring them back safely? How do I create an 8 sided die from one object? Simply put, is there a way to make a cube balance solely on one point/vertex?  I'm struggling. I do not want to have to join two objects, nor have to extrude an object. I just want to have a simple eight-sided die created with one mesh. Find the number of natural solutions of $5^x+7^x+11^x=6^x+8^x+9^x$   It's easy to see that $x=0$ and $x=1$ are solutions but are these the only one? How do I demonstrate that?  I've tried to write them either:  $$5^x+7^x+11^x=2^x*3^x+2^{3x}+3^{2x}$$  or  $$5^x+7^x+11^x=(5+1)^x+(7+1)^x+(11-2)^x$$  and tried to think of some AM-GM mean inequality or to divide everything by $11^x$, but those don't seem like the way to go. Any hints? What's a big-vocabulary word for someone with a big vocabulary?  I'd like to say I'm looking for a "_____". How do I find out the user name and password for an existing account? MY site was created and maintained from a developer I cannot contact, and I need to know the username/password the developer used to access the site.  How can I achieve this?