Confused about httpd [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've lammp (xampp for linux) installed on my machine.
I used "ps aux | grep httpd" to get what my apache act as...?
And I get "nobody" on there...
What actually nobody means?
And, how can I change the owner of folder and it's all subs...?
Thank's before... :)

nobody is just as it sounds; a user with minimal permissions.
chown can be used to change ownership of a filesystem object. Passing -R will make it recursive (use with caution).

Related

Linux directory with space? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am attempting to run something for a class.
-bash-4.1$ w330=/network_shares/w_drive/c\ s/CJohnson/cs330
-bash-4.1$ cd .. && $w330/freql/test_freql
-bash: /network_shares/w_drive/c: No such file or directory
From the looks of it, it doesn't seem to be recognizing any of the directory name after the c even though i did a \ for the space? What's going on here? Why is it just stopping after the c?
Use this instead: w330="/network_shares/w_drive/c s/CJohnson/cs330"
and this: "$w330/freql/test_freql"

Deleting Non-empty Directory with smbclient [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I remove a non-empty directory with smbclient?
You probably cannot do this with smbclient. If you have superuser (a.k.a. root) access right on the local computer, you can mount remote directory using smbmount and then delete files from it using rm -Rf.

Dots in Linux output [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am receiving an error from an application I am running
The error looks like this:
I am curious what the dots mean in /usr/local/bin/../../etc/
Is this a shortcut I can use for something when writing a bash script?
I know this is probably a Linux noob question...
cd /usr/local/bin/../../etc/yarbu/conf/default
Is simply
cd /usr/etc/yarbu/conf/default
And that directory doesn't exist. It's likely located in /etc/yarbu/conf/default which is why it doesn't find it in /usr/etc...
.. is the shortcut for parent directory and . is the shortcut for current directory.
Well...
. means same directory
.. means parent directory
~ means home
/ means root
So,
/usr/local/bin/../../etc/yarbu/conf/default
is the same as,
/usr/etc/yarbu/conf/default

Linux command line....How do I change from $ to #? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm working with the sed editor and I realize that my command prompt is:
[darkchild#localhost ~]$
How can I change this so that it ends in #....and what does this mean?
for example:
[darkchild#localhost ~]#
A friend told me to write this command #!/bin/bash but it does not change the prompt to #.
Can someone educate me?
Canonically # means root shell. You probably do not actually want to do this, because it would confuse other users of your system. If you do actually want to do this, you can edit the PROMPT variable.
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/
You can run the following command:
set prompt=\[`id -nu`#`hostname -s`\]\#\
This is the root user. You can go to this user using the su command.
More info: http://en.wikipedia.org/wiki/Su_(Unix)

How to make Linux shell command stack store only unique commands [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I just reformated my HD and had to overwrite my /home partition. Everything is fine in Linux Mint 11.
Except that the command stack recall with cursor up/down displays repeats of the same command.
Like:
ls
ls
ls
cd ~
should be:
ls
cd ~
Any ideas how to fix this?
Assuming you're using bash:
export HISTIGNORE="&"
I assume you're using bash.
Add this to to your ~/.bashrc
HISTCONTROL=ignoreboth

Resources