انجمن‌های فارسی اوبونتو

تازه کار => انجمن تازه‌کاران => نویسنده: nasa20e در 24 شهریور 1386، 12:55 ب‌ظ

عنوان: درخواست راهنمایی برای دستور cd
ارسال شده توسط: nasa20e در 24 شهریور 1386، 12:55 ب‌ظ
سلام دوستان
من وقتی در ترمینال دستور زیر را وارد میکنم
cd test
وارد دایرکتوری test میشم ولی اگر درون دایرکتوری test فایل دیگری باشه که بخواهم وارد شم باید از چه دستوری استفاده کنم
لطفا راهنمایی کنید
با سپاس
عنوان: پاسخ به: درخواست راهنمایی برای دستور cd
ارسال شده توسط: سید مهدی در 24 شهریور 1386، 01:15 ب‌ظ
شما وارد فایل نمی تونید بشید. شما می تونید وارد فولدر (پوشه) بشید....
فکر کنم بدونم منظورتون چی بوده ;)
 برای وارد شدن به فولدر باید از همین دستور cd استفاده کنید. مثلاً اگه در فولدر test فولدر دیگری به اسم ABC باشه و در فولدر ABC هم یک فولدر دیگه به اسم UVW باشه، و شما هم الان در فولدر test هستید، باید دستور زیر رو وارد کنید تا بتونید وارد فولدر UVW بشید:
cd ABC/UVW
یادتون هم باشه که لینوکس بر عکس DOS به حروف کوچک و بزرگ حساس هست و بین اونها فرق می زاره. یعنی اسم ABC با اسم abc از نظر لینوکس فرق می کنه.

منظورتون شما همین بود ؟
عنوان: پاسخ به: درخواست راهنمایی برای دستور cd
ارسال شده توسط: nasa20e در 24 شهریور 1386، 01:50 ب‌ظ
من کاری که فرمودید انجام دادم نشد
mohamad@mohamad-desktop:~$ cd rp-pppoe-3.5
mohamad@mohamad-desktop:~/rp-pppoe-3.5$ sudo ./go
Password:
sudo: unable to execute ./go: No such file or directory
mohamad@mohamad-desktop:~/rp-pppoe-3.5$ ./go
bash: ./go: /bin/sh^M: bad interpreter: No such file or directory
mohamad@mohamad-desktop:~/rp-pppoe-3.5$ ./go-gui
bash: ./go-gui: /bin/sh^M: bad interpreter: No such file or directory
mohamad@mohamad-desktop:~/rp-pppoe-3.5$ sudo ./go-gui
sudo: unable to execute ./go-gui: No such file or directory
mohamad@mohamad-desktop:~/rp-pppoe-3.5$ cd src
mohamad@mohamad-desktop:~/rp-pppoe-3.5/src$ ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
mohamad@mohamad-desktop:~/rp-pppoe-3.5/src$ sudo ./cofigure
sudo: ./cofigure: command not found
mohamad@mohamad-desktop:~/rp-pppoe-3.5/src$



اینم readme فایل هستش که براتون میذارم
# LIC: GPL

pppoe: a PPP-over-Ethernet redirector for pppd
Copyright (C) 2001 Roaring Penguin Software Inc.

Much inspiration from an earlier client by Luke Stras.

The MSS clamping was inspired by mssclampfw by Marc Boucher <marc@mbsi.ca>
with acknowledgements to Rebel.com (http://www.rebel.com).  However, the
actual MSS clamping code is original and is licensed under the GPL, unlike
the original mssclampfw.

Introduction
============

pppoe is a user-space redirector which permits the use of PPPoE
(Point-to-Point Over Ethernet) with Linux.  PPPoE is used by many
ADSL service providers.

Installation
============

Requirements
------------

1) Linux 2.2.9 or later on Intel, Sparc or PowerPC.  It may work on
   Alpha, too -- anyone care to let me know?

   OR

   Linux 2.0.36 or later.

   OR

   FreeBSD, NetBSD or OpenBSD with BPF support.  I have access only
   to FreeBSD.  In general, I can't answer questions about the *BSD's
   as well as I can about Linux.


2) pppd 2.3.10 or later.  Versions 2.3.7 and later work unless you use
   demand-dialling.  For demand dialling, you *must* use 2.3.10 or later.

QUICKSTART
----------

If you're lucky, the "quickstart" method will work.  After unpacking
the archive, become root and type:

./go

This should configure, compile and install the software and set up your
ADSL connection.  You'll have to answer a few questions along the way.

If you want the GUI wrapper, type:

./go-gui

If ./go and ./go-gui didn't work, read the rest of this README.

Compiling
---------

Compile and install pppd if you don't already have it.  Then:

1) Unpack:

$ tar xzvf rp-pppoe-xxx.tar.gz

2) Change to source directory:

$ cd src

3) Configure:

$ ./configure

4) Compile:

$ make

4) Install (this step must be done as root)

# make install

5) Now read doc/HOW-TO-CONNECT

--
David F. Skoll <dfs@roaringpenguin.com> | Roaring Penguin Software Inc.
http://www.roaringpenguin.com           | Linux and UNIX Specialists
عنوان: پاسخ به: درخواست راهنمایی برای دستور cd
ارسال شده توسط: مهدی پیشگوی در 26 شهریور 1386، 12:30 ق‌ظ
میشه وقتی وارد شاخه میشین لیست فایلها رو بذارید اینجا ؟
در ضمن این رو هم امتحام کنین
sudo chmod +x go.sh
بعد از عبارت go نمی دونم پسوندش چیه بهتره کلید تب رو بزنین خودش بنویسه
عنوان: پاسخ به: درخواست راهنمایی برای دستور cd
ارسال شده توسط: ابراهیم در 26 شهریور 1386، 01:32 ق‌ظ
سلام،
بعد از cd کردن، به جای go/.  و go-gui/. بزنین:
$ sh go
$ sh go-gui
عنوان: پاسخ به: درخواست راهنمایی برای دستور cd
ارسال شده توسط: مهدی پیشگوی در 26 شهریور 1386، 05:42 ق‌ظ
اگر هیچ کودوم اجرا نشد دستورات زیر رو وارد و استفاده کنین
1) Unpack:

$ tar xzvf rp-pppoe-xxx.tar.gz

2) Change to source directory:

$ cd src

3) Configure:

$ ./configure

4) Compile:

$ make

4) Install (this step must be done as root)

# make install