General :: Create A User List In Alphabetical Order?

Oct 22, 2010

I have a server with what appears to have 352 home directories (350 actually if you omit '.' & '..') & I am being asked to basically tally a list of whom all 350 users are in alphabetical order. Now I could sit here for days doing the 'finger' command to obtain their full name commented in '/etc/passwd' file but I would assume there is a script or way I could have Linux quirry the '/etc/passwd' file & take all the user 'comment' entries and export them to a list in alphabetical order. Does anyone know if this could happen and if so, how would I do something like this? I can't write bash / shell scripts to save my life

Code:
cmennens@mail]:/$ ls -l
total 160
drwxr-xr-x 352 root root 12288 Oct 21 13:41 home

View 7 Replies


ADVERTISEMENT

General :: List The 'chkconfig --list' In Alphabetical Order?

Jan 7, 2010

list the 'chkconfig --list' in alphabetical order

View 3 Replies View Related

Ubuntu :: File List Now In Reverse Alphabetical Order

May 26, 2011

I am running fully updated ubuntu 10.10 and now, since 2 days ago, when I open a file
in open office, gimp or gedit etc the directories and files now appear in reverse alphabetical order.

View 8 Replies View Related

OpenSUSE :: Copy Files In Alphabetical Order?

Feb 8, 2010

I need to copy my music to a portable HDD in alphabetical order. My headunit in my car will only display the folders and files in the order that they were written to the disk so to have any form of logic to the album / track listings they need to be written to the disk in alphabetical order.

how to do this in openSUSE? I know dolphin doesn't do this.

View 9 Replies View Related

Applications :: File Processing Based On Alphabetical Order?

Jan 22, 2009

In Linux, the files were processing based on timestamp. How to process the files based on alphabets? My application is in windows. Here I am processed the files based on alphabetical order. While coming to linux its coming wrong.

View 5 Replies View Related

Ubuntu Multimedia :: VLC Wont Reproduce Files By Its Alphabetical Order?

Mar 24, 2010

This problem has been here for 2 months or so:

If I, in VLC, choose a folder with several mp4 or other multimedia format files, it will show em in the playlist in random order, definitively not alphabetical. that didnt use to happen before.

View 5 Replies View Related

Software :: Sorting Chinese Filenames In Alphabetical (pinyin) Order

Feb 15, 2010

I'm trying to get Chinese filenames to be listed in alphabetical order according to pinyin. Long ago I remember having to install a particular package for that to happen, but in the past year or so I believe that ubuntu at least was doing that automatically. On my most recent linux installation, however, I find that it's not sorting file names by pinyin order. I'm wondering if I have forgotten to install something this time.

View 1 Replies View Related

Programming :: Bash: Rename Files In Alphabetical Order And Make Extensions Uppercase?

Oct 21, 2010

I am trying to write a bash script that will extract a .cbr (.rar) file, traverse the extracted files in alphabetical order and rename them 001.JPG, 002.JPG, 003.JPG, etc.So far I only have this much to extract it:

Code:
#!/bin/bash
#

[code]....

View 8 Replies View Related

Programming :: List 4 Names From Users List And Output Them To Fbusers In Numbered Ascending Order?

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

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?

View 3 Replies View Related

General :: Create Directories From A File List?

Jun 30, 2011

I am trying to write a script to pick the directory name from a list of file. Here is a detailed picture.Have a file name LIST which contains the follwing for example/apps/oracle/product/test1/apps/oracle/product/test2/apps/oracle/product/test3I need a script that reads these line from LIST and creates foldersin /apps/oracle/product/test1/backup/date/test1 after reading the first line
/backup/date/test2 after readin the second line/backup/date/test3 and so on.

View 15 Replies View Related

Ubuntu :: Change The 11.04 Boot Order List?

Sep 1, 2011

I've installed ubuntu 11.04 side by side with my xp. However after reboot I found my boot order list is like

Ubuntu, with Linux 2.6.38-8-generic
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
Memory test (memtest86+)

[code]....

As you can see the windows option is way in the bottom, how to make it to be on the second line like below ?

Ubuntu, with Linux 2.6.38-8-generic
Microsoft Windows XP Professional (on /dev/sda1)
Ubuntu, with Linux 2.6.38-8-generic (recover mode)

[code]....

how can I remove the other 3 which I thought unnecessary

View 1 Replies View Related

Debian :: Change Order Of GRUB Boot List?

Apr 1, 2010

I tried looking this up. It seems that in Ubuntu, you need to edit /boot/grub/menu.lst. I tried that, and the file is not present in Debian "Squeeze". (Just trying it out on a different PC, In case you are confused by my other thread regarding Lenny) So what do I need to do to change the default OS to boot?

View 3 Replies View Related

Ubuntu :: Sata Hard Drive Order Isn't The First One In The List

Jan 16, 2010

