General :: Echo Enter The Letter A Or The Letter B?

Feb 11, 2010

Not sure why this won't work, any thoughts?echo enter the letter A or the letter B

read letter
if["$letter" = "A"]; then
echo "coolit's an A"

[code]....

View 1 Replies


ADVERTISEMENT

General :: Convert Document From Size A4 To Letter

May 12, 2010

Want to format document from size A4 to letter.I need to format some documents from A4 to print on letter size paper. The documents are Word documents and pdf.

View 4 Replies View Related

General :: Finding Commands Starting With A Given Letter Like For Example 's'?

May 24, 2010

find commands starting with a given letter like for example 's'?

View 6 Replies View Related

General :: Explanation Of Command To Uppercase First Letter Of Filename

Jun 10, 2010

I'm trying to learn to rename files with the command line, and after browsing around a lot of pages I finally found a command that uppercases the first letter of a file, but the problem is that I want to understand the meaning of each command. The command is:
for i in *; do new=`echo "$i" | sed -e 's/^./U&/'`; mv "$i" "$new";done
I understand the 'for' kinda... but not the 'echo' or '`' and especially the sed command.

View 4 Replies View Related

General :: Looking To Mount Root Dir To Windows Drive Letter

Apr 18, 2011

I have a RH5 box and develop on Windows. I'm looking to mount the root dir of the RH machine just for ease of integration and automatic deployment to the linux box. I'm using WinSCP at the moment but that (from what I can find) only opens a window, which isnt accessible from eclipse.

View 1 Replies View Related

General :: Mapping Sftp/scp As A Drive Letter Without User Logins?

Aug 24, 2011

I'm trying to find a software which could map sftp/scp services to a windows drive letter. I know there are quite a bunch of those available, but i haven't found a single one which could run with SYSTEM or Netservice privileges or have decent command line options so i could elevate the program myself. The mapped drive should be available for other services running on the same server.

Most of the programs (sftp netdrive, expandrive, etc) have only option to startautomatically only when someone logs in. Because of that they are useless to me.Their inability to handle non-interactive starts is a bummer too. FTP->SFTP wrappers don't count as solution despite of integrated windows support for ftp drives. The way they are handled in windows makes ftp mapping unusable without some external ftp drive mapper software.

View 2 Replies View Related

General :: Copy A File X Times Renaming It With All Alphabet Letter?

Sep 11, 2011

this seems to be a strange question, i know. I've a database sqlite file called "a.db".I need to copy it 20 times (1 time for each letter of the alphabet) to have : b.db, c.db , d.db.

View 1 Replies View Related

General :: Make System Partition Letter / Number Designations Persistent?

Aug 15, 2010

Everyone who deals with Linux knows that partitions on hard drives are designated as "sdx#", i.e., sda1 sdb2, etc. I know through experimentation that the number portion of the designation is assigned not according to order on the disk, but chronologically in the order they are created.

Further, if you have several partitions on the disk-say, sda1 through sda3-and you delete sda2, the designation of sda1 will remain the same, but sda3 will become the new sda2. The creation of any further partitions on the drive will start with designation sda3 and increment from that point.

At times this creates a conundrum, especially concerning bootable partitions. Some time back I rendered a partition containing OpenSUSE unbootable because of this, even though Ubuntu owned the GRUB bootloader in the MBR. Ubuntu's GRUB could find and point to the partition using the command "sudo update-grub", but when OpenSUSE took over the boot-up process, its GRUB was pointed to the wrong partition and would freeze up.

My question is this:

Under Windows, one is able to make a Drive letter persistent. Windows will keep the drive letter for that partition and assign around it. Is there a way to change a drive designation number, or at least make it persistent, under Linux? It would be a handy method to forestall these types of booting problems, among other things.

