LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-19-2012, 02:36 AM   #1
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Rep: Reputation: Disabled
commands


what is this command means ../../bin?
 
Old 07-19-2012, 03:01 AM   #2
cbtshare
Member
 
Registered: Jul 2009
Posts: 610

Rep: Reputation: 42
I guess you mean

Quote:
cd ../../bin
just means exit the current directory and then exit again and go to the /bin directory
 
Old 07-19-2012, 03:12 AM   #3
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
Quote:
Originally Posted by Priyanka Kaushal View Post
what is this command means ../../bin?
Looks like you need a quick lesson about file navigation.
 
Old 07-19-2012, 03:18 AM   #4
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Commands

THE FULL COMMAND IS :~/Castalia/Simulations/radioTest$ ../../bin/Castalia -c General
castalia is a simulator..which has Simulations folder in that radioTest folder ,-c is for configuration General is for configuring default file..

what does this command mean?

Last edited by Priyanka Kaushal; 07-19-2012 at 03:21 AM.
 
Old 07-19-2012, 03:20 AM   #5
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Its showing bash: ../../bin/Castalia-3.2: No such file or directory. what does it mean?
 
Old 07-19-2012, 03:23 AM   #6
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
~

what does ~ mean?
 
Old 07-19-2012, 03:25 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
../../bin/Castalia means you want to execute an app named Castalia and located in ../../bin (which is ~/Castalia/bin) with the parameters -c General.
It reports and error. Please send us the output of:
file ../../bin/Castalia and
head ../../bin/Castalia if it was readable
~ means your own home directory
 
Old 07-19-2012, 04:17 AM   #8
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Linux

OUTPUT IS SAME- bash: ../../bin/Castalia-3.2: No such file or directory
 
Old 07-19-2012, 04:20 AM   #9
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
what is bash?
 
Old 07-19-2012, 05:03 AM   #10
Priyanka Kaushal
LQ Newbie
 
Registered: Jul 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
typing of this command: rm .bashrc.swp showing ouput this....
rm: cannot remove `.bashrc.swp': No such file or directory

plz help..........
 
Old 07-19-2012, 05:38 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
bash is the shell that runs in your terminal
~ is a shortcut for /home

Code:
~/Castalia/Simulations/radioTest$ ../../bin/Castalia -c General
Your command translates to
Code:
~/Castalia/Simulations/radioTest$ ~/Castalia/bin/Castalia -c General
So the question is if ~/Castalia contains a directory called bin
Code:
ls -l ~/Castilia
    ^
    lower case L
Does it show a bin directory? If not, your installation does not seem to be right. If yes
Code:
ls -l ~/Castilia/bin
    ^
    lower case L
Does it contain the 'program' Castalia? If not, your installation does not seem to be right. If yes, check the permissions. You should see something (from the above command) like -rwxr-xr-x ..... Castalia. Please post the exact line. Also post the output of the command 'id' so we can check if you're running as user 'Castalia' or as somebody else. Also let us know which version of Linux you're using.

Last edited by Wim Sturkenboom; 07-19-2012 at 06:24 AM.
 
Old 07-19-2012, 06:35 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Pri*

It's not a good idea to put all these random questions is one thread.

I strongly recommend going to http://tldp.org and getting the Bash Guide for Beginners
 
Old 07-19-2012, 07:10 AM   #13
piyush.sharma
Member
 
Registered: Jul 2012
Location: Delhi, India
Distribution: CentOS
Posts: 82

Rep: Reputation: Disabled
It seems you don't have idea about Linux its commands & bash. you are suggested to learn otherwise its your luck that helps you to get rid of your issue.

rm is used to remove a file, and to remove a file, it must exist.
.swp file are created by vim editor to restore if your document was not saved, so it is not necessary that this king of file will always exist. so don't worry about that output.
 
Old 07-19-2012, 07:20 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
As above, it seems you need some good guides:
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/
 
1 members found this post helpful.
  


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
Linux equivalent commands for all Solaris commands Harry_Linux008 Linux - Newbie 4 08-22-2010 08:21 PM
what is the similarity between linux commands and dos commands kamalkirat1 Linux - Software 6 11-21-2008 09:54 PM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - Software 2 07-02-2008 07:26 PM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - General 2 07-01-2008 07:53 AM
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 01:45 AM


All times are GMT -5. The time now is 11:49 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