General :: Configure The Prompt But Don't Know What The Syntax Is Specifically Doing?

Oct 20, 2010

The following line is in the /etc/bashrc file. It's fedora 8. I know this is meant to configure the prompt but I don't know what the syntax is specifically doing.PROMPT_COMMAND='echo -ne "33]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}07"'I think that 33 is the ASCII character for ESC but not sure what ]0 does or anything after the HOSTNAME variable. Are these xterm control characters? All of my Google search results fail to explain it in any kind of meaningful detail.

View 3 Replies


ADVERTISEMENT

General :: Configure Bash Prompt To Show Current / Parent Directory Only

Oct 15, 2010

I would like to modify Bash Prompt so it does not show the whole $PATH but just the current and parent directory. I am using Ubuntu.

View 3 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

Debian :: Syntax On Configure Option Of Apt-cdrom

Oct 22, 2015

I can't figure out the syntax on the apt-cdrom command.

My CDROM is flaky, but have a portable CDROM attached to a usb.

Here's the output of lsusb:
Code: Select allroot@home:/etc/apt/apt.conf.d# lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 04b3:310b IBM Corp. Red Wheel Mouse

[Code] ....

Here's the output of df:
Code: Select allroot@home:/etc/apt/apt.conf.d# df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1      464279312 4089292 436582932   1% /
udev               10240       0     10240   0% /dev
tmpfs            1619088    9132   1609956   1% /run
tmpfs            4047716     164   4047552   1% /dev/shm

[Code] ....

Here is my modified fstab:
Code: Select allroot@home:/etc# cat fstab
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).

[Code] ....

Here is my configure file:
Code: Select allroot@home:/etc/apt/apt.conf.d# cat config.usb.cdrom
Acquire::/dev/sr1::/media/bill;

Here is my command and output:
Code: Select allroot@home:/etc/apt/apt.conf.d# apt-cdrom -d=/media/bill -c=config.usb.cdrom add
Using CD-ROM mount point /media/bill/
Unmounting CD-ROM...
Waiting for disc...
Please insert a Disc in the drive and press enter

[Code] ....

There must be something simple that I have missed.

View 2 Replies View Related

Software :: ./configure:line1349:syntax Error Near Unexpected Token 'libdrm'

Apr 6, 2011

When i compile xorg-1.7.2 on debian6 like this:

View 5 Replies View Related

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 Replies View Related

General :: Possible To Only View Certain Chains And More Specifically Certain Chain Policies

Mar 26, 2010

Is it possible to only view certain chains and more specifically certain chain policies with options when doing: iptables -L..I would like for example view FORWARD ACCEPT rules instead of waiting for all of the drop rules to load when viewing a firewalled iptables.

View 1 Replies View Related

General :: Creating A Chroot Environment - Specifically With A Different Kernel ?

May 9, 2011

I have successfully installed a Ubuntu chroot (Maverick) on a running Linux appliance (an old Thecus N5200PRO box) which has been running various services for me quite happily.

When I attempted to add a webcam (for snapshotting) to this mix, I've come up against a problem. Since the chroot by default uses the kernel of the Thecus appliance, there appears to (understandably) be no support for the Logitech UVC webcam in the appliances' kernel; consequently inside or outside the chroot I can't access the UVC webcam.

I think I can get around this in a simple way if I can run a standard Ubuntu Maverick 32-bit kernel in the chroot.

Does anyone know how to chroot with alternative kernels, or quite simply, how to get a UVC webcam accessible on a Thecus N5200PRO?

Other details:

lsmod output
Output of uname -a:

Linux cube 2.6.23N5200 #1 PREEMPT Wed Jul 29 14:13:22 CST 2009 i686 GNU/Linux

lsusb -t output

View 2 Replies View Related

Fedora :: Configure Gdm To Prompt For Username?

Jul 17, 2009

Anyone know how to configure GDM 2.26.1 to NOT display the list of users, but instead just prompt for username and password?I tried the following (as normal user and also as root):

Code:
gconftool-2 -s /apps/gdm/simple-greeter/disable_user_list -t bool true
Then, I queried the value as follows:

[code]...

View 2 Replies View Related

Ubuntu :: Configure To Prompt For A Password After The Screen Is Locked

Oct 27, 2010

i need to knw is the a way to configure the ubuntu desktop to prompt for a password when relogin after the screen is locked?

