Ubuntu :: Extracting .rar Packages - Insert A Password In Command?

Oct 17, 2010

Is there a easy program that uses a GUI or am I going to need to do this from the terminal, either way I don't care I just need to be pointed in the right direction. I installed the 7zip package and started using it in the terminal but I can't figure out how to insert a password into my command. 7z x <package> [LOCATION] ?

View 9 Replies


ADVERTISEMENT

General :: Extracting Date And Time From The At Command?

Sep 10, 2009

I would appreciate help with how to extract the date and time from at command jobs. From what I can tell, the date and time is embedded in the file name (/var/spool/atjobs).I'd be using this information in a (bash) shell script.

View 14 Replies View Related

General :: Extracting Absolute Directory From Type Command?

Sep 26, 2010

I need to extract the absolute directory from the type command when I pass it a program name. E.g.

Code:

>type cat
cat is hashed (/bin/cat)

There is one other case (I believe):

Code:

>type lpr
lpr is /usr/bin/lpr

I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.

Note: this is part of my solution to a programming assignment in bash shell scripting.

View 1 Replies View Related

Debian :: Insert Command During Boot?

Jan 31, 2010

I have finally gotten Samba working! Turns out there was no domain set, even though I remember setting it during the install process...hich brings me to yet another question... Now that I have a mount command that works, how do I insert this such that it is run during the boot process? I want to automount a few Samba shares. Is this a good idea?If not why not? If so, where do I edit to add the mount command?

View 3 Replies View Related

Ubuntu :: Firefox Error : INSERT Command Denied To User ?

May 31, 2010

Firefox seems to suddenly dislike one of the groups i belong too, whenever i try to access it I get the following message,

Database Error: INSERT command denied to user 'usingle_210259_1'@'linweb14.atlas.pipex.net' for table 'smf_log_online'
File: /websites/LinuxPackage02/si/ng/le/singlewithkids.co.uk/public_html/forum/Sources/Subs.php
Line: 2602

Is this a server error, or is it my system? I have tried using a different theme but I still get the same error.I'm using the gnome classic theme ATM.

View 4 Replies View Related

General :: Insert Line Into A File With A Command?

Jan 4, 2010

I would like to insert a line into the /etc/sysconfig/iptables with a command like sed or with any script. How can I insert this line:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

but under the line "-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT"

View 2 Replies View Related

Ubuntu :: Command Not Found \ Edit The 2 Files And Delete The Insert Lines?

Mar 10, 2010

i try do modify BASHRC and ENVIRONMENT files on directory ETCthen all the command don't work, such as:SUDO, GEDIT, NAUTILUS, NANO and some others!now i want to edit the 2 files and delete the insert lines

View 9 Replies View Related

General :: Insert Text In The Last Line Of A File With Sed Command?

Oct 4, 2010

I want to insert the text "DB dept" in the last line of passwd file which looks like this right now

Quote:

newuser:x:717:717::/home/sacharje:/bin/bash

And I want it to be like this:

Quote:

newuser:x:717:717: DB dept:/home/sacharje:/bin/bash

I tried to do that with sed but failed, I'd like to know the proper syntex with sed to achieve this.

View 7 Replies View Related

General :: Insert Text To A File Using Command Line?

Jan 28, 2010

I need to be able to edit a file from the commend line as I intend to script this operation, the file is called menu.lst The original is as below

Code:

titleUbuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root(hd0,0)
kernel/boot/vmlinuz-2.6.24-24-generic root=UUID=b09feb23-5524-4ec4-862f-94700b968f64 ro quiet splash

[code]....

View 4 Replies View Related

General :: Mail Server : Reset The Password For It Using The Password Command From The Root Login?

Jul 23, 2009

I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?

View 1 Replies View Related

Software :: Password Command Doesn't Recognize Valid Password

Nov 23, 2010

