I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can I do this besides manually openiing + saving each in gedit.I'm on Ubuntu Linux.I've already done all the sorting I can based on ize,wordcount,greps,date,etc. This is what's left over. I'm trying to find an easy way to view +save/ignore the rest.
I made some hardware upgrades today: installed a new video card, a new CPU cooler, and a DVD burner. Everything seemed fine, but every 10-15 minutes the computer just freezes. Freeze is actually the wrong word since I can still move the mouse's cursor, but it has no effect. Keyboard input is useless and I just have to reboot. On the 3rd reboot fsck checked the root partition and made some changes.
I have checked system/CPU temperature to see if maybe the cooler wasn't working right and checked it's mounts. Everything there is great.
The system hangs whether I'm using the burner or not. (It's an ASUS)
The hangs seem to happen when scrolling a window or changing desktops, but I'm constantly doing something to that effect so it's hard to say if that's the cause.
The card is GALAXY Geforce 240GT. I've never used a Galaxy card so I'm leaning towards that, and have gone back to the old Geforce 9400 in the meantime, but while I'm waiting to see what happens, I was wondering if maybe the filesystem getting modded in the fsck check might point to a filesystem error causing the hangs, or if it seemed more likely that the filesystem was corrupted by the hangs.
Is there any way to manually sort the order of Places (KDE's "bookmarks") that show up in the side panel of Dolphin, or to have it automatically sorted e.g. alphabetically?One might think such a feature, if it existed, to be well-documented and easily-accessible.
Everytime I use keyboard shortcut such as Alt-Tab to switch windows, my whole ubuntu freezes. I can still move mouse pointer but I cannot click anything. Anyone has an idea?
may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.
I use Banshee 1.5.4 on Ubuntu 9.10 with a 2nd gen iPod Shuffle. I was thrilled when I plugged it in to see that everything worked right out-of-the-box but then I found that there's no way to manually order songs, Banshee always put an arrow in a column for you.
If you don't know much about the Shuffle, it lets you flick between 'sorted' and 'shuffled' mode. In sorted mode it plays songs in the order they are arranged in the music playlist. I like to keep classical and relaxing songs at the top of my playlist for when I can't sleep but Banshee won't let me manually organise my songs so I can't do this.
Peculiarly, when you drag songs to the Shuffle individually, though they will show up as being sorted, when you go to play them on the Shuffle they play in the order in which you dragged them. I was planning to just drag and drop over each song individually but I think there must be an easier way... I'm probably just missing something. P.S. Here's a screenshot to clarify. I synched the songs over in the order of Blur, Gorillaz, Air and Muse but they don't show as such
15 this is a sentence containing various words and spaces 34 this is a another sentence containing various words and spaces
cat file2.txt
2 this is sentence1file2 6 this is sentence2file2 54 this is sentence3file2
I would like to join these 2 files. The result should look as follows :
cat joinedfile.txt
2 this is sentence1file2 6 this is sentence2file2 15 this is a sentence containing various words and spaces 34 this is a another sentence containing various words and spaces 54 this is sentence3file2
==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?
im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.
echo $(ps aux) >>out
The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.
how I can randomly write / create a 1 GB file in bash to test disk / network i/o? I was told I could use the 'dd' command but I don't know if there are some better ways and or what the 'dd' command looks like.
I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
I installed slackware recently and noticed that when ever i open up a konsole i get some random messages ,i wont get these in other terminals like rxvt or xterm Where are these texts fetched from and can i modify those text messages to put something of my own ?
I have a question, that may sound silly. I have removed VirtualBox from my Ubuntu install. But the .VirtualBox folder is still existing with a virtual drive of nearly 10 GB. Can I manually remove the folder .VirtualBox with rm -rf without any unwanted side effects?
I want to generate a temporary random list from a directory of files and then determine the size of an arbitrary block of files from this list (say 1-25 or 26-50) and add their names to a file along with some other info for each name. I can generate a random list with file sizes like this: ls -l | sort -R | cut -d " " -f 6 but i'm not sure how to add up the sizes of just a certain block of these files and at the same time save the file names.
How do you convert Open Office (ODT) documents to Text files? I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.
I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?
I have a china phone which has mp3 player and unfortunately it reads the file names in its memory card in sequential order according where the file is saved. The file system is NTFS. cod
**Note: DDD song was last because I saved AAA to EEE songs then later added DDD song
Then suddenly i deleted BBB song and replaced it with FFF song code...
This is kinda lame. but the OS of the phone has no capability sorting the file according to filename in its built in mp3 player.
my question is how can I sort the files sector by sector(is my term right?) so the lame mp3 player would read the files finally in alphabetically sorted order. I Will plug my phone on my PC
I would like to write a text user interface (TUI) to adjust some text config files etc. Is there a tool or application for creating TUIs like this. I�m talking about those types of config tools which you see executed at first boot.
I need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'
Some pdf readers for windows allow you to highlight and type notes into PDF files. The pdf readers that I've seen for Linux only allow you to read pdfs. Are there any that allow you to highlight text and add notes?
I'm needing to read the Adam's Assembly Tutorials, that are old EDIT *.txt files, I'm on Linux and I need to read this files.What can I do?Is there any GUI editor that can read the files?There is any way to convert them into another file that is more modern1?
Is there a way, besides writing a PERL program, to read each line one by one in file A and tell if this line also exists in file B? Can this be done via a shell script?
i am working in gcc compiler i am opening a file using file pointer writing in the file ,entering the text from keyboard tell me the end of file indicator after entering the text