LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   file permisions (https://www.linuxquestions.org/questions/linux-newbie-8/file-permisions-344444/)

speedemonV12 07-18-2005 07:19 PM

file permisions
 
Hi i am new to linux, but i catch on real fast, and i was working things around, and i came along some stuff that i was trying to move, but i can't, it wont let me move the files, like i want to move a style to /opt/kde3/share/apps/kstyle/pixmaps....and i cant move it. is this something that has to do with permisions, and if it is can you give me exact steps kuz i am new at this...


and also one more thing. how do i run a script. i have a theme and it says this

- Installation instructions -
Run the script ./install.sh for installation.
Run Control Center and select Look'n'Feel.
Select Style and then acqua in the style list. Click on Apply.
Select Window Decoration and then IceWM in the list. Select the Configure tab and then Acqua in the window decorations list. Click on Apply.
Select Wallpaper and then Acqua.jpg in the wallpaper list. Click on Apply.

but how do i run the script??? i dont know how...someone please help me

you can contact me on aim if you want -- speedemonF1

thanks
speedy

jrdioko 07-18-2005 07:50 PM

The file is probably in a directory owned by root. Use the "su" command to switch to root and "exit" to return to being a normal user when you're done (but be careful with what you type while you're root, it's easy to mess up your system if you type the wrong thing). To run a script/program, you just type the name of it on the command line. For something like an install script, change to the directory where the script is, and type "./install.sh" (the ./ is an abbreviation for the current directory).

IamDaniel 07-18-2005 08:08 PM

Quote:

Originally posted by jrdioko
The file is probably in a directory owned by root. Use the "su" command to switch to root and "exit" to return to being a normal user when you're done (but be careful with what you type while you're root, it's easy to mess up your system if you type the wrong thing). To run a script/program, you just type the name of it on the command line. For something like an install script, change to the directory where the script is, and type "./install.sh" (the ./ is an abbreviation for the current directory).
And if the `install.sh' executable bit isn't set,

Code:

~# chmod 0700 install.sh
just a note...

speedemonV12 07-19-2005 07:03 AM

helpp
 
okay thanks for that bit, but how do i change the directory while in konsole...i am a newb with this part. if you give me the exact code to complete the command...

this is the directory of the install.sh

root folder/home/eric/153-acqua-3.2.tar.bz2/acqua-3.2

that is where the rest of the files are also.

please give exact code kuz i am a newb lol

thanks
speedy

Robattack 07-19-2005 09:26 AM

hi speedemonV12

moving trough the directory-tree works with the "cd" command (change directory).
so in your case, if you open up your terminal, you will be in your home-directory
/home/<username>

now type "cd 153-acqua-3.2.tar.bz2/acqua-3.2" and you are in this folder

now you can run "./install.sh" .

in general, cd .. --> one (relative) folder down

Robattack 07-19-2005 09:38 AM

grrr, wrong key ;-)

ok

cd .. --> one directory down
cd directory-name --> change in this directory, its relative, which means this directory has to be in the directory you are in at the moment
cd /path/to/any/directory --> its an absolute "path-way", which means its independent from where you are, and its starts with the "/" directory,

eg. for changing from /home/eric/ to /opt/kde3/ you can do

cd..
cd..
cd opt
cd kde3
or just cd /opt/kde3

to see the files, that are in this directory, use the ls command. ls -l, gives you a list and you'll see the permissions of each file and folder too. ls -al is nearly the same, but you will also the all hidden files (begins with an ".") to

sorry for my poor english, i hope you get the meaning ;-)

titanium_geek 07-19-2005 10:10 AM

you might find this link helpful:
http://www.ss64.com/bash/

titanium_geek

Robattack 07-19-2005 10:44 AM

and this one: ;-)

http://www.linuxcommand.org/learning_the_shell.php

speedemonV12 07-19-2005 11:03 AM

cool
 
alright thanks a lot guys i appreciate the help

speedy


All times are GMT -5. The time now is 06:45 AM.