July 25, 2014, 11:22:49 AM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 ... 7 8 [9] 10
81
Miscellaneous / Re: Diffrence between rpm, src.rpm, tar.gz, .Z, tgz, tar.bz2
« Last post by gazalovespells on November 27, 2012, 09:57:23 AM »
thanks a great explanation



www.lovespells.me
82
Os Talk / If linux is free why is Africa not using it
« Last post by gazalovespells on November 27, 2012, 09:54:30 AM »
The constant cry in African countries like mine (South Africa) is that we are constantly crying that we dont have enough resources.

So why dont we just make use of the linux operating system, its free and it offers a better opportunity for discovery, learning and innovation than any other operating system.

Personally i am going to market Linux to all internet cafe's in South Africa as a solution to their perennial problems of viruses.

Just need a way to make some great windows softwares to run in Linux.
83
Os Talk / Why I am moving to linux
« Last post by gazalovespells on November 27, 2012, 09:45:59 AM »
I have finally decided to make the move to Linux,

Although i should confess I am a bit spoilt for choice on deciding which version/type (whatever you guys call it).

I am also trying to grasp the Linux Lingua franca

I am moving from Windows because I am tired of viruses. tired of slow pc's.

and on hearing that the majority of servers are run on linux, i was convinced that linux is the best system for me

84
Linux Servers Support / Re: ftp between computers
« Last post by fullofhope on November 23, 2012, 03:01:10 PM »
Solved it!!!!
I knew it had to be very simple, or other people would have been asking the same.
Here goes.
Configure computer (i.e.Control Center).
Sharing.
Configure ftp.
Go through the several panes and unclick the box that says 'chroot home user'
Then it works. You can ftp into all the other partitions.
Hope this helps someone.
Now my remaining very simple problem - - -
From the left hand computer to the right hand - - it works.
Other way round - - 530 access deny. You have no right to be here!
All the permissions are identical.
Oh well you can't have everything.
85
Linux Servers Support / Re: ftp between computers
« Last post by dalek on November 20, 2012, 07:17:52 PM »
Check the permissions.  That sounds like a permission problem but GUI's are a bit different on those types of errors.  It's been a while since I fired up my 2nd rig so I can't recall the details. I'm also bad to just login as root too.  lol

 :)    :)
86
Linux Servers Support / Re: ftp between computers
« Last post by fullofhope on November 20, 2012, 04:56:56 PM »
Tried the final suggestion:

ftp://myname@192.168.1.xx/media

It just says "could not enter folder /media"
87
Linux Servers Support / Re: ftp between computers
« Last post by dalek on November 20, 2012, 04:42:18 PM »
Hmmm, sort of the same thought here.  Simple but I don't know if this will work or not.  Do you have a file called .bash_login in the home directory?  Something like this:

Code: [Select]
root@fireball / # ls -al /home/dale/.bash_logout
-rw-r--r-- 1 dale users 127 Dec  8  2008 /home/dale/.bash_logout
root@fireball / #

The contents of my file for a user is this:

Code: [Select]
root@fireball / # cat /home/dale/.bash_logout
# /etc/skel/.bash_logout

# This file is sourced when a login shell terminates.

# Clear the screen for security's sake.
clear
root@fireball / #

All it does is clear the screen.  For my root user:

Code: [Select]
root@fireball / # cat /root/.bash_login
setterm -powersave off -blank 0
cd /
clear
root@fireball / #

On this one, it disabled the powersave since I want to see my screen when compiling in a console.  Long story. 

Since you are using a GUI to do this, I'm not sure it will work.  I would put the following in the file for whatever user you are using and see if it works:

Code: [Select]
cd /media/Slideshows

I'm not sure if the GUI browsers read that file tho.  Just add it to it and see if it works.  If not, just remove it again. 

You may also want to try:

Code: [Select]
ftp://myname@192.168.1.xx/media/Slideshows

Since you are typing that into the GUI, it should see that. 

I gave examples to sort of let you see that the file accepts commands just like you type into a console.

Hope that helps. 

 :)    :) 
