I want to write a bash script that will assign a successive number to a file if a file of the same name is moved into the same directory. So if there is a file called Notes in a directory and another file called Notes is moved into the directory, it will call it Notes.2.
Each line represents a portion of a data matrix. I want to convert the numbers after the "=" to the range of that partition in the matrix such that the output file looks like this:
am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET
I have a list of numbers I want to add a prefix number to the front of all of them,Is this possible with terminal, example "222222" put "1111" in front make the number "111122222" I have the list of 2222etc but not a list of 1111.
What do the numbers in brackets mean? (I tried looking, but I don't know how to start to search for the answer to that without being too vague). I've noticed they're nearly always progressive (increasing). Do they just refer to the event number? And in my log file viewer, why is there a dmesg and a dmesg.0?
I have solved with this forums help most of my problems after upgrade. I have one that seems to remain and I am unable to solve. My function and main qwerty keys work on my wireless usb logitech keyboard. My number pad does not. I have gone thru the keyboard on the system menu. I have chosen my keyboard as it was listed. I have tried most suggestions but nothing will bring it back.
I use numbers as passwords to enter WUBI installed on my notebook.
Recently i read that i have to use sudo etc. to upgrade to latest Thunderbird 6 linux version. When asked to enter password in sudo, nothing appears when i try to type in. I've used all the keys available. What gives?
I want to use the Alt + numbers function in Ubuntu but I don't know how> I researched it first and i read I had to do Shift + Ctrl + numbers but ti doesn't work,
I accidentally toggled my eee pc running ubuntu netbook remix so that the keys under the right hand side of the keyboard are switched into 10-key keyboard mode. Usually you would push fn+p to get 0 for example, but somehow I toggled them on and now I can't figure out the key combination to turn it back off. Anybody know how to turn it back to letters?
In a moment of madness I decided to reorganise my mp3 player. I am putting everything into one folder (called 'all'), but first I am renaming the files to the following format:
artist ## songtitle
where ## is a number like 01, 02. This has been pretty straightforward with the songs that already started with a number, because then I could just
rename 's/(dd)/artist $1/' *.mp3
but I have a problem with those tracks that don't already have the track-numbers at the beginning. I suppose what I am asking is: can I turn
All Along the Watchtower.mp3 Purple Haze.mp3 Hey Joe.mp3
into
01 All Along the Watchtower.mp3 02 Purple Haze.mp3 03 Hey Joe.mp3
At first I apologize if the subject was in the wrong place The reason is that I do not speak English And enlisted Google to translate can I register and add this topic I have a question: Can I change the password to be one of three numbers or three letters only
I use ubuntu 10.04
Note: I know the old password I just want to change
i have recently installed karmic koala.i wanted to upgrade it through terminal,but it is always showing me error as unable to connect to archive.ubuntu.com with some numbers in bracket like (189. etc).synaptic and and my internet connection is working fine.
how to re-set the page numbers of a pdf file within evince (without modifiying the pdf file). The point is that I am reading an article, and I would like the set "page 1" as "page 43". modifying page numbers of a pdf file is a bit tricky. So, I want to avoid that. What I wanna do is to make evince "think" page 1 is page 43.
When setting up Evolution e-mail accounts I cannot find any place to set up smtp or pop server IP port numbers. They must be using some default value, but my university's mail non-stander porn assignments or something.
I am working on a project but it consist of a large amount of numbers. I have tried using OpenOffice to produce this list of numbers but it keeps crashing when I reach a certain point. So I was looking for some help. I need to see if someone could either help me with using a script or program to export these numbers into a .txt file or if someone could just make the list for me.
I am looking for a text file that will have the numbers 1000000000 to 9999999999 in order. I understand this is a large amount of numbers but this something I don't have the time to just do manually and each time I try to do it with OpenOffice it crashes around 1009000001. Oh and I need the text file to look like this:
I have just got a used computer from a friend and i installed Ubuntu because i am a new Linux user and i have heard its the simplest one to use but i installed to my computer as the only operating system and now when i start it up it says this: Error: No such devicea bunch of numbers and letters).
On my board there is no i2c lines out. So I am trying to get i2c over GPIO by GPIO bit-banging. How to use i2c-gpio driver? Where to set the gpio pin numbers for SCL and SDA?
I have some code that opens a directory and reads in the names of files which are e.g. 0001, 0002, 0003 up to 9999I need to get all these numbers and then generate a new number that is not one of these numbers already.here is my code to check the files in the directory
does anyone know of a good site/book/guide to learn about linux web server administration? and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.
I downloaded wubi to install it on my old desktop which runs windows xp pro. The installation went through and it asked for some updates. After the updates, it rebooted but got stuck to the msg in the topic sentence. I don't have no live cd's for ubuntu and tried to read some earlier threads but they don't make any sense to me as I have no previous knowledge of linux. how to deal with this in a simpler language?
While (attempting) to set up ssh on a couple of machines (not this one) I've noticed that I keep getting some strange unknown ports showing as open on my PC when I do a port scan on its address. They are only opened transiently, they are all high numbers eg 33348, 41147, 50370 etc. I have opened no ports on this machine at any time and ufw is set to deny all incoming.
I have thousands files in which there are numbers and a dash followed by file name (which are different from each other), but have the same suffix. I would like to remove all the numbers and dash that precedes the file names.