LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2011, 09:41 AM   #1
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Rep: Reputation: Disabled
I Entered This Command By Accident


What does it do?

cd /home/c/firefox_download ./plugins
 
Old 09-17-2011, 09:50 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
It changes directory to /home/c/firefox_download.
 
Old 09-17-2011, 09:53 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,
Quote:
Originally Posted by hitmen View Post
What does it do?

cd /home/c/firefox_download ./plugins
You will enter /home/c/firefox_download, nothing else. The cd command takes 1 option, the rest (./plugins in this case) will be ignored.

The command shown doesn't make sense, it looks like something is missing.

This, for example, would execute ./plugins if the cd /home/c/firefox_download command was successful:
Code:
cd /home/c/firefox_download &&./plugins
Hope this helps.
 
Old 09-17-2011, 09:54 AM   #4
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
cd = change directory
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeat last entered command ? Vilius AIX 17 08-12-2011 07:54 AM
any soft that logs command that has been entered into a network equipment? ziadh Linux - Software 4 09-21-2010 06:32 AM
HELP, I entered the wrong command... lost all my files cricri Linux - Newbie 2 03-30-2010 10:45 PM
configure bash to echo out the command entered? jrfk2 Linux - General 1 01-18-2007 01:03 PM
Cannot login since I entered chmod command? gopikrish Linux - Software 3 08-20-2004 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration