Ruby on Rails
Tuesday, August 5, 2014
You learn something new everyday.
-- After tears of using Ubuntu since Dapper Drake I never knew this. I have always used cd ~ to return to the home directory.
Thanks for the insight. (back to my Rails installation now...)
On Tuesday, 5 August 2014 22:42:36 UTC+10, walt wrote:
On Tuesday, 5 August 2014 22:42:36 UTC+10, walt wrote:
Hi McHenry & Diegoaccording to (http://www.linfo.org/cd.html) cd on its own does alternate between two directories like~ $ cd /tmp/tmp $ cd~ $ cd/tmp $and so on ….However! I've tested it on Mac and Fedora 20 — and the shell (Bash on Fedora) returns the user to the $HOME in both environments (hmmm)Good spot, Diego!Cheers,WaltherDen 05/08/2014 kl. 14.08 skrev McHenry <he...@incred.com.au>:Hi Diego. The command "cd ~" returns the user to their home directory however "cd" alone does nothing as far as I know.
On Tuesday, 5 August 2014 22:02:33 UTC+10, Diego Dillenburg Bueno wrote:In case you asked about the meaning of the command being used there, instead of what it does, it might be, correct me if I'm wrong, just to make sure you're in your home directory, just to make it is easier to follow.Regards,Diego Dillenburg Bueno2014-08-05 8:52 GMT-03:00 Walther Diechmann <wal...@diechmann.net>:
Hi McHenry,from your question I gather that you should perhaps start by going through one/two articles on the basic Linux commands - just to keep you a-float ;)ls list directorycd change directorysudo execute som command as another user (superuser unless otherwise specified)pushd cd and remember where you were atpopd cd to the remembered directory prior to the pushed onecheersWaltherDen 05/08/2014 kl. 13.43 skrev McHenry <he...@incred.com.au>:I am using the following guide:Under the heading "Using rbenv" the first line instruction is "cd"What is the purpose of this command?--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .e93f0cf6-e201-4038-a6e8- 19ce9c96b4e6%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
To view this discussion on the web visit https://groups.google.com/d/--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com.msgid/rubyonrails-talk/ .BDE7C77B-E089-4FE9-B146- A1642EEE0913%40diechmann.net --
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .e74c8ccb-3da0-40ed-8e70- 684cbeeaeabf%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4d77784e-cae8-4ebe-90b1-1f4b4ca110ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment