General :: Show The Permissions With Numbers Instead Of With Letters?
Jun 3, 2010Any way to show the permissions with numbers (777) instead of with letters (drwxrwxrwx) using "ls" command or any other command ?
View 2 RepliesAny way to show the permissions with numbers (777) instead of with letters (drwxrwxrwx) using "ls" command or any other command ?
View 2 RepliesI have a program that prints out lines like:
And I want to be able to pipe it to sort on that third column, by letter first, then number. But I keep coming getting files sorted like:
(field separations all start at same place, so columns are not jagged like above.)
I have read the sort man pages, and have tried -n for the numbers, and -k for the position to start sorting, among other things. I also tried inputting a second position to start sorting, which sort should supposedly refer to if the two entries are identical at the first place being compared, but it seems to just ignore the second one. I just can't get it to sort the numbers properly...
For now I am manually opening the file in emacs and changing them around, needless to say, very time consuming.
I am trying to strip the numbers from the 5th columns and just get letters - in perl - i tried using subsrt, chop. and a regex -
what i want to get is:
i tired appending a regex perl -nle 'print /(w{1,20})d{1-20} but it did not work.
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 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).
View 7 Replies View RelatedIn M$ Word, if you press Alt+X, the letter behind the cursor will become a Unicode hexadecimal string. Where is that functionality in OpenOffice.org Writer?
View 1 Replies View RelatedI would like to know how to make a script that can check that i input 3 letters and 3 numbers in some field.
i am completely noob in this programming scene, but think its quite interesting.
I did a system update earlier in the day, but I have a hard time thinking this is connected to it:
I shut down my computer and when I went to start it up, I got a black screen and a bunch of letters and numbers followed by:
Is there something I can do to get back to my desktop? Is there a way I can access my documents, at least?
I tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.
View 3 Replies View RelatedIs there any tool in linux to show information on AS numbers? code...
View 2 Replies View RelatedRecently I faced a problem in typing in English in OpenSuse 11.3.When I try to type in English it shows me Greek letter and worse than that I think it is really Greek (not only in font) because when I enter my passwords or try to type a command in terminal I get error,I tested with UK and USA and all other English languages and I still have this problem. I even do reset in my keyboard layout setting and in KDE setting but it didn't help.
View 3 Replies View Relatedam 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
View 14 Replies View RelatedI have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:
chmod: changing permissions of `whatever': read-only filesystem.
This is my mount table:
[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
[code]....
I type characters with an overbar, like the NOT symbol in math, when in a linux SSH shell with no GUI?
View 3 Replies View RelatedWe have an issue like this: We print PDFs from a Linux box to a printer attached to a Windows machine. Problem is when we print from the Windows the printout comes perfectly with the font bold and clear, but when printing from the Linux box the font is very FAINT and we can see dots in the fonts.
We tried changing the PDF to a text file (i.e. we created text file with the report) with the -o cpi=5 option and still it does not come out properly. Now the font gets bigger, but we can see dots in the font and it is not bold.
I've recently purchased a VPS to run a private server on. I installed gnome and configured it to run on TightVNC to access from my home computer. Whenever I try to type certain letters such as a lower case "s" it instead accesses the shutdown menu at the top right corner. This is disabling me from finishing my server and downright frustrating.
View 3 Replies View RelatedI'm trying to write a script to do the following:
I have a text file that contains many lines that look like this:
I'm trying to make my script read this text file, find the string sequence "QIEN", and delete everything from this sequence backwards (including "QIEN") so that the above lines look something like this:
I'm aware that grep is good to do a regular find-and-delete as follows:
Code:
But this will delete everything on the lines that contain the string sequence "QIEN".
I'm trying to use Sed to change all "l" letters with "I" in capitalized words something like this:
1. ONlON -> ONION
- and as opposite change the all "I" with "l" in a word in small letters such as:
2. DiIbert -> Dilbert
For the first case I'm using the below sentence which unfortunately changes words such as "let" in "It"
Code:
sed 's/[:upper:]*l[:upper:]*/I/g' test.srt
For the second case the below command seems to work but it might have a side effect as the one used in the first case:
Code:
sed 's/[:lower:]*I[:lower:]*/l/g' test.srt
I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)
I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.
Things I checked already:
View is all
Folder subscription is on and local copy is on
More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.
Using a Linux program to fix my TiVo. Program is burned to a bootable CD, which loads fine. I get asked what the drives are (CD and Hard Disk) with abbreviations like hda, sda, etc. I was able to determine the Hard Drive as /dev/sda, by using <Shift>-PgUp/PgDn, but could not find what the CD drive was.
View 1 Replies View RelatedI use debian 6.0.0. I have installed scim scim-m17n scim-gtk2-immodule m17n-db im-switch. I can write hindi fine in browsers & gedit using transliteration. In vim I see that matra & letter are not positioned correctly. Here is screenshot post.jpg. I am using 'Akshar Unicode' . 'Monospace' does not help either. Otherwise , what font you use?
View 6 Replies View RelatedTwo files contain:
file1:
cat
dog
fish
hamster
file2:
cat
fish
ferret
dog
How do you change the case of the letters in file1.txt to uppercase and compare with file2 all in one command?
Can anyone specify the methods how to add decimal numbers in Linux
View 5 Replies View RelatedOn 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?
View 1 Replies View RelatedHow to create random numbers between -5.0 to +5.0
View 12 Replies View RelatedI was doing some thing on networking on virtual machine (rhel 3 as guest os) and winxp as host .. now when i started my guest os (linux) the login page letters (like username and password) size became very large so that i could not see them (crossed the screen) .
View 1 Replies View Related I'm working with a rather large file of data taking from a tracking program on my phone, and trying to pull only the longitude and latitude from it. Any given line in the data looks more or less like this:
{"lon":-122.3083848,"time":1.273515839496E9,"source":"skyhook","nap":28,"altitude":0,"name":"location","hpe" :29,"bearing":0,"ncell":0,"lat":47.6544453}
I've run it through this command:
grep skyhook log-2010-05-10_18-17-28.json | cut -d"," -f1,10
to get this:
{"lon":-122.30872015,"lat":47.65812201}
{"lon":-122.3076686,"lat":47.6569975}
{"lon":-122.3079161,"lat":47.656395}
{"lon":-122.3096168,"lat":47.656218}
{"lon":-122.3096285,"lat":47.656206}
Which is a lot nicer, but I would prefer not to have to hand remove the non-number characters by hand since there are thousands of data points. what I could do to get it to just be longitude and latitude in 'number number' format?
Does any one know the process or commands to get the serial no: of a h/w device from a host?
I am looking for serial No: of Hdd,Graphic card,processor,RAM
I can get the serials of HDD & RAM using hdparm & dmidecode,but don't know how to get it for processor & Graphics card.
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,
View 4 Replies View RelatedI want wondering if I can ls files that start with numbers only in a folder.
Suppose:
001.txt
302.txt
[code]....