General :: How Important Is 'CLUE' / Command Line User Environment?
Oct 16, 2010
I have read many articles by eminent Linux users who laugh off, when they are asked "is a command line knowledge necessary"?. They go on to say that Linux Distros have evolved so much that the GUI is sufficient! I use my Win.desktop for 1)checking the news, 2)checking my e-mail, 3)writing a blog, 4)Listening to music, and 5)since i am a consultant physician, with specialization in diabetology,keeping up with the trends by visiting a few professional websites! So, my needs are few!Which Distribution would you suggest to a completely Linux-ignorant person,and that's me!
View 14 Replies
ADVERTISEMENT
Feb 18, 2010
so i have a few shell scripts that execute wonderfully when i type them at the command line but they fail when they are run from cron.
for example, if i run a script from command line that contains
Code:
shopt -s nullglob
to prevent problems with for f in *.mp4 type loops, it works fine from terminal command line but when called from cron, it gives an error->
Code:
/home/centralsqwall/Videos/videochecker.sh: 91: shopt: not found
a couple other random errors as well...
so there is some difference in the shell from cron and the terminal?
i'm running ubuntu 9.10, #!/bin/bash
what are the commands i should be using to echo my environment or simulate cron environment from the terminal?
View 3 Replies
View Related
Mar 14, 2010
how to start the desktop enviorment from the command line.
View 2 Replies
View Related
Jun 13, 2011
I installed the latest version off the download site yesterday, when first booting an error message came up that my hardware does not support the most recent desktop environment so I should switch to classic. After a bit of googling I found out how to do this.
The problem is that my hardware really doesn't support the current desktop environmet, I can't get the windows to appear, I just get black rectangles in the middle of the screen instead, so the GUI is inaccessable.
I am looking for instructions on changing the desktop environment from a command line (which I can boot to).
View 3 Replies
View Related
May 12, 2010
I had chosen automatic logon. Then updated to 10.04. During logout to change Desktop Environment/Session, I noticed that GDM login screen had an option for KDE session although I had not installed KDE. I got curious. So I tried it. System hangs. Restart does not help because somehow gdm proceeds to the KDE session although I did not choose it to be default session. So I had only CLI left.
I got over it by stopping gdm (/etc/init.d/gdm stop) and removing gdm and installing xdm. Anyway, what is the proper way? How to order desktop environment from CLI and/or where is the default desktop environment option written in a file?
View 2 Replies
View Related
Nov 3, 2009
I work with a Debian Squeeze on my laptop and I have a 160GB external hard disk. My hard disk was formatted FAT32, but I decided to format it using ext2. I formatted it using fdisk from command line and everything went well. Unfortunately, when I mount my hard drive(which is auto-mounted from Debian) it has got root both as owner and group. Then I can't write to it because I have no permission to do that. Is there a setting to create an ext2 partition which has as owner the logged system user in order to have right permission every time.
View 7 Replies
View Related
Jul 2, 2010
Anyone else using the Mill Hill & Canterbury (MHC) Modula-2 to Java compiler?
[URL]
I cannot access the command line options and the environment variables.
View 2 Replies
View Related
Aug 5, 2011
Is there any way to install a Ubuntu server and access the server remotely via a Ubuntu desktop environment instead of a SSH command line?
I will be installing a Ubuntu server in an office where the office manager will need to be able to do simple things like add/remove users, access filesystems, etc. She can handle these tasks in Ubuntu desktop/GUI, but it is impractical for her to have to learn how to use the CLI terminal to do this stuff.
Will I have to install desktop Ubuntu on the server to do this, or can I install Ubuntu server version and setup another computer Ubuntu desktop to remotely login graphically?
View 1 Replies
View Related
Jan 31, 2011
How to add user through command line..??i used "useradd" and "passwd" and created an account but i can't login to it...
View 12 Replies
View Related
Mar 13, 2011
Is it possible in Fedora to suspend from the command line as a non-root user?
View 9 Replies
View Related
May 25, 2011
I just installed new Fedora (F15) and I could not figure out how to suspend or hibernate from command line as user. The method I used in previous versions does not seem to work:
Code:
What is new method of command line suspending and hibernating as user?
View 6 Replies
View Related
Oct 24, 2010
how do you get to the usr directory from command line.
View 5 Replies
View Related
Mar 23, 2011
I am learning about group and user management with Fedora and can change the user's group using the usermod command but did not know if there was a command to see the group currently associated with the user.
View 3 Replies
View Related
Oct 20, 2010
I have a problem about user permission, I just destroy my user...So, I create a new one. But I can't have the permission to use "sudo" or to install program... So, I cannot do a lot of thing in my computer. The logical solution is to boot in failsafe mode and access to the root terminal, but, I don't know how to change the permission to allow me to use sudo.
View 5 Replies
View Related
Jun 7, 2009
Just a quick question, is there a system user management app that could be accessed via a website for red hat (or really any distro)? Something kinda like phpMyAdmin, but can do useradd, userdel, groupadd, etc. For remote admins who don't know how to use ssh or the command line.
View 2 Replies
View Related
Dec 16, 2009
i have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies
View Related
Jan 4, 2010
Why we have to log in as root user some times while we can use sudo in command line ,is it diffrent , does sudo dont have all access and all permessions? i am really lost , i know little of alot of things in ubuntu ,but still missong alot of circles to make the complate picture.
View 8 Replies
View Related
Jan 20, 2010
I would like to be able to suspend to disk or Ram from the command line. I can do it with the package 'hibernate' which works well, but it needs to be run as root:
Code:
Do you know if there is any way that I can make this script run by normal users?
I am using a minimal version of 9.04 with openbox.
View 9 Replies
View Related
Mar 14, 2011
I adjusted some settings in the desktop settings folder in KDE. I had only one user account on the machine. Next time I rebooted I could not log into KDE (it kept bombing out). I had to log into the console. Finally I managed to create a new account with useradd but this user cannot sudo
My problem is that my home directory is encrypted, so I need a new user with sudo privileges to delete all the kde files and folders in my original users home directory so that I can start with a new KDE setup (which won�t be a bad thing since I tinkered a lot).
How can I add sudo privileges to the new account (I presume I can do it by logging in with my sudo account in a terminal login?
View 9 Replies
View Related
May 8, 2011
I'm trying to set up an unprivileged user on some field systems running 11.04 with the standard Gnome shell (rather than Unity), and ideally that user would not have access to the command line. The user can log in through GDM (but not the text consoles) with no password, so I need to provide the absolute minimum of privileges; basically the user should only be able to run one program.
I've already set the /desktop/gnome/lockdown/disable_command_line key with gconf-editor for that user, which successfully disabled the "Run Command" dialog. Unfortunately, even though the description of the key in gconf-editor says "prevents the user from accessing the terminal...", the terminal emulator is still accessible from the Applications menu, and I haven't been able to find a good way of disabling the terminal or removing it from the menu. The only thing that occurs to me is an ugly hack: replace the gnome-terminal binary with another that checks to make sure the user is not the unprivileged one and then starts gnome-terminal.
View 5 Replies
View Related
Jun 11, 2010
I'm looking for a script or a tool I can use from the command line, non-interactively, to add users to our LDAP server.
I could write a wrapper for ldapsearch, ldapadd and ldapmodify, or write something from scratch in perl, but I imagine someone has done this already.
View 1 Replies
View Related
Mar 14, 2010
how to list all postfix user accounts in command line?
View 10 Replies
View Related
Apr 18, 2011
Using the most recent -current/13.37, I'm curious if there is a New Right Way to suspend as a regular user from the command line, now that we've got PolicyKit/ConsoleKit running the show. I've seen some things (e.g., on the Archlinux wiki) that seem to come close, but require UPower. For some reason I can't wrap my head around the PolicyKit documentation well enough to figure this out.
My old solution was to add a line to /etc/sudoers giving anyone in the power group access to pm-suspend, pm-hibernate, and shutdown, and this is probably what I'll end up doing with 13.37.
View 8 Replies
View Related
Nov 4, 2010
I need user to input a password through command line in Windows cmd prompt. Is there a way to encrypt the input (such as put it into ......) when user is typing ?
View 2 Replies
View Related
Aug 29, 2010
Trying to create a small script that will read user's input, test if user entered some input and if not display some message or display a text using user's input.
The script is the following but i get an error saying "[: 6: =: argument expected"
View 12 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Jan 28, 2010
I heard (although I can't find any sources for proof) that the USER environment variable may not be set in a old Unix shells (maybe even some obscure shells as well). What is the probability that it won't be set?
View 2 Replies
View Related
Jun 2, 2011
I have been give a task of replicating one of our production systems to create a test system. I have been restricted to use c shell to set up its environment variables. I am new to this my questions is how do i set environment variables for a particular user on c shell e.g ORACLE_HOME and ORACLE_SID permanently for a particualar user i know in bash you edit the .bash_profile file. What do i do for c shell?
View 2 Replies
View Related