88
Linux Servers Support / ftp between computers
« Last post by fullofhope on November 20, 2012, 04:19:30 PM »
Hi,
A very elementary problem but I cannot solve it after many days.
Two computers. Both in same room. One on my left, one on my right. Both ethernetted to the box on the wall. Both use PCLinux. Both have firewall turned off. I don't give a toss about 'security' I just want them to talk to each other.
I can just about get an ftp connection (on a good day) on Krusader. I want to use this to be able to synchronise the two computers. Both have multiple HD's and multiple partitions by the way. I can type the following on the left:

ftp://myname@192.168.1.xx

--and that gets me into my home directory on the right OK. But I don't always want my home directory, but a different partition called, lets say, /media/Slideshows. Much too big to have in my home directory, that's why it has its own partition.

Now there is undoubtedly some easy way to type in some different command that will get me straight into where I want it to be. I can't find simple advice about this anywhere, because it is too elementary (except to me of course). Please someone enlighten me!
89
Linux Development & Programming / Re: Shell Scripting Help
« Last post by Chris4610 on November 16, 2012, 03:24:17 PM »
Below is something I needed help with, it is something similar to what I had gotten some help on


case and switch script should:
 -request a user name,
-request 8 numbers and ask the user if they are to be added or sorted (both need to
work!) OR request 8 names (1
st
 and last) and sort them by the second field (check
the hints and tips sheet for multi part user input),
-multiply two numbers from user input,
- give the user the choice of running; ‘who’, ‘w’ or ‘finger’ and echo only the first
and third columns to the screen (save this also for exit echo), 
- have a conditional ‘while’ statement, 
- track the number of choices the users makes (use a counter),
- have at least 2 if statements, 
- include an option that will add from a start number and end at another number
using user input for all numbers including the increment number
90
Linux Development & Programming / Re: Shell Scripting Help
« Last post by Chris4610 on November 13, 2012, 10:31:25 PM »
I made a small error I had included 2 separate script statements thinking they were all one, the 2nd was in C-shell and did not not that. So I will post the one only for help and what i've done so far. I am getting an undefined variable, it brings up he date I want but the variable error shows and it is because of line 5. Also below what I have done so far is the script I am trying to alter into a working script, let me stress this is not a test or anything just I have been having to deal with a future mother in law and father in law that were hospitalized a week apart so I fell behind on a little of my work so I am desperate for help.

Ty,

Chris :'(

#!/bin/csh
echo "Enter the month date"
set a = ($<)
date | cut -f3 -d' '    #date command cut to the date
if ( $a == $date ) then       #if correct date entered
echo "What is my name ?" #ask for name
set b = $< #setting variable
echo "Hello $b"
else
echo "Please try again"
exit 0
endif
@ h = 0
@ i = 0
@ j = 0
@ k = 0
@ l = 0
@ z = 0
set e = /home/students/fall2012/crn12143/frugard

#! /bin/csh
echo "Enter the month date"
set a = ($<)
set date = `date | cut -f 3 -d ' '`     #date command cut to the date
        if ( $a == $date ) then         #if correct date entered
        echo "What's your first name ?" #ask for name
        set b = $<                      #setting variable
        echo "Hello $b "
        else
        echo "I'm sorry that is not correct."
        exit 0
        endif
        @ h = 0                         # declaring the variables
        @ i = 0
        @ j = 0
        @ k = 0
        @ l = 0
        @ z = 0
set e = /home/fall_05/user-name/HW/11-22  #path
set f = $e/menu                         #set variable for menu
while (1)
        top:
        clear
        cat $f                          #cat menu
        echo -n "Enter your choice  "
        set a = $<                      #set variable for choice
        #set z = 1                      # the counter wouldn't work until I defined the
variable
        switch ( $a )
                case [aA]:              #case a
                        @ h = 1         # h is equal to 1 this sets the variable
 for listing inputs
                        ls              #command
                        @ z = $z + 1    #The counter
                        sleep 2
          goto top
                case [bB]:
          @ i = 1
                        who
                        @ z = $z + 1
                        sleep 2
          goto top
  case [cC]:
          @ j = 1
Pages: 1 ... 7 8 [9] 10