Presently, when a person has installed Linux side-by-side with Windows and want to delete the Windows partition and expand the Linux partition into the free space, I will tell them to format the partition, then shrink it to next to nothing instead of deleting it. This preserves the partition ID scheme while giving them the space to expand their Linux partition into...especially helpful with a seasoned Linux installation that would be a PITA to reinstall and set back up.

Oh, and I already know about UUID. This article explains it, but if you look down through the comments, you will see reasons that it is problematic for desktop application and usage. I want to make it as simple as possible for new Linux users (and myself! ).

View 4 Replies View Related

Programming :: How To Capitalise First Letter In PHP

Jul 28, 2010

I have a string such as "helLo wOrlD". I'd like to transform this into "Hello World", ie. capitalise the first letter of every word, and transform the rest into small letters, both being compulsory.

View 9 Replies View Related

Ubuntu :: Where Is The Letter Wizard?

Apr 1, 2010

On Karmic-64. I try to click on File, Wizard, Letter; then, nothing happens. This is Open Office 3.1

My software source is: [url]

Maybe I need to add another repository?

I can compose a letter without help, but the wizards help with the format.

View 4 Replies View Related

Ubuntu :: What Is Hard Drive Letter

Dec 4, 2010

I can not find my hard drive letters in ubuntu. In the "computer" window it just shows it as "file system". I want to run chkdsk on another hdd that I connected to the computer. It shows up as 2 icons, one called "256 GB Solid-State Disc:256GB Filesystem and the other called "256 GB Solid-State Disc:System Reserved. This disc was installed in another computer as the only hdd and I had problems with the computer so I removed it and installed disc drive. I want to check this ssd here in ubuntu to see if there are any bad sectors etc. All the instructions I can find say to Type "Run chkdsk /[drive letter]" (without quotes) in the terminal win. I entered "sudo lshw" and the drive shows as "*-disc:1" I tried using 1, disc-1 and *-disc:1 as drive letters , example, "Run chkdsk/1" (without quotes), and I get command not found for all 3. There must be a drive letter to these discs as in windows I would guess, it appears that way as I search the net. NOTES, this computer has ubuntu 10.04 installed only and has 3gb native sata mobo, no microsoft at all. I want to check the quality of this ssd as much as possible and can overwrite or delete any and all files on it, reformat it etc. If it checks out good, I may remove the existing hdd on the computer and install this one as the only hdd and install ubuntu and use it a while to make sure it works fine, then remove it and install it to the original computer where i wanted it in the first place. That computer has win7 ultimate on it, but what matters is that one has the 6gig native sata mobo and that is where this ssd will work at its fastest

View 9 Replies View Related

Ubuntu :: Change Assign Key Letter?

Apr 18, 2011

I know their are several threads pre-taining to keyboard remapping, I own a Toshiba X205 S7483 laptop running Ubuntu 10.10 32 bit with the latest updates installed. I like this os overall but here is my question.

My laptop keyboard letter, "b" has broke and Im copying and pasting when I need to use it. Is there a way how I can change either the assigned b letter key to like one of the alt keys or windows menu keys or fn key?

View 5 Replies View Related

Fedora :: Repeating Font Problem With Letter 'r'

Apr 30, 2010

I have a weird font problem that occur from time to time on fedora 12,I suspect gdm-user-switch-applet to be the culprit,but I can't say for sure.notice the weird 'r' letter.

View 1 Replies View Related

Ubuntu :: Assign A European Letter To Keyboard?

Aug 3, 2010

but is it possible to assign a key on the keyboard to make a specific letter - eg. ?

View 9 Replies View Related

Ubuntu :: Capitalize Every Other Letter Of Words In File

Feb 19, 2011

i have this file, and considering it's obnoxiously huge i'd prefer not to have to do this manually. Is there some way i can manipulate sed or awk to change every other letter in all the words in a file to capital letters?

View 7 Replies View Related

Programming :: Capitalise Only First Letter Of Each Word In A Sentence?

Feb 13, 2009

