Ubuntu :: Get To The User Directory From Command Line

Oct 24, 2010

how do you get to the usr directory from command line.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Burn A Directory To A CD (Command Line)

Aug 3, 2010

i need to burn a specific Directory (and all it`s content) into a CD by using the command line what do i need to write ?

View 1 Replies View Related

Ubuntu :: Set Custom Directory Icon From Command Line?

Jan 17, 2010

I am looking for a way to (via bash script) set a custom directory icon for a number of directories. All of these directories contain a "cover.jpg" image. I can accomplish this manually by right clicking the directory > select "Properties > click the directory icon button > select the "cover.jpg" image. I am just looking for the way to do this in the terminal to save time, as the music collection is quite large.

View 8 Replies View Related

Ubuntu :: Put All Of The Current Directory's Files On The Command Line?

Feb 21, 2011

Is there an easy way to put all of the current directory's files on the command line, without tab-completing each individual one?

View 9 Replies View Related

General :: Command Line 'last Directory' Button?

Jun 16, 2010

in the command line there's a button (tab) for autocompleting commands and I'm pretty sure linux has a button that prints the last directory I used/typed whatever?

View 6 Replies View Related

General :: Can See Properties Of A Directory Using Command Line

Mar 4, 2011

I am struggling to learn the command line, and am stuck to the following In my directory ~/Music , I have many music archives , total about 0,8 Gbyte . Yet , changing to this directory ) and giving ls -dlh , I get

ioannis@ioannis-laptop:~/Music$ ls -ldh
drwxr-xr-x 4 ioannis ioannis 4.0K 2011-03-04 14:55

So, only 4 k size and no info about the number of the files in the dir

View 6 Replies View Related

Red Hat / Fedora :: How To Add User Through Command Line?

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

Ubuntu :: Add User Permission To Use Sudo In Command Line?

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

Fedora :: Create An ISO Image Out Of A Directory From Command Line?

Feb 7, 2010

I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.

At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:

Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?

Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?

View 5 Replies View Related

Fedora :: Command Line FTP - Transferring Entire Directory?

Jun 10, 2010

Need explanation from a FTP guide's reference of FTP's GLOB command.
mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). Then FTP does not transfer, even with mput, a directory of files to remote server?
Does this quote suggest I can tar my files, upload them, then untar them on the remote server?

View 1 Replies View Related

General :: Check If A Directory Exists In Command Line?

Jan 21, 2010

How to check if a directory exists in Linux command line?

[Code]....

View 5 Replies View Related

CentOS 5 :: Active Directory Authentication Command Line?

May 21, 2010

I have just installed the 32bit and 64bit versions of CentOS 5.5 and was wondering how I can add these machines to Active Directory for authentication. I've done this in the past with CentOS 5.4 using the GUI and everything worked just fine but now need to do everything from the command line.

View 1 Replies View Related

Ubuntu Servers :: Command Line To Copy File To Root Directory

May 12, 2010

I want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.

View 4 Replies View Related

Fedora :: Suspend From Command Line As User ?

Mar 13, 2011

Is it possible in Fedora to suspend from the command line as a non-root user?

View 9 Replies View Related

Fedora :: F15 Suspend Command Line As User ?

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

Ubuntu :: What The Diffent - Root User And Susdo In Command Line

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

Ubuntu :: Suspending Laptop From The Command Line As A Normal User

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

Ubuntu :: Give A User Sudo Privilege From Command Line?

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

Ubuntu Security :: Preventing User From Accessing Command Line

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

Fedora :: View A User's Group In The Command Line ?

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

Server :: User Management Web Tool For Red Hat / Use Ssh - Command Line?

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

CentOS 5 Server :: Create An User Through Command Line?

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

General :: Create A *one* Line Command That, Using Tar, Will Collect The Full /usr/local Directory?

Oct 6, 2010

I am currently interning at a place and my job is to essentially learn UNIX. My supervisor gives me problems here and there to help guide me with my learning but for the most part I'm doing this all by self-teaching myself. Needless to say I have run into a few obstacles...for instance-Create a *one* line command that, using tar, will collect the full /usr/local directory (you need to run this as root again) and copy the whole /usr/local structure under /optFor example /usr/local/bin/hello will become /opt/local/bin/hello, etc. I want this as follows:1. /usr/local is collected by tar, but the output of this tar command is its stdout.. what you get from the previous stdout, you compress with gzip and send it to stdout again 3. get this output and decompress with gzip.. get this output and pipe to tar in a way that will extract the tree under /opt.If anyone knows how I could go about doing this, please let me know, or at the very least point me in the right direction. What I've got so far (which could be completely wrong) is:tar cvf - usr/local/ | gzip -c - | gunzip -c - | tar xvf -in theory I feel like this should work (except for extracting the tree under /opt...i'm kinda stuck there)

View 3 Replies View Related

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 View Related

Server :: Command Line Tool To Add User Records To LDAP?

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

Software :: List All Postfix User Accounts In Command Line?

Mar 14, 2010

how to list all postfix user accounts in command line?

View 10 Replies View Related

General :: Command Line - Automating A Task - Copy All Subdirectories And Files From One Directory To Another

Jun 10, 2010

I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.

View 2 Replies View Related

General :: Create An Ext2 Partition From Command Line Which Is Writable From Every User

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

Slackware :: Suspend - Hibernate At Command Line As Regular User In 13.37 - Use ConsoleKit?

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

Programming :: Perl - Way To Encrypt Command-line Input When User Enter A Password ?

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







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