it asks for a username and password a at the login prompt if i relogin after logging out out but when i lock the scree by pressing ctrl +alt + l and try to relogin it will not ask for a password , it just let me log in automatically to the pc , i think this is a security issue cos anyone else can login to my pc without prowiding credentials

View 2 Replies View Related

Fedora Networking :: Configure Sendmail To Send Email From Command Prompt To Any Domain?

Jan 21, 2010

I have an issue with sendmail. I need to configure sendmail to send email from command prompt to any domain. This is just for the notification purpose. I installed sendmail and sendmail-cf and sm-client. The following are the configuration I have done.

/etc/mail/sendmail.mc
1) dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
2) m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
3) /etc/hosts = 127.0.0.1 localhost.localdomain
/etc/hosts = 192.168.2.50 mysystem
4) /etc/hosts.allow = sendmail:ALL
[Code].....

View 1 Replies View Related

Ubuntu :: Set Preferred Applications More Specifically?

May 29, 2010

The Preferred Applications applet doesn't do what I need it to do.

What I'm looking for is a Win 3.x style File Association applet or config file so I can have .mp3's handled by Audacious and .m3u's handled by VLC, and so on. I'm sure it's out there somewhere, but I can't find it.

View 2 Replies View Related

Ubuntu :: Is There Any Build Specifically For Developers

Jul 20, 2010

I mainly do c/c++ development in linux...also i sometimes use java and i would really like it if i had mono also.. so i am pretty much looking for support for all major languages with ides...can u suggest me a distribution?

View 1 Replies View Related

General :: Get Away From The # Prompt And To The $ Prompt?

Mar 19, 2010

I'm logging on my server via PuTTY but I'm getting the bash # prompt and I can't call the few commands I know i.e.: lynx

How do I get the more familiar $ prompt?

View 4 Replies View Related

Debian Multimedia :: Specifically Inkscape Is Not Updated In 8.1

Sep 17, 2015

I have installed Debian 8.1 in several machines. Always I have a message for updating the systems I accept the upgrade.In one of the machines, where I did several upgrades, Inkscape never have been updated while in the others a updating from Inkscape 0.48 to 0.91 was made. I do not why and I would like to have Inkscape updated in all machines. is there some special condition for what packages will be presented for updating?

View 6 Replies View Related

Ubuntu Networking :: How To Run Samba With Different Option Specifically -D

Oct 18, 2010

How do I run Samba with a different option, specifically -D? Can I do it from the GUI (system-config-samba)?Also, how do I ensure it runs and startup?

View 9 Replies View Related

Ubuntu :: Use Maximus Only On Specifically Selected Programs?

Mar 25, 2011

I have read a million threads about adding exceptions to Maximus, and I know how to do that, but is there any possible way of telling Maximus not to touch any programs except the ones I specifically want it to? Actually, the ONLY program I want it to touch is Firefox.

Is there some secret syntax I could put in the exceptions to the effect of "all and not firefox" (as in, make all programs an exception, except Firefox)?

View 4 Replies View Related

Ubuntu :: Use Programs Specifically Designed For Cluster Use?

Mar 28, 2011

If I was to set up a Cluster, I know it wouldn't make much difference to loading up my browser, but would all heavy duty programs (Video Encoders mainly) work with it, or would I need to use programs specifically designed for cluster use?

View 1 Replies View Related

Ubuntu :: Re-insert Icons To Top Panel? (Specifically Evolution)

Nov 8, 2010

I'm really new to Ubuntu, and am running 10.04. Anyway, I accidentally got rid of the Evolution icon in my Notification Area. Every time I try to put an icon in that section, it will not let me, and makes me put the icon on the left side of it, like on the main part of the panel. I do not know if I just hid the icon, or if I actually removed it, and I am sure the fix is really simple, I just can't seem to figure out how to do it. Also, I opened the Universal Access program when checking out all the cool things in my new OS, but I can't figure out how to hide that icon.
So if you could tell me how to unhide Evolution and hide Universal Access, in the Notification Area, that would be awesome.
Here is an image if you do not know where I am talking about, or whatever

View 3 Replies View Related

Hardware :: Any Portable Media Or Mp3 Player That Is Specifically Made For

Jan 26, 2010

Is there a Linux competitor for Zune and iPod out there? - any portable media or mp3 player that is specifically made for or by Linux? I know there are enough players that simply play mp3s off a flash memory and are therefore compatible with any OS but I am rather looking for something like Zune or iPod - doesn't have to be with touch screen but with some library interface and easy synchronisation options.

View 4 Replies View Related

Server :: Setting Up A Cluster Specifically For 3D Video Rendering?

Nov 1, 2010

I'm planning on setting up a server cluster specifically for 3D video rendering. In order to maximize speed I wanna use OpenGL hardware acceleration for that and I'm pretty sure that I have to use an NVIDIA video card if I want the whole thing working reliably. Will I be able to start an X-Server with GLX on an NVIDIA video card that doesn't have a monitor connected to it? And what will be the maximum "virtual" display resolution that I can use?

Since I wanna have several servers running side-by-side I really don't have the room for any monitors.Just to avoid misunderstandings: It is not my intention to show what's being rendered to anyone in real time. I will only create video files that can be downloaded later. I'm already pretty sure that this will work, probably using "CustomEDID" or something like that, but I don't have a suitable setup available to test it right now.

View 1 Replies View Related

Software :: Use An OLD Distribution<more Specifically -install It Onto A Hard Drive?

Jun 14, 2011

I am trying to use an OLD distribution<more specifically -install it onto a Hard Drive.>The OS is Media Linux circa 2003~4 ,it was released in Italian .However there is a choice of English on it. I have to change to SU to install. But It does Not respond to SU as password??

View 2 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

General :: Syntax For Find On Mac OS X

Mar 10, 2010

I have a project directory that contains source code and subdirectories of source code. I want to use the Unix program find to search recursively for the names of files of certain extensions. The versions of find on Linux and Mac OS X behave differently.

# Works in Linux
find . -type f -regex ".*.(py|html)$"
# Neither of these works in Mac OS X
find . -type f -regex ".*.(py|html)$"
find . -type f -regex ".*.(py|html)$"

How do I write this command so that it will run on Mac OS X (and hopefully on Linux too)?

View 2 Replies View Related

General :: Sed Syntax To Remove Xml

Mar 13, 2011

I'm trying to sanitize this output from it's metadata to plug this output into GreekTools, but I am getting stuck on sed.

View 2 Replies View Related

Ubuntu Networking :: Get A Wireless-N Card And Asked Specifically If The One Recommened Was Supported?

Jul 17, 2010

I need to know the best Wireless card for Ubuntu. One that is supported without the "wrapper" and is supported out of the box. I know that the Wireless-N is not supported well in Ubuntu without a wrapper.

(I went to Best Buy to get a wireless-N card and asked specifically if the one they recommened was supported. They said yes. And I now doing research I find it is not.) I need to get my Unbuntu Linux desktop up and working on wireless as soon as possible.

View 2 Replies View Related

Server :: Determining System Limits Affecting Apache - Specifically RLimitMEM

Mar 15, 2011

Our Apache server is pretty much configured straight out of the box, and I've noticed it is using far more CPU and less memory than another server where I have the following:

RLimitCPU 8
RLimitMEM 100000000
RLimitNPROC 24

The Apache documentation says that if these aren't set, the values are obtain from the OS. How can you tell what those are? I'd like to see if I can tune Apache's performance, but I don't even know if these values are higher or lower than what it's currently using...

View 5 Replies View Related

General :: Syntax Error In If Loop?

Mar 7, 2011

I have a requirement to check the following conditions..If my folders are not A and B then list files in the directory else no listing the filesso my if loop is some thing like this.

Code:
if [ $dirName = "C" && $dirName != "A" && != "B" ] then
ls -la

[code]....

View 1 Replies View Related

General :: Remove Files Which Have A Certain Syntax

Jan 23, 2011

I have a couple of files which follow this syntax:

*_yyyy-mm-dd_hhhmmm.*

Example:

*_2010-01-01_00h10m.*
*_2010-01-01_01h10m.*
*_2010-01-01_02h10m.*

[Code].....

and delete the others. or maybe move them to a subdirectory to be safe...

View 2 Replies View Related

General :: Why Is Find's Syntax So Strange

Feb 12, 2010

exec, a option of find command, takes a odd format as followsfind ... -exec command {} ;Is there any explaination about why it takes this kind of format, orsome obscure implication?

View 3 Replies View Related







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