I have 4 hard drives in my computer. 1 for may root and home partitions. 2 extras for storage and 1 for Windows. I have the hard drive with my root and home partitions set as the first hard drive in the bios. However, in the Ubuntu setup it isn't the first one in the list. I would have thought that the first drive would be get set to sda. That is not the case.

View 1 Replies View Related

Server :: List Folder Size In Descending Order?

Feb 8, 2010

how to list folder size in descending orde

View 2 Replies View Related

General :: BASH Script Alphabetical Conditional Operator Query?

Mar 14, 2010

I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" != "" " syntax.

Like so:

Code:
if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then
echo "Invalid input"
exit 1
fi

View 5 Replies View Related

General :: Get All Group List Of Particular User?

Jun 20, 2011

How to get all group list of particular user in linux to whom which he is member.

View 3 Replies View Related

General :: How To List User Using Bash

Aug 2, 2011

how to list existing users using bash

View 8 Replies View Related

Ubuntu :: Terminal Command To List Disk Usage In Order?

Mar 29, 2010

I regularly use 'df -h' to check usage on each of my primary directories and mount points.

I'm currently somewhat confused by disk usage within my filesystem, so I'd like to do the following:

Display directory size of all, or say, the 10 largest, subdirectories to a specified directory. So, if I passed the root (/) directory, output would list the subdirectory of / with the largest disk usage first and its associated disk usage listed in human readable format (either M or G suffix as appropriate), followed by the subdirectory and usage for the second largest directory and so on.

Can anyone suggest a command or series of commands to do this?

View 6 Replies View Related

Ubuntu Installation :: Change The Order Of The List When Grub Loads ?

May 6, 2010

How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.

View 4 Replies View Related

General :: Way To List CLI Applications That Are Installed By User

Jun 10, 2011

I have installed a lot of CLI applications and it would be usefull if I had another one of these that lists and organizes ;in different ways ,what has been installed without a GUI. I tried this (rpm -qa | less) and it was lack luster and enormous. Is there a GUI or a CLI application that will list User installed CLI application and allows ways to list them , alphabetically or otherwise etc?

View 2 Replies View Related

General :: Use Sort Command For Its Ascending Order And Descending Order?

Aug 18, 2010

in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.

Is the same can be use for the date format YYYYMMDD ?

View 3 Replies View Related

Ubuntu :: Rename A List Of Files In Batch In Order To Maintain The Last Part Of Them?

Dec 1, 2010

possible to rename a list of files in batch in order to maintain the last part of them, then purge a central section and then again maintain the extension?I.E.:

Code:
file01.qwertyuiop.txt
file02.asdfghjklmnbvzxcqwertyuiop.txt

[code]....

View 7 Replies View Related

General :: List All Files/folders A User May Delete?

Aug 17, 2010

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?

View 3 Replies View Related

Programming :: Use Setsid In Order To Create A Daemon?

Apr 21, 2010

I would like to know if is it necessary(and why) to use setsid to create a session leader in order to create a daemon process?

View 1 Replies View Related

General :: How To Create Another User

Aug 11, 2009

I know this will sound stupid, but we've been tasked with standing up a professional Linux server to run a vendor tool and product on. And my team has never administered a Linux or Unix box before. I know the concepts, but can't find the tools!

How do I create a user-ID? And is there a GUI tool I can fire up from the command line to make some of this easier? We can get to the box, manipulate files, etc. But to this point we're exclusively usint 'root', and I know I need to stop that, and prevent that happening in the future.

View 6 Replies View Related

General :: Create User For CentOS W/ Ssh?

Oct 22, 2010

I've got a remote server running CentOS and I require a new user account who would have access to sftp & ssh functions.I've got a bit of a problem creating the user since whenever I try to login with the new account through ssh (putty) I keep getting access denied.I've made different accounts with userids above /below 500; even though I'm a complete noob so no idea how I'm supposed to go about this.

View 6 Replies View Related

General :: Create Ftp User Id In Centos?

Aug 1, 2010

i wan to create ftp user id and password in centos , so that i can provide access to various director in www folder.

View 7 Replies View Related

General :: Create A Windows XP User From A Partition?

May 21, 2011

Long story short, someone repaired my brother's computer and set a password on his account, now we can't get in and can't contact the person who set the password. Is it possible to create a Windows XP user if I have access to the windows partition, from a linux partition or pendrive, for example TinyCore?

View 4 Replies View Related

General :: Create An SSH User Which Can Access Only Certain Directory ?

Jun 18, 2011

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously.

I would like to create another user account, which would be able to access this server using SSH too, but only to a certain directory, for example /var/www/example.com/

For example, imagine this user has a HUGE error.log file (500 MB) located in /var/www/example.com/logs/error.log

When accessing this file using FTP, this user needs to download 500 MB to view the last lines of the log, but I'd like him to be able to execute something like this:

Therefore I need him to be able to access the server using SSH, but I don't want to grant him access to all server areas.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved