Results 1 to 2 of 2

Thread: command line WOES

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    command line WOES

    I am having difficulty with something that should be so easy! 'Bash' does not recognize the 'install' command! I downloaded a "tar.bz2" file...it is a theme for KDE.....It is pretty much impossible to install this theme. The directions say to copy it to a location, so I have a folder named "Temp" in root. So I put file there....instructions say to do this:


    ./install .sh

    Here is the copied text from the console:



    :root@Home:~# cd ..
    root@Home:/# cd Temp
    root@Home:/Temp# dir
    bk_berlin_subway-3.2.1.tar.bz2
    root@Home:/Temp# ./install .sh
    bash: ./install: No such file or directory
    root@Home:/Temp#

    how come i cant install with the install command???? I tried it with a capital "I" too but no difference. Is there a way to do this in GUI????
    I really would rather us command line. thanks....bob

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: command line WOES

    Quote Originally Posted by bob58
    ./install .sh
    That would be ./install.sh note the no space.
    Here is the copied text from the console:



    :root@Home:~# cd ..
    root@Home:/# cd Temp
    root@Home:/Temp# dir
    bk_berlin_subway-3.2.1.tar.bz2
    root@Home:/Temp# ./install .sh
    bash: ./install: No such file or directory
    root@Home:/Temp#

    how come i cant install with the install command???? I tried it with a capital "I" too but no difference. Is there a way to do this in GUI????
    I really would rather us command line. thanks....bob
    Here you should be in the Temp directory tar -xjvf bk_berlin_subway-3.2.1.tar.bz2 to extract the compressed tarball then you would most likely cd bk_berlin_subway (you will see the directory name in the output) then ./install.sh to run the install. If you have not heard of TAB completion this is a good time too, when you want to run a command just start typing in the first few letters then hit the TAB key to complete eg. ./in then hit TAB key results in ./install.sh if it is in the directory or your path. If there is more than one item with the starting letters then hitting TAB twice will give you a list to help you with the auto completion eg.

    Typing in /usr/src/k and hitting TAB twice results in this list on my machine.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-
    kernel-headers-2.4.24.040105
    kernel-headers-2.4.24.040105_10.00.Custom_i386.deb
    kernel-headers-2.4.25_10.00.Custom_i386.deb
    kernel-headers-2.6.3_10.00.Custom_i386.deb.org
    kernel-headers-2.6.3-dt_10.00.Custom_i386.deb
    kernel-headers-2.6.4
    kernel-headers-2.6.4_10.00.Custom_i386.deb
    kernel-headers-2.6.4-rc3
    kernel-headers-2.6.4-rc3_10.00.Custom_i386.deb
    kernel-image-2.4.24.040105_10.00.Custom_i386.deb
    kernel-image-2.4.25_10.00.Custom_i386.deb
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    kernel-source-2.6.3
    kernel-source-2.6.3.tar.bz2
    Type in i and twice again results in this list of the images

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.
    kernel-image-2.4.24.040105_10.00.Custom_i386.deb
    kernel-image-2.4.25_10.00.Custom_i386.deb
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    Type in 6 and twice gives me the list of 2.6 images.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.
    kernel-image-2.6.3_10.00.Custom_i386.deb.org
    kernel-image-2.6.3-dt_10.00.Custom_i386.deb
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    4 and twice gives me the list of 2.6.4 images.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.4
    kernel-image-2.6.4_10.00.Custom_i386.deb
    kernel-image-2.6.4-rc3_10.00.Custom_i386.deb
    _ and TAB now gives me the file I want to see so hit enter and get the listing.

    Code:
    HappyTux:/home/stephen# ll /usr/src/kernel-image-2.6.4_10.00.Custom_i386.deb
    -rw-r--r--    1 stephen  src          2.4M 2004-03-13 05:49 /usr/src/kernel-image-2.6.4_10.00.Custom_i386.deb
    Aside from making life easier with less typing it eliminates the typos as well.

Similar Threads

  1. boot only in command line - help
    By teccim in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 06-14-2005, 04:09 PM
  2. booting into the command line
    By greygooseplz in forum General Support
    Replies: 1
    Last Post: 11-25-2004, 05:58 AM
  3. Bring up KDE from command line
    By Jesse in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 04-30-2004, 05:57 PM
  4. login with GUI/Command Line
    By wilsondk in forum General Support
    Replies: 2
    Last Post: 02-18-2004, 10:04 PM
  5. Hostname on command line
    By Ambrose in forum General Support
    Replies: 1
    Last Post: 08-08-2003, 02:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU picture

Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU

$209.99



Dell Poweredge T430 8 Bay Server Dual Xeon E5-2683 V4 32 Cores  64GB DDR4 2X SSD picture

Dell Poweredge T430 8 Bay Server Dual Xeon E5-2683 V4 32 Cores 64GB DDR4 2X SSD

$799.00



Dell PowerEdge R620 4-Bay Server 2x Xeon E5-2690 8 Core 2.9GHz 32GB No HDD H710P picture

Dell PowerEdge R620 4-Bay Server 2x Xeon E5-2690 8 Core 2.9GHz 32GB No HDD H710P

$95.63



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00