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"
Related
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've worked all night on this, but haven only solved part of the problem. I am trying to copy all files using the * wildcard that contain the word file in the filename into the work directory.
try doing this :
cp *file* ./work/
cp *file* work/
Is this homework?
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.
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
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
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).