General :: Bash - Shell Utils: Convert A List Of Hex To List Of Decimals?
Dec 27, 2010
How can I convert a file with a lot hex numbers into the decimal?
Example: file1
0x59999
0x5acdc
0xffeff
I want to start $ cat file1 | util | cat >file2 and get file2 with smth like
[Code]...
View 3 Replies
ADVERTISEMENT
Oct 13, 2010
what is this, and more importantly, how do I fix it?
Quote:
Package Arch Version Repository Size
[Code].....
View 2 Replies
View Related
May 5, 2010
I want to get list of all words from aspell dictionary.
I downloaded aspell and aspell polish dictionary, then unziped it using code...
It is connected to the declination and conjugation. How can I add to the first list all forms (with all corresponding suffixes as defined in .dat file ) ?
BTW: I need this list to spell-checker jazzy.
View 1 Replies
View Related
Mar 19, 2010
Here is a LIST:
List = "abcd 1234 jvm something"
How to get the second element "1234" without looping all the list?
View 2 Replies
View Related
Aug 2, 2011
how to list existing users using bash
View 8 Replies
View Related
Jan 7, 2010
list the 'chkconfig --list' in alphabetical order
View 3 Replies
View Related
Jan 28, 2010
one command to list the list of folders/ within the folder.
View 4 Replies
View Related
Sep 14, 2011
Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
View 3 Replies
View Related
Feb 5, 2011
how to list the currently running processes via code a shell script. FYI i now about the top method in the terminal but i need a way to have it via a shell script.
View 4 Replies
View Related
May 4, 2011
I have a file with joker character patterns:
./include/*
./src/*
etc.
From the current directory I would like to recursively get the list of files that do not match these patterns.
View 2 Replies
View Related
Jun 7, 2010
I need to figure out a bash command to list all users logged in at or after 5pm - 5pm being the specifier in the command.
Code:
Command seems to be the easiest way to display users but it specifies all users log times.
I've also fiddled with the lastlog command to no avail.
View 2 Replies
View Related
Sep 2, 2010
I have been using comm to compare two simple column lists, and suppress items that were contained in the second list (suppression list). This was extremely simple and basic, however now list1 has two columns, and I must compare the second column in list1 with my suppression list.
Basically I need to compare my user list and suppression list to suppress any users that exist in the suppression list, then remove the second column (md5).I wasn't sure the fastest way to make comparisons if there was a similar command like comm, or if I needed to create an array of users and see if any of them matched the suppression list one by one. This seemed like it would be pretty process intensive. Anyone have any less cumbersome ideas?
View 6 Replies
View Related
Apr 5, 2010
I'm trying to write a bash script that gets the list of files in a directory and puts them into a variable, then checks each entry and outputs them as follows:
item1 is a FILE
item2 is a DIR
item3 is a DIR
etc etc.
I am able to get the list of files into a variable, but unsure how to get the output I want.
View 3 Replies
View Related
Jan 17, 2011
I need to fgrep a list of things which are in a file. The file in which I will do the SEACHING is a large text file and I need fgrep to output each item from the list as a file with the item from the list as the file name.
Its kinda like this:
./script list.txt largefile.txt
output would be
jack.txt
screen.txt
blah.txt
View 14 Replies
View Related
May 19, 2011
I have my task list in evolution (mainly so it can sync with my phone and online task list) but I always forget to look at the task list. Is there an application or plugin which periodically displays the contents of the tasklist or even better, it briefly displays the most urgent/important tasks when I login? Or anything else which automatically displays the most important tasks. Currently I have to open the task list and look at them (which I usually forget). I do not mean some kind of alarm when the task is due but more a daily reminder of what to do.
View 3 Replies
View Related
Jan 23, 2010
Ive seen some fixes for this but they all seem to be specific to the particular user's sources.list . . . ..
Code:
Here is Line 54
Code:
View 2 Replies
View Related
Mar 12, 2010
I tried to change the basic toolbar to cairo dock,a tutorial that i found told me to write in terminal gksu gedit /etc/apt/sources.list.d/winehq.listso i write it and a window opened,i couled not find the text that told me(the tutorial i mean)so i closed the window,after that i keep taiking the same error
E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
now whene i got in the winehq.list the text has gone and i take this error in update manager,my software center doesn't work and my terminal whenever i type sudo commands says
E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list
View 9 Replies
View Related
Jun 25, 2010
I get this error message: E: Malformed line 57 in source list /etc/apt/sources.list (dist parse)
I am pretty new to Ubuntu and dont really understand computer
Here is the sources list (??) as well
View 3 Replies
View Related
May 4, 2011
don't know much, but when I tried to update I get this error:
E: Type 'sudo' is not known on line 52 in source list /etc/apt/sources.list E: The list of sources could not be read.
View 2 Replies
View Related
Jun 17, 2010
All I want is for my bootloader to show "Ubuntu" & "Windows XP" which are the only 2 OS's I have installed (dual booting). At the moment it shows Windows XP, Ubuntu, Ubuntu recovery mode & like 2 more.. which are also Ubuntu & recovery mode. I've never selected the other Ubuntu ones, only the first one. So, how can I remove the ones I don't want to show on the list.
View 2 Replies
View Related
Jul 20, 2009
KMail 1.11.4, KDE 4.2.4: I'm migrating from WinXP to Mandriva, and installed KMail at the weekend. Works fine, but I have a niggle - the message list displays headers grouped by month order. I'd like the option of having a simple list (no groups), and suspect that it could be done - but I haven't been able to find out how. I've checked in the Handbook without success, and a search in LQ hasn't turned up anything yet.Any suggestions gratefully received. If this isn't the right place for a KMail query,
View 1 Replies
View Related
Feb 2, 2010
How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
View 4 Replies
View Related
Sep 1, 2011
There is a problem with my source list (apparently) I'm running 11.04 if that helps.When I try to use apt-get install update for example, I get: "Malformed line 59 in source list etc/apt/sources.list"The same error occurs when trying to access synaptic package manager, it tells me there is a malformed line and the list of sources cannot be read.This error prevents me from apt-getting anything, updating and i suspect it is affecting the software center too.
View 6 Replies
View Related
Feb 10, 2009
I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget
[code].....
View 7 Replies
View Related
Feb 17, 2010
I understand there is a file that stores the repositories' information, but I can't find it!Is there a way I can create a list of what applications have been installed?The idea is that if I am running a backup, finding a way to save the repository list and applications installed so if I am upgrading, or fixing a borked system by re-installing Fedora, I could copy the repo list back, and run the applications list like ode:yum install <cat apps.txt?> and get all of the applications I've installed via Yum without having to remember them all?Is there anything else, outside of /home, I should look at backing up? SELinux settings?
View 6 Replies
View Related
Mar 12, 2011
I am working for a community where several people are engaged for 4 different development projects. we are planning to have a samba server to store our data.Now the problem is that I have created a share in which @groupa, @groupb and @groupc are allowed to read and write. But three of the members of @groupb are only allowed to for read permission only.
View 1 Replies
View Related
Sep 16, 2010
I am new for linux shell script, i ve a task to monitor a list of IP's Listen on the Particula Port. I ve list of IP's,from that list i need to monitor. If the prticular IP in the list is not listening on given port num then send a alert mail. Can any one guid me to write a shell script.
View 15 Replies
View Related
Mar 30, 2010
I have a file witch I need to list 10 line by 10 lines with something like press enter to go on in between.
Well, the problem is that i have absolutely no idea on how to implement this.
Can you give me some points?
View 3 Replies
View Related
Dec 8, 2010
I am an uploader to a various hosts, so this tiny script me a lot. I make a rar archive and split files with 100mb. I could get 3-4 or even 76 parts of rar files and it would take me some time to paste all these urls to remote upload function of filehosting sites. For example:
Code:
server:/home/cober/downloads/teevee# ls -al
total 358784
drwxrwxrwx 2 root root 4096 Dec 8 19:38 .
[code]....
View 1 Replies
View Related
Jan 27, 2011
how can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.
View 5 Replies
View Related