ive searched around about this for a bit, but have been unable to find a working and suitable solution for me to do, what i require is to be able to change a string such as:hIs Is a TeSt to --> This Is A Test - AND place it in a variable - so far ive only succesfully been able to make the whole sentence uppercase or lowercase.

View 2 Replies View Related

Ubuntu :: Black Squares Appear Instead Of Specific Letter

Oct 12, 2010

for some obscure reason black squares appear instead of a specific letter. Not always the same letter - it just seems to pick a letter different every time.

View 9 Replies View Related

Ubuntu :: Impossible To Type 'a' Letter In Terminal / Make It Possible?

May 27, 2010

Since 2 days, when I type the lowercase 'a' letter in a terminal, nothing is written (it's not the case for the uppercase 'A' letter).
The matter appears with all terminal's software (guake, Terminal, xterm...).
The only way for me to type the 'a' letter is to type 'Insert' key before.
I tried many solutions but the matter is still here.
Here, there is some clarifications and some solutions I tried:
-If I copy and paste a text, 'a' don't appears. For example, if i try to copy and paste
'sudo apt-get install'
'sudo pt-get instll' will appears
-The matter appears 2 days ago. Before that, I removed the .gconf file
-It's not a fresh installation of ubuntu but an update from karmic to lucid. When i was under karmic, I was using KDE. Then I did an upgrade, then I tried Xubuntu and Lubuntu and finally I moved to Ubuntu. The first week under Ubuntu (Gnome) was without any matter and 2 days ago, this matter appeared.

-I tried this following command line:
xmodmap -pke >fichier.conf
and the file called "fichier.conf" (I'm french) contains this line:
keycode 24 = a A a A ae AE ae AE

-When I type this line:
printf "x61
"
a 'a' appears in my terminal.

-In tty1 and all the other programs, 'a' appears without any trouble

-I tried with other users in my computer but the matter is still the same no matter wich user I use.

-I tried to change fonts of my environment and I also tried to change fonts only for the terminal but whithout success.

-I tried to change the layout of my keyboard.

View 1 Replies View Related

Ubuntu Networking :: Cannot Start The GUI / Getting Dead.letter Message?

Jun 17, 2010

I was connected to my intranet website using webmin. I was getting a message that the hostname cannot be resolved. I went into the /etc/hosts file and change the following:

127.0.0.1 localhost intranet.lab.net 192.168.50.100 intranet.lab.net
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix

[Code]...

View 1 Replies View Related

Ubuntu :: Assign Drive Letter To Windows Share?

Feb 3, 2011

I've a Windows and a Ubuntu Machine on the same network.I've a shared folder on my Windows machine.I need to permanently map it to drive letter in Ubuntu, just like a hard disk.Think of mapping a network drive in windows, I need to do the exact same thing.Is there a way? I've honestly gone through about 500 posts explaining different ways and I go none working. Is there a GUI for this?I know there is something called mounting, but I need it to be a drive letter for my program to understand.

View 4 Replies View Related

Ubuntu :: Terminal Window Woes: Letter P Not Working

Mar 1, 2011

As of this morning, whenever I open a terminal window, the letter 'p' no longer works. Uppercase 'P' works fine in a terminal window, but lowercase 'p' doesn't do a thing. It isn't my keyboard, either (I can type 'p' here fine).I tried checking the "Keyboard Shortcuts" (Edit->Keyboard Shortcuts..) for the terminal window, but 'p' is not assigned.

View 6 Replies View Related

Ubuntu :: Login: Pressing First Letter Of My Password Causes Reboot

Mar 30, 2011

Ubuntu boots normally, and the login screen appears. When I press the 'g'-keybutton (the first letter op my password), the system complete reboots. Pressing the 'q' does not cause a reboot. Filling out my password using the onscreen keyboard goes OK. After logging in (using the onscreen keyboard method), I can just press the G without problems, and the system is stable.

View 3 Replies View Related

Ubuntu Installation :: Entering Letter Which Follows 'w' In Alphabet In Any Input

Sep 1, 2011

Whenever I hit this letter, it opens my home folder since upgrade to 11.04 Sorry if this is a repeat... not sure how to search for problem without using the letter.

View 1 Replies View Related

Red Hat / Fedora :: Finding Windows Drive Block Letter?

Nov 24, 2008

I am new to linux, I am using Redhat Linux running through Virtual PC software running under Windows XP. Can please tell me how to find out the block device code for C ,D drive, as I need to add them into fstab file to mount . let me know the command to access the Windows Shared folders.

View 2 Replies View Related

Programming :: Awk - Calculate The Number Of Words Containing Letter E In A Textfile?

Oct 12, 2010

i need to calculate the number of words containing letter e in a textfile.

View 9 Replies View Related

CentOS 5 :: Ssh Login Drops Letter E From Input At The Prompt?

Dec 3, 2010

A strange problem has surfaced with my CentOS 5.5 Rackspace Cloud Server. I was doing OK until today. For some strange reason, whenever I login to the server, using ssh and pub/priv key authorization, or password authorization for that matter, the letter E (that's an uppercase 'e') does not echo at the prompt line, it just beeps like an error. At the login prompt, before signing in, the letter E is echoed to the terminal window. I'm using an iMac, OS X 10.6 (Snow Leopard) and the standard Mac terminal application.

This behavior does not occur when using the terminal app locally, i.e., logged into the iMac, and all other applications on the Mac are OK with 'E's. To further test the issue, I used the Java console app that Rackspace provides through a browser (I use Firefox, latest revision). Before logging in, the login prompt will accept and echo 'E'. As soon as I authenticate and get to a system prompt, anytime I press a Shift-e, I get a beep and no echo to the terminal command line. It doesn't matter who I login as, root or another user.

To further confuse things, if I start up an instance of nano in that very same terminal window, nano accepts and echoes the 'E'! Using nano, I've created a short bash script file:

#!/bin/bash
echo "ABCDEFG"

and it echoes properly when run.

Any clues as to where I might look to resolve this bizarre behavior?

My getinfo.sh system specs are here here.

View 4 Replies View Related

General :: Get Drive Letter And Serial Number Of Thumb Drive?

Feb 4, 2010

I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.

View 3 Replies View Related

Debian :: Keyboard Skipping Letters And Continuously Typing Same Letter

Jan 30, 2016

I recently built my first computer which has Debian Jessie running on it.

Everything was running great until I updated the computer a few days ago. After doing that and turning it on a few hours later, the keyboard started missing letters (as in it wouldn't register every key click) and was also typing some letters over and over again. It seems that it doesn't matter what key I press, the same problem occurs.

I tried using the keyboard on my laptop; it worked perfectly. I also tried connecting up another keyboard I had laying around and that seemed to have the same issue. Both keyboards are mechanical.

View 7 Replies View Related

Debian :: Cannot Create Folder With Single Capital Word / Letter

Mar 20, 2011

i'm trying to make a folder on fat32 partition named NEW by typing in console mkdir NEW, then i open PCMan file manager then go to that folder at first the folder name was NEW but after i doubleclick it and go back the folder name was changed to 'new'then i tried to rename it to NEW but it says file exist then i tried to rename it to 'not new' (this time inside PCMan) and it work then i rename it again to NEW, go into that folder and go back again... the folder name changed to 'new' again.anyone know why this happen?? this doesn't happen if i make the folder name more than one word such as 'NEW NEW'

View 2 Replies View Related

Ubuntu :: 9.10 Possible HardDrive Failure - Get A Black Screen With White Letter

Jan 26, 2010

I am not sure but i think I have had a HardDrive failure of some sort.

When I boot up I get a black screen with white letter saying the following:

Code:

Does anyone know if there this is a HardDrive failure or is it something else that I can try to fix? I have back ups of all critical data so a reinstall is possible but I would like to get some noncritical data out on my XP partition.

View 3 Replies View Related







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