Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg
Showing posts with label commands. Show all posts
Showing posts with label commands. Show all posts

Tuesday, 12 July 2011

How to Add a User in Ubuntu?

Posted on 06:03 by Unknown
If you use Ubuntu and want to add a user then this post is for you. Now if you read this blog usually, you'd be wondering what the heck is wrong with this guy!. I mean first he wrote about finding the Ubuntu version (actually that one is kinda hard to find with the Unity desktop :D) now adding a user, what is he, nuts!. Well here's the thing.

I use Dvorak layout for touch typing and I've been using it for a long time and never thought that I'd write about changing the keyboard layout in Ubuntu because I thought everyone knew it. But in fact after writing a post about it, it did receive a fare share of comments which resembles the importance.

So I thought of writing few posts here and there to help some of the newcomers to GNU/Linux (Ubuntu actually) to get along easily with this totally awesome OS :D.

Well, that should be enough for an explanation to my usual readers (oh way I don't have any :/) anyhow let me get back to the topic. Now as usual there are many ways that you can do this but I'll do it using two ways. I'll skip launching the application using the standard Classic menu in Gnome desktop since Unity desktop doesn't come with that menu.

Method - 1

*. Click on icon next to your current logged in user name in the notification area of Ubuntu desktop (should work in both Gnome and Unity) as in the below screenshot and from the menu, click on: "System Settings".



*. Now from the next window that you get from your left under "groups" choose: "system".




*. Now to your right side choose "Users and Groups".



This should bring you the GUI window which you can use to change/add new or existing users in your Ubuntu distribution as below.



But if you don't like to go through all that hassle, then just open a Terminal window and enter the below command.
users-admin
That should bring you the same window as above.

Now you can add users using this GUI quite easily. Although I wouldn't be going into much details but you can use this to do things like...

*. Add/Delete/Change Users and Groups.

*. Add a phone number/address,etc.

And change user privileges. But except in a Server environment, the most important one in my experience making a user the system administrator of your Ubuntu OS. Now the user account that you create while installing the OS is the default administrator, so most of the time you wouldn't need this.

But say that you have a geek friend or family member :) who likes to do advanced things (yikes) such as configuring a printer, installing applications, etc then he/she will need administrative privileges. In that case, with a freshly created user you can make him one of the system administrator of the system by clicking on the user and then use the "Advanced settings" button.

This should open a window similar to the below one and if you want to make the user one of the administrators of your OS, then click on the "User Privileges" tab and from that locate one that says "administrator the system" (usually the second from the list) and make sure to click on the box to add the check mark.



Also remember, unless you've manually enabled the "root" user in Ubuntu, which is disabled by default for security reasons, then at least one user has to be the system admin. This as mentioned before will be the user that you created while installing the system. So unless you have another admin, you won't be able to remove his administrative privileges.

By using this tab you can enable/disable users from doing things such as ...

*. Using a modem, wireless networks and connecting to internet.

*. Disable network access.

*. Disable CD/DVD drives access.

*. Disable the access to system logs. 

*. Send/receive faxes, etc are just a few to mention.

If you want to temporarily disable a choosen account (rather than deleting), change the home directory path, etc then click on the "advanced" tab and click on the "disable account" option or give the new home directory path. 



If you don't know other things like shell, user ID, etc then its better to leave them to their default values. And Good luck.
Read More
Posted in commands, learn, linux | No comments

How To Check/Find Your Installed Ubuntu Version?

Posted on 04:49 by Unknown
This post is for absolute newbies to GNU/Linux who're about to burst in anger after trying to figure out the current Ubuntu version :). This actually was pretty easy in the past with the Gnome classical desktop, etc but with the introduction of the Unity desktop... it's not that it's hard but I guess that desktop is a bit unfamiliar and so it can be a bit confusing at first.

Anyhow there are many ways that you can find the current version of your Ubuntu OS but I'll do my best to show how to get it by using two or perhaps three ways so someone new to Ubuntu would be able to retrieve that information in the future (hopefully).

The classical way...

Remember, this to work you have to use the Gnome classic desktop and with the upcoming Ubuntu 11.10 it won't be there by default, so in the future, unless you've manually installed Gnome, this option may not be available.

