LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

simple script for creating 100 users in linux

Posted 01-17-2012 at 08:35 AM by dinakumar12
Updated 01-20-2012 at 03:36 AM by dinakumar12

#!/bin/bash
a=1
while [ $a -le 101 ]
do
{
useradd user$a
a=`expr $a + 1`
}
done
Member
Posted in Uncategorized
Views 499 Comments 0 dinakumar12 is offline
Old

With every change a new challenge

Posted 01-17-2012 at 08:28 AM by m3rl1n
Updated 01-17-2012 at 08:35 AM by m3rl1n

Since my last blog entry I have improved my Linux OS skills dramatically. I am happy to say: I am comfortable with Linux now.

My Programming efforts:
I discovered a serious lack of support and documentation for ORB (any ORB), and its implementation in a GUI Linux/Windows/Mac environment. On console applications them ORBS thrive well, but writing a X-Window Application with a toolkit (e.g. QT4) is a true disaster - them ORBs turn into ORCs!

Trolltech Qt4 dev....
LQ Newbie
Posted in Uncategorized
Views 474 Comments 0 m3rl1n is offline
Old

ipc in kernel space

Posted 01-17-2012 at 07:02 AM by muttanna2972

HI

can i have shared memory ipc between netfilter and some other kernel process ?

Thank you
LQ Newbie
Posted in Uncategorized
Views 351 Comments 0 muttanna2972 is offline
Old

one time changing of default user's home directory while adding newuser

Posted 01-17-2012 at 06:28 AM by dinakumar12

vim /etc/default/useradd

Look for this line

HOME=/home

change /home to your own directory

save the file and try adding new user by useradd username

Now the new user should be created with your own preferred directory.
Member
Posted in Uncategorized
Views 269 Comments 0 dinakumar12 is offline
Old

How to insert a string at the top of a file using sed

Posted 01-17-2012 at 06:22 AM by dinakumar12
Updated 01-18-2012 at 10:42 AM by dinakumar12

sed -i 1i\string filename
Member
Posted in Uncategorized
Views 347 Comments 0 dinakumar12 is offline

  



All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration