I have a folder in ~ called work that contains all my work. Usually when I start an instance of Terminal I type cd work. I would like to avoid this because it's very repetitive. I tried putting cd work in my .bashrc but I realized that I don't always want to cd work - for instance, when I Open Terminal here or when I open a Terminal in VSCode (which should open my Terminal in the current project directory, not work). My idea is having the Terminal type out cd work whenever I open it, but not actually execute the command. If I really need to cd work, all I have to do is hit Return. However, if I don't want to do that, I can just Ctrl+C. Is doing this possible?
Rather than rephrasing my question, let me describe to you the desired user-case:  I create a short shell-script to run command "gnome-terminal --someoptionflagname 'my text to be posted'", and execute this script.  Gnome-terminal pops up, with command-line prompt followed by my text.   ie: fields@mycomputer:/$ my text to be posted  Can this be done?
To show that either $R$ is a field or $R$ is a finite ring with prime number of elements and $ab = 0$ for all $a,b \in R$. When articles are placed after adjectives? I couldn't afford that big a car. It was so warm a day that I could hardly work.   The sentences stated above have been taken from Practical English Usage by Michael Swan. If I write-   I couldn't afford that big car. It was so warm day that I could hardly work.   These make sense. But placement of article a makes these sentences awkward to me. Please say why and when articles are placed after adjectives. And what are the differences among 1, 2 and 3, 4. What is a word that could define someone who likes to cause conflict? What would you call someone who does things knowing specifically that his/her actions will cause pain and/or conflict or completes an action just to get someone in trouble or hurt them?   For example, in  there are two people that are in love, but the Colonel goes out of his way to tell the father of the girl that the boy is a thief and would be bad for their reputation.   What is a word that would describe him? Prime divisors of the integer $n^2+n-1$ (using the Legendre symbol) What made me have a question is the following problem.     The prime divisors $p\not=5$ of the integer $n^2+n-1$ are of the form   $10k+1$ or $10k+9$.   I thought $\left(\frac 5 p\right) = 1$, because $5 \equiv 1 \pmod 4$.  So $\left(\frac 5 p\right) = (-1)^{p-1}\left(\frac p 5\right)=1$ by qudratic reciprocity.  Then $p$ should be of the form $2k+1$  But I think there is something wrong, and I have lost.  Is there someone to help me? Some people use a term for a popular special case in place of a generic term.  (Often this popular special case is a particular product in that category.)  I think that this is a common phenomenon.  Is there any word/phrase for it?  For example, “Coke” officially refers to a  (I think), but some people seem to call any carbonated soft drinks “Coke.”  In Japanese, famikon is the Japanese name for , a video game console which was extremely popular in 1980s and early 1990s, but some Japanese people call any video game console famikon even if it is not really a famikon.  (As an aside, calling a video game console famikon when it is not really a famikon is even a stereotype of a “mother unfamiliar with technology” in Japan.)  I am looking for a term which refers to this kind of usage of words. Left-align all equations in a block align environment without any explicit alignments points (given by &amp;) right justifies the equations in the block. They can be left justified by putting &amp; at the beginning of each equation. Is there any way to left justify them without starting &amp;-s? Maybe some special environment or option? It seems to be an extra work to tell the compiler again and again that I want left alignment on each line. I need to add a new field in the @book or @InProceedings entries: this field is "tome", for I have for instance the following title:  Francesco Bertolini, Società di trasmissione orale: mito e folclore, in Lo spazio letterario della Grecia antica, a cura di G. Cambiano, L. Canfora e D. Lanza, vol. I, tomo I, Salerno, Roma 1992, pp. 47--75.   So the following code is not enough:  @InProceedings{ bertolini:1992,   author                   = "Francesco Bertolini",   title                    = "Società di trasmissione orale: mito e folclore",   booktitle                = "Lo spazio letterario della Grecia antica",   editor                   = "G. Cambiano and L. Canfora and D. Lanza",   publisher                = "Salerno",   location                 = "Roma",   year                     = "1992",   volume                   = "1,   pages                    = "47--75", }   Using othes codes, I was able only to produce the "tome" field, but with a general trouble about the other fields:  \DeclareSourcemap{   \maps[datatype=bibtex]{     \map{       \step[fieldsource=tome,fieldtarget=usera]     }   } } \DeclareFieldFormat{usera}{tomo\space{#1}}   \DeclareBibliographyDriver{book}{%   \usebibmacro{author/editor}%   \setunit{\labelnamepunct}\newblock   \usebibmacro{title}%   \newunit\newblock   \usebibmacro{journal+issuetitle}%   \setunit{\bibpagespunct}%   \printfield{pages}%   \newunit\newblock   \printfield{usera}%   \usebibmacro{finentry}} \renewcommand*{\finentrypunct}{}   (useful for articles, but not for my case). By real, I'm not able to understand  which bibmascros I have to invocate...  I tried to write a biblatex-tome.dbx:  \ProvidesFile{biblatex-tome.dbx}   \DeclareDatamodelFields[type=field,datatype=literal,skipout=false]{tome}   \DeclareDatamodelEntryfields{tome}   Inside the main .tex file I put just this code:  \DeclareFieldFormat{tome}{\mkbibacro{tome}\addcolon\space #1} \newcommand*{\patchmoretome}[1]{   \xpatchbibdriver{#1}%     {\printfield{tome}}     {\printfield{tome}%           \newunit\newblock      \printfield{tome}}%     {\typeout{patching #1 to include more tome succeded}}%     {\typeout{patching #1 to include more tome failed}}% } % patch all drivers \patchmoretome{article} \patchmoretome{book} \patchmoretome{collection} \patchmoretome{inbook} \patchmoretome{incollection} \patchmoretome{inproceedings} \patchmoretome{manual} \patchmoretome{periodical} \patchmoretome{proceedings} \patchmoretome{report} \patchmoretome{thesis}   but it doesn't print the field in bibliographic entry. So I'm very confused about a (re)writing of driver On company 401k matching. Clarification needed I realized I don't fully understand something. It almost embarrassing to admit.  In 2016 we have 18k max contribution limit for 401k. Does this mean that employee can contribute at most 18k or that total contributions made on behalf of employee should not exceed 18k (company match)  To make is simple, if you make 100k, by contributing 18% you got your limit. But if your company matches 5%, actual contributions will be 18.9k. In the above example, if one wants to maximize benefit should one contribute 18% or less? Software Tester Skill Matrix with Levels I would like to know if there's a standard Skill set for Skill Matrix for a Software Tester of different levels, like for example, what are the skills needed for an Entry level tester as well as what technologies and responsibilities he needs. And for the Mid Level tester and Senior Level as well.  Note that I am working in a company who designs and develops websites. How do I run two isolated instances of firefox? In an Integral Domain is it true that $\gcd(ac,ab) = a\gcd(c,b)$? Are primes (ignoring $2$) equally likely to be $1~\text{or}~3\pmod 4$? For all primes $p\neq 2$, it's easy to see that $$p\equiv 1~\text{or}~3\pmod 4$$ I was wondering if it's equally likely ($50\%-50\%$) that prime modulo $4$ is $1$ or $3$. And if so, is there a simple proof? Is there a noun that doesn't have a plural in any of its forms? While attempting to answer  @ProgramFox has been trying to come up with an example of a noun with no plural.   The best I've come up with is egotism and Judaism.  ()  Some of the contenders I've already shot down are air, water, and money.  (Airs, waters, and monies are all legitimate plurals.)  My question is, a) Do my two examples have actual plurals?  b) Are there any other non-ism nouns that don't have a plural? Reverse DNS - how to correctly configure for SMTP delivery I started a new service and we need to send emails to our customers (new account confirms, etc).   My server is known as prod01.bidrodeo.com and resolves to 97.107.134.38 .  For reverse DNS, 97.107.134.38 resolves to prod01.bidrodeo.com . However, all our email addresses are in the form of user@bidrodeo.com. Should I make the reverse DNS point to bidrodeo.com instead?   My emails are getting delayed or rejected by certain systems and i am not sure if my reverse DNS is not set up correctly. My best friend of the moment - 'Essential Grammar in Use' for elementary students by Raymond Murphy - says that 'we normally use -'s for people.'     I stayed at my sister's house. (not the house of my sister).   Then, bellow in the same unit (64) says that 'we use of... for things, places, etc.'     Look at the roof of that building. (not that building's roof)   After that I thought:  Finally!!! I understand the rules for apostrophes!!!  But soon I lost all that naif excitement when I saw other written examples on the internet that were not following those 'rules'.     I've learnt that we can apply apostrophes to ...     one year's pay   and, finally, amazingly enough ... to , which means ANY kind of nouns (I deduce uncountable nouns are also part of the possibilities). This demolishes what is said in the grammar. So, it seems that eventually:     That building's roof -> is valid   So, now I need your help.    1) Can you tell me the rules concerning the apostrophe to show possession in respect to its usage with nouns? Can we really apply to all kind of nouns? e.g. teeth's, vehicle's, Paula's, forest's, manager's, Ireland's, etc     Scotland's worst drivers   Metadata improves information's accessibility       2) Is there a sense that justifies what is written in the grammar: 'we normally use -'s for people'? or it does not make sense at all? If $\sum_{1}^{\infty}(a_n)^3$ diverges, does $\sum_{1}^{\infty}(a_n)$? (a) $S_k=\{A\subset\mathbb{N}: |A|=k\}$ for $k\in\mathbb{N}$  (b) $S = \bigcup_{k=1}^\infty S_k$   Work: For (a), I am not too sure about what approach I should use. I think finding a bijective function between the $S_k$ and $\mathbb{N}$ is hard to do . I also thought about using the Schroeder-Bernstein theorem and find injective functions $f:\mathbb{N}\rightarrow S_k$and $g:S_k\rightarrow\mathbb{N}$ in order to prove that $S_k$ and $\mathbb{N}$ are numerically equivalent. However, I have a hard time finding and proving these injective functions. I haven't really looked at (b) as I have yet to complete (a). When a function has a specific-size array parameter, why is it replaced with a pointer? CPT Template Not Showing - Getting 404 I'm developing a Custom Post Type plugin, which works fine in dev. Now that I've moved it to production, I'm getting a 404 when I try to display the template for the CPT.   So, two questions:  1- Is there some mechanism to determine the path WP took to get through the hierarchy?  2- Why wouldn't it just give me the single or index page?  I've dumped $wp_query and a stacktrace at the end of the 404. Here's part of what I found:  [query] =&gt; Array     (         [page] =&gt;          [pagename] =&gt; refletters/proximity     )  [request] =&gt; SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND (wp_posts.ID = '0') AND wp_posts.post_type = 'page'  ORDER BY wp_posts.post_date DESC  [posts] =&gt; Array     (     )  [queried_object] =&gt;  [queried_object_id] =&gt; 0   And the stack trace:  2013-04-27 22:16:41 - 24.52.197.40 - TRACE - index.php - 404.php[39] -      wordpress/wp-content/themes/notoriousconsultant/404.php[39] - aaLog-&gt;logtrace     wordpress/wp-includes/template-loader.php[50] - include     wordpress/wp-blog-header.php[16] - require_once     wordpress/index.php[17] - require   Thanks for your help. Search for a string and print everything before and after within a range I have this file:  sometext1{ string1 }  sometext2{ string2 string3 }  sometext3{ string4 string5 string6 }   I want to search this file for a specific string and print everything before this string up to the opening { and everything after this string up to the closing }. I tried to achieve this with sed but if I try to print everything in the range /{/,/string2/ for example sed prints this:  sometext1{ string1 }  sometext2{ string2 sometext3{ string4 string5 string6 }   If I search for the string "string2" I need the output to be:   sometext2{ string2 string3 }   Thanks.