I migrated an old SuseLinux 10 box to Debian (Lenny) a couple months ago, and apparently no one noticed you can't change your password. Root can do it because passwd doesn't ask root for a password, but no one else can (although they can log in, passwd doesn't recognize their login password when they attempt to set a new password and it asks).I changed authentication to use blowfish when I setup the server (because the SuseLinux 10 system used it) and apparently the passwd command doesn't work with that. Apparently I need to update another configuration file or possibly get a different program to update the passwd file if I use blowfish. Any ideas?

The weird thing is that it can generate a blowfish hash to set a new password, but apparently can't generate one to authenticate the user.something changed recently and it is no longer generating a blowfish hash when setting a new password. It is generating a hash with only 13 characters. And I can clearly see that many users have changed their passwords.

View 1 Replies View Related

General :: Error: Cannot Connect To The Database Because: INSERT Command Denied To User 'webuser'@'localhost' For Table 'visitor'

May 6, 2011

Error: Cannot connect to the database because: INSERT command denied to user 'webuser'@'localhost' for table 'visitor'

[Code]...

View 3 Replies View Related

Software :: Cant Change Password With The Password Command?

Dec 8, 2010

For some reason passwd does not accept my current password as the old password when i try to change my password with the command passwd. Im not sure whats wrong with whatever linux uses to handle passwords but I cant even change passwords with the root user account. Is there any way to fix both of these problems.

View 3 Replies View Related

Ubuntu :: (BASH) Join Command (GNU Coreutils) - Why Join Ignores The -e Flag And Fails To Insert FOO In The Empty Field

Mar 2, 2011

I am trying to understand the join command. I wish to join two files:

Code:
$ cat test1
a 0
b 2.51
c 19.85
$ cat test2
a 0
b 2.51
[Code]...

this is great but I do not understand why join ignores the -e flag and fails to insert FOO in the empty field.

View 1 Replies View Related

General :: Insert A Line Into A Text File Using "sed" Command?

Sep 18, 2010

I've been reading tutorials of Linux sed command, but haven't got anything yet. the problem is : I want to insert a line into my DNS database file which has a pattern like below:

<Domain name> 3tabs here <IN> <A> <ip address>

the question is : how to add a line into a file like this using linux sed command? I have problem inserting tabs and the spaces!

View 7 Replies View Related

General :: Vi/vim And The "insert-only-one-char" Command?

Dec 2, 2010

a vim (alghough I esteem the corresponging vi command is the same) command to insert one character only, into the text being edited. That is, I'm in command mode, I issue command INSERT, I type a character, and automatically I'm again in command mode, where INSERT is the command I do not know. I have vimtutor but do not see it explained there.

View 7 Replies View Related

Fedora :: Install Packages With PackageKit Without Password?

Aug 24, 2010

Is there a way to install packages with PackageKit without having to put in the root password every time I want to install a package? I set up sudo so I can install packages in a terminal without having to put in a password but I dont want to go to the terminal every time I want to install a package. And I dont want to become a root user or anything I just want to install packages without having to put in a password.

View 4 Replies View Related

Fedora :: Install Signed Packages Without Root Password?

Nov 19, 2009

i just read that in fc12 you can install sighned packages without root password?

View 1 Replies View Related

Ubuntu :: Sudo Command To Fix Packages?

Feb 10, 2010

I got one of these broken packages message but can't remember the command to fix broken packages from the terminal.

View 6 Replies View Related

General :: Any Command To Know About Packages

May 1, 2010

I am using Ubuntu 9.04.Is there any command to know about the packages I've isntalled so far?

View 2 Replies View Related

Red Hat :: Installing RPM Packages Using Yum Command

Feb 15, 2010

I am trying to install the rpm packages in a file by using "yum" command. The RedHat version is 5.3. This worked on RedHat 4.4, however it errors out when run on RedHat 5.3. Are there any options to include in the command line?

View 3 Replies View Related

Ubuntu Installation :: 10.04 - Command Line (No Packages To Install)

May 6, 2010

Just installed Lucid from CD ROM. I have 2 HDDs. When the install screen came to ask about partitions, it didn't seem to want me to install it onto the same HDD as my XP/Ubuntu 9.10 partitions, so I installed it onto my other HDD. After it finished, I restarted and it appeared on GRUB. It takes me to a command line where it asks me for my desktop login and then my password.

It allows me to type in my login, but the password isn't so easy. It won't let me type it in. It's as if the keyboard stops working apart from the return key. I have no understanding of command line. As soon as I'd entered my password, it went on to tell me that there were no packages to install, and then stayed on command line as if I'd just opened a terminal. How would I get it to take me to my desktop?

View 3 Replies View Related

Ubuntu Servers :: Which Command To Automatically Update Packages

May 11, 2011

I'm currently writing a script that will update the software packages on six ubuntu servers so I don't have to go in and update them manually constantly. Problem is, I'm not sure which command I should use to do this the most effective and safe way. Currently, I use sudo apt-get upgrade -y on my own machine, though I can see how this could be dangerous on production servers. I was in the IRC chat and I was told aptitude safe-upgrade is something I may want to look into. Is there a way I can only update security related stuff instead of everything? What do you guys suggest would be the best way going about this? Another issue I can foresee is certain packages that have an interactive prompt. While apt-get upgrade -y takes care of most of this, MySQL would fail with this as it opens up it's own prompt. Anyway I could make my script skip these types of prompts, so I can go back and update them later manually?

View 1 Replies View Related

Ubuntu :: What Packages Were Removed By The Last 'sudo Apt-get Autoremove' Command

Jun 12, 2011

Is there any way to find out what packages were removed by the last 'sudo apt-get autoremove' command? Is that info in a log somewhere? I am setting up a recently installed minimal install and my last autoremove seemed to remove some dependencies which has in turn killed my network connections, wired and wireless.

View 2 Replies View Related

Ubuntu Installation :: Installing Packages Via Command Line?

Sep 1, 2011

i am trying to install upgrades for my ubuntu server via webmin, and i put in the command apt-get install imagemagick and when i do that i see the output and it asks me if i want to install, is there a command that will automatically force the installation so that way i dont have to hit yes or Y?

View 2 Replies View Related

General :: Apt-get Install Command Is Not Able To Fetch Packages From Ubuntu Repository?

May 8, 2010

I have been working on Redhat family of distributions since past 1 year. Two days back I installed Ubuntu 10.04 on my laptop. I am novice to Package Management in Debian family of Linux distributions. My Internet connection is working fine. But I am not able to install any package with apt-get package Manager. Here is my /etc/apt/sources.list file

Code:

deb http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://in.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

[code]....

View 12 Replies View Related

General :: Install Total Packages Though Yum Command ?

Jan 2, 2010

How can i install total rpm packages in Server folder which is locket at /root/Server

View 3 Replies View Related

Software :: How To Install Total Packages Though Yum Command

Jan 2, 2010

How can i install total rpm packages in Server folder which is locket at /root/Server

View 1 Replies View Related

Slackware :: Command For Uninstalling Packages By Program Name?

Aug 19, 2010

how to uninstall packages via the program name? For example, if I want to uninstall the program "KWordQuiz" then I would usually have to use the command removepkg -package name But unfortunately I have a fresh install and want to get rid of a lot of programs. So instead of using the package repository and finding each package which would take days (maybe) and removing them individually I'd like to remove a program and all its supporting packages. I am probably just rambling on... Umm, so yes is there a way, or do I have to suck it up and sit at the keyboard for days.

View 8 Replies View Related

Ubuntu :: Quickly Remove Multiple Related Packages From Command Line?

Feb 15, 2011

Is there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.

View 3 Replies View Related







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