*. Anyhow, if you're ready, after log-in to Gnome, from the main application menu (as in the below screenshot), go to: "System" - "About Ubuntu".



*. After clicking on that, it should bring a new window similar to the one below, the numbers will differ according to your actual Ubuntu version (11.04 in this example).


I've highlighted the text for you to locate easily... 
Universal method (1)

This however I couldn't find in the new Unity desktop. Although by default Unity does not come with a classic menu but even after using the classic menu indicator, I couldn't find it.

But luckily we can still find the current Ubuntu version by using a simple trick. Click on an empty area on your desktop (this works in all desktops - Gnome, KDE, Unity, etc) to make sure the desktop is selected.

Now press the "F2" key on your Keyboard which should bring you the official Ubuntu help page (in your HDD, so no Internet connection is necessary) and as you can see with the below screenshot, you should see the version at the top of the page.






Universal method (2), if all fail ... this should and WILL come to rescue you! :).

Now, GNU/Linux is universal, but unlike any other time, now we have dozens or hundreds of different distributions. Some are "just" derivatives but we do have others that are original or derivatives still have done a lot of customizations of their own thus they're almost original.

After seeing this, the Linux Foundation became concerned that GNU/Linux as a whole and thought in the future it could loose its "identity" easily. So they installed a standardization called LSB which stands for: Linux Standard Base.

This basically ensures that no matter how many customizations that the GNU/Linux system (Kernel, desktop, etc) undergoes under different developers, still some of the basic/core functions (commands and protocols) will be implemented universally. I wouldn't go into details since its really boring (not an expert on the matter either to be honest) as hell and out of the subject as well :).

Anyhow, thanks to this "move" there's a command that'll always exist no matter what changes occur that'll let you find not just the the version of the Ubuntu OS but any GNU/Linux distribution in general, any given time!. So to use that just open your Terminal and enter the below command.

lsb_release -r -i -d -c
Below is my output. As said, if all fail, then this should work for you dudes and dugees in your search for beginning to learn GNU/Linux (oh well, we all are anyway :D, at least I am :/).



The command comes with a simple documentation which you can access by using the below command. Enjoy!.
man lsb_release
Read More
Posted in commands, learn, linux | No comments

Tuesday, 21 June 2011

Wipe - Secure File Delete Application for GNU/Linux

Posted on 22:27 by Unknown
Not just in GNU/Linux but in any operating system, just because you deleted the files from the hard disk drive doesn't mean that they're actually deleted. Because anyone with a simple utility (like, a "bad" hacker for instance :/) can recover those deleted files with ease.

So when it comes to securely deleting your files or wiping an entire hard disk drive, it's pretty useful to have a dedicated application for that purpose. In that sense "Wipe" is an open-source application that is designed to use with the GNU/Linux operating system.


Why should I delete my files using "this method"?

Well, if you're the only person who have access to your PC/Laptop and doesn't have an Internet connection live all the time, then the need is somewhat less yet, lets say that you're selling your old computer and have sensitive information on the HDD (which are not even encrypted, etc) then it is advised to perform a proper/secure date erasing method which will wipe out the possibility of letting a third party have access to your sensitive data.

Remember, "Wipe" is a command line utility (if you know any GUI front-ends, please let me know :)). So you'll have to use the command line a bit... but it's pretty easy and heck, it might even teach you little about the GNU/Linux command line on the bright side :). 

So, I assume that you use Ubuntu for this tutorial. Let's install Wipe in Ubuntu 11.04 Natty Narwhal first. Enter the below command in your GNU/Linux Terminal.
sudo apt-get install wipe

This is very small application and should install within seconds. Using "Wipe" to delete a file or a folder is pretty simple. Say that I have a file called "2.mp3" in my Home folder, then I open the Terminal window and enter the below command.
wipe 2.mp3
It'll also ask for the conformation which is pretty useful since we can say "NO" if we miss-typed something (yikes!).

The "r" attribute is necessary while deleting directories (folders), So if I wanted to delete a folder named "temp", then I'd use the below command.
wipe -r temp



The basic principle for any secure data deletion utility is simple actually. It just "fills up" with random data (raw-data, unreadable, useless stuff...) to the hard disk sectors which are occupied by the file or the folder that you want to delete securely.

Usually these utilities do this several times (just in case :P) and "Wipe", by default do this "31" times!, and because of that, even if you have a slightly larger file (say 5MB or more) then it'll take some time.

So to speed up things a bit by using the "q" attribute if you we like, which would reduce the passes to "4". For instance,
wipe -q 2.mp3



If you want more than 1 attribute to be present, then use the proper attribute "symbol", one after the other. For instance, if I wanted deleted a folder named "temp", using less overwrite then I'd type...
wipe -rq temp

If you have any questions, then as always with when learning GNU/Linux command line, read its manual launched by using the below command.
man wipe
Good luck.  
Read More
Posted in commands, learn, linux, tips, utilities | No comments

Monday, 20 June 2011

Shrinkta - Backup DVD to hard drive Application, for GNU/Linux

Posted on 23:42 by Unknown
If you want to backup a DVD (video) to hard drive easily in GNU/Linux then there is an excellent dedicated application called Shrinkta. Although you can backup video files in a DVD by simply copying the content and pasting it somewhere else but ...

Since almost all the commercial DVD movies come with pre-encrypted by default (a folk of DRM, digital right management), if you just copy and paste the content, then you won't be able to play the content nonetheless.

And since in a DVD video disk, within the container format, usually there are several audio files embedded into it (different languages, different tracks with different audio channels, subtitles, etc) other than using a dedicated app like the Shrinkta, backing up a DVD to hard drive properly with selected audio files only, etc, is not possible.

Also, by extracting the content you want will reduce the overall output file size dramatically as well. Let's have a look at some of the,

Main features...

*. Very easy to use (written using GTK+ and Python) interface.

*. Extract/Backup selected portions of the DVD movie disk such as - Selected chapters.


*. Choose preferred audio channels - DTS/AC3, etc.

*. Opt-out certain languages.

*. Excellent help file (I humbly advice you to read it first). 

*. Has the ability to make the DVDs region free (another locking/encrypting mechanism).

*. Both single and dual layer supported.

*. Can burn the data to DVD disk using the assigned CD/DVD burning application. 

*. Shrink video files under given size.

*. No subtitle extracting available (my only complaint).

Remember it can be illegal to create a backup of your DVD into hard disk or any other media depending on your country. But if you've purchase them within your region or country, then it is most certainly legal, as long as you don't "share" (as far as I know, but I advice you to do your own research :D).

Anyhow, you can install Shrinkta in Ubuntu 11.04 Natty Narwhal by entering the below command in your GNU/Linux command line.
sudo apt-get install shrinkta

That should do it. Good luck.
Read More
Posted in commands, dvd backup, linux, multimedia utilities, ubuntu | No comments

Thursday, 16 June 2011

How to Delete User Account Passwords using Command-Line in GNU/Linux?

Posted on 09:03 by Unknown
Although these days the GNU/Linux operating system is a very user-friendly one thanks to the easy to use GUI (graphical user interfaces) which are usually created using both GTK and Qt toolkits. But as everyone knows, the true power of GNU/Linux lies in the "shell" or the command-line "interface" where you have the ability to execute commands using nothing but your keyboard.

The reason for this "behavior" is actually quite simple. It's because in the early days GNU/Linux was created by + for advanced PC users such as "ethical hackers" (the good fellas :P), programmers and system administrative type individuals.

This has both good and bad aspects but as said before those days are pretty much "over", for the average user. Although the GNU/Linux shell (came from Unix) or the command-line is still heavily in use...

Anyhow, one of the advantageous of using a shell command instead of a GUI is that, depending on the need, the shell command can do the same many times quicker than the GUI counterpart (not always true though).

This is because, one of the main issues that programmers usually confronted while creating GUI programs is the levels of "distractions" they create because of their nature (you know, they are more attractive than ugly command-line ones :D).

So, if you wanted to delete/disable a user account's password in GNU/Linux (say Ubuntu in this example) then you can use the built in GUI tools but as mentioned above, by using the command for that exact purpose in the "Terminal" window, you can achieve the same task, much more quicker!.

