I am setting up a file server using Ubuntu and want to make sure I set up a folder structure that will last. Where should I be placing everything that I am sharing (Music, Pictures, Videos, etc)? In theory, if I was setting this up on Windows, I would create a folder directly under C: and set up the different areas of sharing under that (not that that approach would be best either).
Based on constructive criticism, the question is rather ambiguous. My question could be restated to ask "Where shouldn't I set this up? Would /usr be an appropriate place to start? Or would /opt be better?
I have bought a pdf dictionary, but I would like to convert it to stardict for my ereader.
I have converted the pdf into txt but is quite a bad result. So I need to reorganize a bit the txt.
I'm not a programmer, so I should need you write me a small script (python, sed, bash...) that if at the end of the line there is not a point then the line have to be joined with the following line. Sometimes happens that there is a point even in the middle of the line: in this case the line have to be splitted.
Once last thing: after the first word it's needed a TAB. I have appended a preview of the txt file.
Relatively new to Linux, but I'm trying to grasp the proper way to modify the sudoers file. As an example, what would I have to modify in /etc/sudoers to allow a user (say 'user1' for the example) to be able to add/remove software through yum? I'm aware of the fact that I need to use visudo and how to use the vi editor. I've Googled this topic and while I've found a number of pages on the topic, I never see many examples.
Code:RW-00022: Error: - Unable to create file with proper privileges: JAVA_TOP Mount Point = /media/SAMSUNG/d01/oracle/vis/apps/apps_st/comn/java/classes test using command: su applmgr -c "touch /media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst" touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied
I am trying to install Oracle ebs on my machine and I keep getting the above error.
it compares two files using md5... if they are same , a corresponding character is output to a text file .. but the problem is it gets appended by default.. is there any way to output in a normal way because the text is a message and it should be of proper format here is my script
Code:
#!/bin/bash g=`tail -1 new.txt|head -n 1` array=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) for((i=1 ; i <$g+1 ; i++))
[code]....
the message is supposed to be hello , i need to get rid of the endlines somehow..
Over the years of working with both images (many) and other files (many more) it seems that it is easier to organize images. There are a variety of image software (digikam, gthumb, the new "shotwell") etc. Its easy to organize them with multiple references - date, multiple categories etc. This in fact makes it easy & efficient in our multi disciplinary world to access the same image for multiple needs.
However the same is not true for other files (od formats, pdfs etc etc) the only way we seem to be able to sort them is by what folders we make. Of course we can use meta search engines to find it by other keyword / dates etc. But it is not the same as being able to give multiple tags to a file and later being able to retrieve by that particular tag.So am wondering if such a file tagging / sorting and accessing "thingy" already exists and if so what is it. Or it is available and i don't know where to look.
Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.
Code: #!/bin/bash echo "Enter file to delete from tmp"
that guide me about how (what steps should we do) to organize open source projects in the Linux community.Our idea is to organize an open source project of OPENCVOpenCV is a computer vision library originally developed by Intel. It is free for use under the open source BSD license. The library is cross-platform. It focuses mainly on real-time image processing.Our idea is to organize an open source project in the Linux community, that be a point in which programmers using OpenCV can meet, to develop programs to recognize the road lanes.OpenCV can be used to recognize the road lanes, and allow a car drive alone (if you have a camera inside the car and a laptop mother board running Linux and controlling the car's steering wheel).
Here you have some example of what we want to do[URL]Unfortunately, even being free OpenCV many companies as SIEMENS are working in this, trying to develop an autopilot for cars that would cost a fortune and wouldn't be available for everyone (it will be closed and not free - as Linux).We believe in the free software and Linux.Our idea is to organize a community of programmers interested in computer vision and opencv to create computer programs, and to make the first platform in Linux able to recognize the road lanes and allow the cars to drive alone.
Our problem is we don't know how to do that.How do you organize an open source project in the Linux community?How do you get people involved in the project?How do you start from cero?Please, help us to organize a project of this type, to make the first autopilot of the automotive industry, based in Linux
I'm wondering if there is a proper way (or just best practice) to using temp files and the /tmp directory. Background story: In a script I had been using mktemp to create temp files in /tmp. Needless to say that after running this script for a while, it filled /tmp and my HDD with these files. I didn't realize that i needed to do house cleaning of /tmp.
So now I'm curious as to how to properly use temp files and how to not abuse /tmp. I suppose some of my shortcomings arise from the fact that I somehow had the crazy idea that /tmp was policed by the system and cleaned out when necessary. I assume that I'll just need to self police and use my temp files more intelligently and get rid of them when I'm done with them instead of letting them clutter up /tmp.
how to properly start a new x-server(duh!), but i have few a couple questions to be more direct. The main purpose is to play games and such, also other utilities such as connect through ssh to another pc.
Now to the questions: -Does the use of a new x-server really improves game perfomance? In my tries i couldn't notice, but the obvious advantage of return to regular desktop without quiting the game seems not that great when switching between servers lagged a lot( in the tries).
I'm unable to install this package, tuxpaint.I get errors in that it cannot reach the proper url or connection to the server?Not sure what I'm doing wrong.I figure the repo is correct and I thought I had the proper source since I've installed other packages.What could be wrong?
I have a gaming server set up and running client software 24/7. This prevents me from editing the configuration files while the client is running. The server is connected to a switch which also connects another computer to the internet.What would be the proper software to use if I want to edit files on the server without interrupting the client?I have looked at Samba, SSH, and Screen, but I'm not entirely sure which one would be the best tool for the job.
I have been tooling around with different way of getting our local Debian network mirror back up and running with different various scripts. I have tried apt-mirror which was a breeze to setup and run, anonftpsync again super easy to get rolling.
My question is there a way to make sure our Sarge distro doesn't get deleted from the mirror? A filtering command for rsync possibly?
I started to go over the script for the ftpsync (debian recommended!) and to be honest it seems way over my head due to lack of documentation that I have been able to find.
Decided to try to use my console but it didn't work the way I thought it would. What is the proper procedure to log into my console? I've tried to enter data given to me at http://www.zaphu.com/2008/05/30/ubun...-m4a-playback/ It entered the first line of text but not the unwrapped second line. Another line appeared asking my 'neil' login. Tried to enter my password but typed letters wouldn't enter. What do I do?
I have a folder in my /home/user/documents/ directory, which I use to organize all of the files for class (teaching), early this week I moved all the contents of that directory to a subdirectory, and began writing lectures for the new semester. I just sat down at my computer and all of the changes I made to the directory have reverted to the way they were a week ago. Files are gone, the lectures I had written so far are gone, my syllabus is gone... I had a symlink to the directory on the desktop, its still there, but it's broken. The directory is a symlink to an NTFS partition, the /Documents directory is shared between the two OS's. Did this cause the problem?
Luckily I had today's lecture backed up on my website... so, i'm not sunk for today.. but.. this really scared me.
I am looking for a program that can organize music and movies BUT, heres the deal. What I need to do for my collection is be able just to go through the 1000s of cd's and dvd's and be able to type them in AND then once I'm finished I need it to be able to put all of them in Alphabetical order. You should know that a couple hundred are burned so they will not register inn an online database to be able to find album or actor info.
I was under the impression that if I have any programs not installed by the package manager, they belong in /usr/local rather than /usr. But if I put the executable in /usr/local/bin, and the jar files into /usr/ local /lib, I get runtime errors about being unable to load the Java classes. So I resorted to putting things in /usr/bin and /usr/lib and it worked fine.Is this something that can only be corrected by compiling differently, or am I missing an installation step?
So I created a new branch from master and eventually merge the changes back, only some changes seemed to merge and it would seem I merged in one direction. Eventually I just decided to be sure master received all the 'experimental' changes then I deleted the experimental branch and made a new one. So this question is turning into a few questions suddenly:
1) How do I match up branches but keep them separate?
1a) Is that bad practice to not just make a new branch?
2) Why were the branches not the same after after one merge?
2a) Am I only supposed to call a merge on the one that I want to have all of the changes?
I am a newbie trying to get my wusb54g adapter that that i took off my old computer and put it on an old sony laptop. The wireless network connections are not the same as I have on my other computer. Have tried refresh but still the same names come up. have can i get the proper names that are on my other computers.
We are having zebra card printing software, which we have drivers. Recently we encounter the printer solution software company is closed. Their registered keys are not working. Now we download new driver which are working fine. But no proper software to print the cards. Some paid or open source windows or linux base card printing software. The card is regular card like atm, credit card, medical insurance card etc. They are actually plastic card, but no magnetic strip just printing information to be appear.
i am using fedora 12(32 bit),when i tryed to uninstall program pidgin from system->administration->add/remove programs i got an error message saying tat YOU FAILED TO PROVID PROPER AUTHENTICATION,so i was jst wondering if we can sign in as root through gui.the problem with my pidgin app was that whenever i tryed to start that application, it appears for like 4-5 sec and then disappears! so i thought of reinstalling the pidgin.
i wanted to sort and organize my pictures by resolution ( like 1024*768 ) but i failed. is there any program or search plugin for nautilus to sort or list my photos by resulotion?