General :: Finding Commands Starting With A Given Letter Like For Example 's'?
May 24, 2010find commands starting with a given letter like for example 's'?
View 6 Repliesfind commands starting with a given letter like for example 's'?
View 6 RepliesI 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 RelatedNot 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]....
To find all files recursively starting with a . (period), is the following OK:
find ./ -name '.'*
finding UNIX networking commands in detail?
View 6 Replies View Relatedhow to find total size of all files whose names starting with a
OS: SunOS
du -h a* is giving individual file sizes.
Anyone know the commands to start, stop, restart the network manager?
View 2 Replies View RelatedRistretto is starting with my Xubuntu... My pc has only 125MB of RAM... Is there a command to prevent ristretto of starting with the system? Are there any other ways to let my xubuntu faster?
View 3 Replies View RelatedWant 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 RelatedI'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.
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 RelatedI'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.
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 RelatedEveryone 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! ).
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 RelatedI 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 RelatedOn 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.
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 RelatedI 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?
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 Relatedbut is it possible to assign a key on the keyboard to make a specific letter - eg. ?
View 9 Replies View Relatedi 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 Relatedive 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 Relatedfor 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 RelatedSince 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.
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]...
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 RelatedAs 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 RelatedUbuntu 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 RelatedWhenever 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