General :: How To Get Acess To A Directory
Jun 14, 2011i did the next error
# mv CZWM7EN.tar ./osagent
and i can not get inside the directory
# cd osagent
ksh: osagent: not found.
how can i get inside the directory or remove it ?
i did the next error
# mv CZWM7EN.tar ./osagent
and i can not get inside the directory
# cd osagent
ksh: osagent: not found.
how can i get inside the directory or remove it ?
Im new to linux and would like help or to be taught. My question is how do i limit users to their own directory for an example User andrew /home/andrew cant acess root or usr
View 10 Replies View RelatedI have a fresh Arch Linux install and one of the first things i did was inastall X.Org and Pekwm. I boot into runlevel 5 with Xdm. The problem is once X is running I can no longer acess terminals via CTL-MOD-FN(1-7). I am not using a graphics card so I doubt that its a driver issue and have the same result after I boot into runlevel 3 and use Startx. The only thing on the screen if I try to change tty's is a mesage from my monitor saying "Frequency Out of Range"
View 3 Replies View Relatedi have been asked to write a c program to access 8139 network card.i dnt know how to do it.i have dwnloaded 8139too.c but m finding trouble understanding it.
View 2 Replies View RelatedRight now by default iam logged in with my account and i want to access some files/folders in my machine, but iam unable to access(also no copy/paste) those because iam not logged in as root user. So is there a way to gain root access over those files/folders in Ubuntu. I know i can do su in command prompt and change the permissions but what is the other way to gain root access.
View 3 Replies View RelatedI have my hard drive partitioned 40GB for boot and 540 for media. When installing fedora I chose the option to replace the existing linux installation. By not clicking the option "use whole drive" I thought I would easily still be able to acess my media drive (which has a LOT of media on it) I dont know if I chose the right options. Anyways, the partion table has been changed. I know the data is still their, the media partition was at the end of drive, and im guessing fedora installs on the beginning of the drive, so I am hoping none of my data was written over, but I have no idea. Every othe linux Install I have done, I have still been able to acess my media partition, but on those installatons I was sure I was doing it right, but on the fdora installation
View 4 Replies View Relatedi have setup a dhcp server using opensuse11 where i have a static internet connection for eth1 with ip is 172.x.x.x & getway 172.x.x.1 dns1 & dns2. now i have configure my eth0 as dhcp server with ip 192.168.10.1. & range 200-220. now server is working when i am connecting from host, it is reachable to both the ethernet on server but not able to access the getway of eth1 i.e. 172.x.x.1 nor able to acess internet.
View 2 Replies View RelatedI have installed apache on slackware (I was isntalled slackware without apache) and "It Works" but when I try to access it remotely it returns "404 error". Apache server work pretty well localy either for localhost or IP adress.
View 14 Replies View RelatedI managed to install the Cisco AnyConnect VPN Client provided by my university (Ohio State) and successfully connect to the school's server ( vpn.service.ohio-state.edu). However, after I have connected, I cannot figure out how to get into this directory: \fc1student.mecheng.ohio-state.edustudentusername
The website (search "ohio state mechanical engineering vpn" in google = top non sponsored link result) says that this address must be entered in Windows Explorer; however, I am using Ubuntu 9.04, so I cannot use Windows Explorer (with the exception of WINE). I tried using the "connect to server" program listed under "Places", but have not had any luck. I also think the computers in the lab I'm trying to connect to are not using Samba. Any ideas on how I might connect to this location?
In my compaq pressario lap, i am using fedora7, but i am not able to acess wifi.
View 1 Replies View RelatedI don't think it has anything to do with the config file.More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinuxis on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.Here is the output when I ran [root@fileserver /]# getsebool -a | grep smballow_smbd_anon_write --> onsmbd_disable_trans --> onThese two options were off I tried turning them on.This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.
[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
[code]....
Which configuration files should i have to configure?
View 1 Replies View RelatedI am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?
View 1 Replies View RelatedIs there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?
View 2 Replies View RelatedI want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively
View 4 Replies View RelatedI've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.
View 1 Replies View RelatedI'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?
View 2 Replies View RelatedI need to create a directory named just like his parent.
Example:
I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.
I am in my current directory. I want to copy a directory somewhere else into this current directory. Lets say I want to take it from direc1/direc2 and the directory I want to take is called demo.
Code:
That is what it shows in the man pages, but when I do that, it says cp: no match
If I have a directory /foo with a few files in it, how do I symlink each entry in /foo into /bar/? For instance, if /foo has the files a, b and c, I want to create three symlinks:
/bar/a -> /foo/a
/bar/b -> /foo/b
/bar/c -> /foo/c
How can i auto mount more than directory in the same directory ? i want to automount 2 home directories in the /home and still be able to enter the other home directories !
The problem that i've another account on the system with home directory joe when the user1 home directory auto mounted i become unable to enter joe home directory !
Just a simple question
Code:
$ cat -
do in the Bash? I know 'cd -' changes directory to the previous working directory, but 'cat - ' does not seem to do the same thing.
I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?
View 7 Replies View RelatedI have a directory /sanvol/ifr/ which contains 90,000 files and 2 subdirectories containing 60,000 files. I need to copy the contents of /sanvol/ifr to /sanvol/edm/. The cp command will not work because there are too many files.
I tried the following: find /sanvol/ifr/ type f -name '*' -exec cp -p {} /sanvol/edm/. ;
but this copies all files including whats in the subdirectories to /sanvol/edm/
I need to replicate exactly the contents of /sanvol/ifr/ to /sanvol/edm/ and preserve file attributes and dates.
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
I am using my media server as my podcast collector. I am in the process of learning the ins and outs of NFS so i can mount a NFS directory and transfer my podcasts from server to player. For now i am using scp to transfer podcasts from server to desktop then to player. The problem is the path to the directory of one of the podcasts is /home/user/gpodder-downloads/The BILL&TIMMY Show Podcast.
whenever i try and run my scp command it fails because it thinks that TIMMY is a script i want to run in the background. I have tried to back-slash escape the character, i've tried single quoting and double quoting the character and i still get the same problem. as it sits now i have to move all podcasts to another directory and then transfer them to my desktop...but i would like to transfer the podcasts without un-necessary steps.
Is it possible to copy files from directory of one user to directory of another user in linux?
View 7 Replies View RelatedIm working on a java application where my prof is going to use this exact line to run the application
Code:
java applications.TestMyDataReader < MyDataReader1.txt
My problem is MyDataReader1.txt has to be in a directory named data. Is their a way you
[code]....