Ubuntu :: Set Domain/machine Name From The Terminal Command Line?

Mar 16, 2011

I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Ubuntu :: Command Line Mail Taking Too Long To Send; Unable To Qualify Own Domain Name?

Feb 5, 2010

I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.

Code:
$ datestamp ; mail woodnt; datestamp
02-05-10@193844

[code]....

View 9 Replies View Related

Ubuntu Networking :: Domain - Unable To Resolve Host Whenever Try To Use The Sudo Command In The Terminal

Nov 4, 2010

Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo

steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....

View 1 Replies View Related

Ubuntu :: Run A DOS-like Command Line In Terminal

May 1, 2011

I'm a relatively recent Linux convert and I'm studying computer science. I've been taking some time in getting myself familiar with the Terminal and the Linux command line and can now use the Terminal confidently, albeit with a little help from Google every now and then. I know that when I graduate and start working I will mainly be using Windows computers and thus I would like to be able to use the Windows Command Prompt confidently as well.

Is there any way to run something in the terminal that mimics DOS behavior? If not, is there a possibility for me to personally configure an "alternate" terminal which only allows those linux commands that are equivalent to DOS commands, without removing any functionality of the "original" terminal?

View 4 Replies View Related

Ubuntu :: Load Terminal From Command Line?

Jan 17, 2011

I was tinkering around with my /etc/grub.d/10_linux file to try and alter the way my OS's were displayed on startup and somehow I filtered out my Ubuntu option, now I have no way off accessing the terminal, I tried the command gnome-terminal, but had no success, does anybody know how to access my /etc/grub.d/10_linux file through the grub2 command line?

View 6 Replies View Related

Ubuntu :: Terminal Stuff / Get It In Command Line?

Apr 20, 2011

I don't understand the character between 8F374FEF and sudo in the command line below. Yea, I am a total noob, and if I have to ask then maybe its something I shouldnt be doing. I did try to search the help data base first. I also have tried copy-paste in the terminal as well. So what is that character and how do I get it in the command line?

View 9 Replies View Related

Fedora :: Access Machine In Command Line Mode

Apr 16, 2011

my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.

View 2 Replies View Related

General :: Command Line - Trying To Cleanse Log Files On A Machine - Currently Using Sed

Feb 21, 2011

I have a large amount of log files that I need to remove sensitive data from. The sensitive data is provided to me in a text file and is prone to change. I had hoped to do the equivalent of this:

[Code]....

The commented out egrep works fine, the sed doesn't. Am I right to use sed for this? Or is there a more apt route to take?

View 2 Replies View Related

Debian :: How To Use The Terminal Command Line?

Apr 28, 2010

direct me to a good beginner's guide to Debian? Or explain some things briefly. Where can I learn how to use the Terminal Command Line? How do you add programs to Debian and what all is supported? What are packages in Debian and what can they do? Installing programs is different as expected. I tried installing Firefox, I downloaded it and extracted it into my home directory. I can run it with the Terminal Command: ~/firefox/firefox [When in the home directory] and it works. Is that how it is intended to work? Just random thing there. I guess in a sense, I just really want to learn about every aspect of Debian Linux in a user-friendly type environment.

View 3 Replies View Related

General :: Identify Machine And Raid Version With Command Line

Mar 14, 2011

Is there a way to identify the machine (I believe it's an HP), the information on the type and size of drives it uses, and what version of RAID it has through command line?

View 3 Replies View Related

Ubuntu :: Wally 2.4 - Command Line - As Soon As Close My Terminal - Terminates

Sep 24, 2010

I am using Ubuntu 10.04 and installed Wally 2.4.

I have few questions:

1) Currently I run wally with command line by running

Code:

It works, but as soon as I close my terminal, wally terminates. Is there anyway I can make it not terminate?

2) why is that option disabled?

View 4 Replies View Related

Debian :: Change A Terminal Bkgnd By Command Line?

Feb 9, 2011

I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.

My preferred terminal is terminator, but it doesn't really matter at this point.

View 5 Replies View Related

Fedora :: Terminal : Set Font And Term From Command Line?

Aug 3, 2010

I need to set both my font size and my term ($TERM=vt220) from the command for a /usr/bin/terminal. Is there a way for me to do this?

View 2 Replies View Related

General :: Command Line - RSS Feed Reader From The Terminal?

Jun 12, 2010

Is there a way by which I can read RSS feeds from the terminal itself ? Something that would display the titles and a link to follow. Or maybe a software which works from within the terminal.

View 2 Replies View Related

OpenSUSE :: Defining Default Applications Via Command Line/terminal?

Apr 7, 2011

I recently upgraded from 11.3 to 11.4 succesfully. I had to reinstall several applications and, some of them, can't be configured as default from the control panel (e.g. Opera as default browser, VLC as default media player). The problem is that droplists at the prefered applications don't show any other than the default ones, Firefox and TotemIs there a way I can change these settings via command line or a way to fix what applications are shown at the control panel?

View 8 Replies View Related

OpenSUSE Install :: Start / Stop KDE From Command Line (Terminal)?

Jul 10, 2011

How to stop/start KDE from the command line (Terminal) on opensuse 11.4?

View 9 Replies View Related

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

General :: No Log-in Sound And Command Line Terminal Bell In Gnome / Fix It?

Jul 27, 2010

I recently replaced (fresh install) Fedora 12 by 13. Surprisingly I noticed there is no log-in sound for Gnome and also when I use command line terminal there is no terminal bell in spite of the fact that I checked the "Terminal Bell" option in the EDIT --> Preferences menu! I checked the speakers are not mute, I can play music. Any idea how to fix it?

View 2 Replies View Related

Ubuntu :: Pimp Command Line (Fonts, Colors, Hacks, Terminal Profiles)?

Mar 7, 2011

So I used Arch linux for a while and was really impressed and how colorful the commandline output was. Not only from ls, which I was able to emulate by adding "alias ls="ls --color"" to my .bashrc, but also during, say, bootup and other times.Anyway, I was just wondering, what tricks do you guys use to make your command line experience more visually appealing? Fonts, colors, hacks, terminal profiles?

View 5 Replies View Related

Fedora Networking :: Set Up Samba Using Command Line Terminal / Network Does Not Work

Nov 29, 2010

I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.

If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.

View 2 Replies View Related

Fedora :: Open A File Using Command Line In Terminal And Edit Code Within It?

Jun 10, 2011

How to open a file using command line in terminal and edit the code within it ?code...

View 6 Replies View Related

General :: Burn Data (file) With Command Line (at Terminal) To DVD Rewrite?

May 17, 2010

Now, I use Fedora Core (version 8) with core linux OS 2.6
I have some file data with size about 2G and I want to burn (write) this file to DVD rewrite.

I know linux OS can install software to burn data to DVD, but I don't have permission to install more software. I only use command line over Terminal (Gnome Terminal).

View 4 Replies View Related

Security :: Script To Send A Command VIA Terminal To Wipe An Entire Machine Of Data?

Sep 16, 2010

Is there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.

View 14 Replies View Related

General :: Focus On Command Line Machine System, Network Basics, And File Management Knowledge?

Feb 17, 2011

As a strategy for learning linux I have decided to adopt using a lean windows based approach. I want to focus on command line machine system, network basics, and file management knowledge. In other words find out how desktop manager does it's business, so I know how to master my machine, but by and large once I have made my choices, leave it alone to do just that.

I figure I should know how applications are internally configured etc., but I also figure an apps GUI and config choices should take care of installations, and program usage as in M$ windows. Surely taking care of an applications dependencies are the responsibility of the developer, are they not?

I am working my way through "Rute User's Tutorial and Exposition (Version 1.0.0)" right now for an overall viewpoint. Can anyone suggest a specific source for a point by point explanation of the command basis of a generalised "desktop management" application (KDE,LXDE)? Better yet would be if it had some parallel comparison of the varied approaches taken by different distributions of linux.

A secondary question, is that allowed? Up to a certain point in Ms windows, a thorough knowledge of DOS 6.xx would theoreticaly enable one to more or less duplicate the actions of the windows overlay. Is there a basic distribution (or subset in all of them maybe?) of linux that would be consistent with that paradigm? What would be analogous to DOS batch files, or GM-Basic? Oh! that's 3.I am certainly appreciating the depth of this forum, and the breadth of knowledge among you forumite's. Reading it is time well spent.

View 7 Replies View Related

General :: Detect And Kill Zombie Processes Left From The Command Line Of A Terminal?

Apr 28, 2011

how do I detect and kill zombie processes left from the command line of a Linux terminal?

View 3 Replies View Related

OpenSUSE Install :: Any Substancial Difference Between Gnome Terminal Or Hitting 'c' To Bring Up Command Line

Feb 25, 2010

so the safest way to go about this is to assume I know nothing. I mean, I have a rough Idea of what a kernel is, no idea what a shell is, etc. I do consider myself computer savvy, but know NOTHING about linux and thats why I'm Diving in, hopefully not too much, this is just to give you an idea of what we're working with here.

After several install attempts I kept getting a blank screen. Whether it be black,white, or the default gnome desktop (without any icons, and simple things like ctrl+alt+backspace just doesn't work, or anything else for that matter) I was ending up with a blank screen. Driver for moniter....maybe....but I did succesfully install it once, and it worked like a charm...shutdown properly, and the next day after work...Boom, same thing after startup.today I started from scratch and re-installed....samething, until I hit the power button, went from the dvd(iso) and did a fail safe, now my resolution is much better than it was the first time..Actual questions.....what did I do to fix it when failsafe never worked before?

Is there a way to save these settings, so I don't run into the problem again, because I don't even want to turn of my computer at this point?If i'm trying to dive in and learn the command line actions, is there any substancial difference between gnome terminal or hitting "c" to bring up the command line?

View 9 Replies View Related

Fedora Networking :: Windows Sever 2k3 Domain Controller / Use Machine With Samba As Secondary Domain Controller?

Apr 28, 2009

At the school i work in i have a server2k3 server that provides a domain to all the windows clients, aswell as a fedora server that acts as an imaging machine and webserver.

Im rather concious of the fact that if for any reason the Server2k3 server was to die there is no backup of active directory, or anything that can take its place whilst a replacement is found.

So is it possible to use a fedora machine with samba as a secondary domain controller? so it can be used as a login server, and has a copy of AD.

View 1 Replies View Related







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