What is the use of this command anyway?

Well, let's say that you have a shared Linux computer (by your family, more than a single account) and someone couldn't remember their password and asked you to complete delete it so he/she can add a new one later.

In that case, you can log-in to your admin account and use the "standard" GUI tool OR, do that by using a single command which is quite fast as mentioned before + most importantly, you should use "opportunities" like these to showoff and let them know that you're in charge :P.

Sounds good Gayan, Lets do that!...

For this example I'm using my own beautiful other name :P "sameera". Now remember, GNU/Linux is a case sensitive operating system + when it comes to a user account, there are two main types.

*. The "actual" user name.

*. The "display" name.


For instance, I can enter "SAMEERA" or "SaMeeRA" as the display name, but the OS will automatically convert it to "sameera" (lower case - only), which is the actual user-name, because in GNU/Linux, user accounts are only kept in lower-case letters.

So, make sure to use the "actual" user name with the following command, not the display name.

1. Open your Terminal and enter the below command. Replace the text "name" with your actual user account name.
    sudo passwd -d name

That's it dudes!. Pretty simple stuff right?.

Also, as long as you remember the "sudo" password, you can even delete the default "sudo" attached user account (default admin) in Ubuntu (which is the first user account that you create while installing the OS).

To do that just use the the above command and replace the "name" with that defalut user account which holds the administrative privileges. But remember, if you do that, it raises security concerns since the apps that needs root privilages can now run freely (not all of them, but most).

So don't do that. You can add a new password for that admin account by using the below command afterward.
passwd name

Again, replace the name with that default account you created while installing Ubuntu and it'll ask for a new password and follow the on screen details. Once logged in to their accounts, other users can also use that command to change/add a new password, to their accounts as well.

You can read more about this Unix command-line which is called "passwd" by entering the below command which should open the manual. Enjoy.
    man passwd
Read More
Posted in commands, linux | No comments
Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • How to Install FocusWriter (Professional Writing Application) in Ubuntu Linux?
    If you're a professional writer who'd like to have a simple text editor or a professional writing to be precise with minimal of dis...
  • How to Install Acidrip in Ubuntu - The Best DVDRipper for GNU/Linux! (I think :/)
    Without any particular reason, sometime ago I really wanted to know about DVD ripping (including encoding) using nothing but my GNU/Linux po...
  • Install "GConf Cleaner" in Ubuntu Linux (A "Registry" Cleaner for GTK/Gnome Desktop!)
    Just like any other operating system, GNU/Linux also stores its most important configuration files using various ways. Some are embedded int...
  • How to Install DesktopNova in Ubuntu?
    DesktopNova is a simple application that automatically changes your wallpapers. Although currently it only supports Gnome and XFCE desktops....
  • When Your Desktop Gets "Stuck", Try the Force Shutdown/Reboot Command
    This command is not something new and is known by almost all the GNU/Linux users. But for those of you who haven't heard of it, it can b...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • Fast Loading Image Viewer for Ubuntu Linux: Mirage
    These days when it comes to image viewers , GNU/Linux has a whole bunch of very competitive ones + if you use Ubuntu, then it comes with an ...
  • Asus Eee PC X101 Secretly Gets a Product Page!
    Few weeks ago Asus showed off one of their upcoming netbooks called the Eee PC X101 . Concerning the cheap hardware this netbooks had nothin...
  • Wanna Change the Location of Ubuntu 11.04 Natty Narwhal's Dock/Launcher?
    Note: Guys... I think I made a mistake :). This won't work because... what this option enables is, the corner that you have to bring you...
  • How To Install emesene 2.11.5 in Ubuntu 11.04 Natty Narwhal?
    emesene is a chat client (GUI) that lets you "merge" or use several chat protocols such as Jabber, Facebook, Google Talk, etc unde...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ▼  2012 (7)
    • ▼  August (2)
      • My New Toshiba AMD Notebook Rocks!
      • Dell XPS A2010 Plays a Good Game
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ►  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ►  October (16)
    • ►  September (57)
    • ►  August (59)
    • ►  July (81)
    • ►  June (112)
    • ►  May (149)
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile