General :: Editing, Vim Creates Another By The Same Name With A Tilde?
Jul 19, 2011
Here's what is going on; I'll open any file in vim to edit, and then when I'm finished and I enter ":wq", instead of saving the file I was editing, vim creates another by the same name with a tilde.
View 4 Replies
ADVERTISEMENT
May 26, 2010
I'm trying to use a tilde '~' for a filename. This works fine normally Code: rm ~/File
But when I have a file with a space in in and enclose it in quotes it takes it literally.If a word begins with an unquoted tilde character (�~�), all of the characters up to the first unquoted slash (or all characters, if there is no unquoted slash) are considered a tilde-prefix.
View 5 Replies
View Related
Jun 6, 2011
I understand the tilde (~) at the end of a file displayed in bash is a backup file in the Linux file system. Is there a way to keep these hidden when listing the contents of a directory?
View 2 Replies
View Related
Feb 12, 2011
I have an Apple Aluminium keyboard. To the left of 1 key I have the less/greater (< >) key, not grave/tilde (` ~). xmodmap does not work for me: layout switching (done with setxkbmap) resets my xmodmap changes. .Xmodmap file does not help either. How do I remap the tilde key?
View 1 Replies
View Related
Nov 27, 2010
I have installed Ubuntu 10.10 meerkat on My Macbook 5,1 and all is ok so far.One thing I have noticed is I cannot type the tilde key how I normally do using SHIFT and then the button to the right of shift on my macbook keyboard. I have tried the UK and USA Macintosh keyboard option with no luck.As you can see my forum login uses the tilde key. I have to copy and paste the character. I cannot even see it in the character map.
View 1 Replies
View Related
Apr 14, 2010
My cron job is executing the below mysqldump command but it produces an empty sql file. However, when I run from the command line, it works as expected.
Code:
15 6 * * * root mysqldump -uroot -pXXXXXXX mydbname | gzip > /home/dbbackup/db_`/bin/date +\%Y\%m\%d\%H\%M`.sql.gz
I'm on CentOS 5.4 and use "env EDITOR=nano crontab -e" edit my cron (then paste the above command.
View 5 Replies
View Related
Mar 3, 2010
I'm trying to remap my Nostromo N52 using pystromo, but can't figure out how assign the key with the ~ tilde on it. Everyone knows and refers to this key as the tilde key, but I can't for the life of me find the real name of it, since the primary symbol on it is not tilde but [URL]...
View 2 Replies
View Related
Mar 27, 2010
I'm absolute beginner to Linux for the most part. What does the tilde mean in this situation? Code: mkdir ~/.somedir...I know the / means root directory and the dot means from here. Does the tilde mean hidden?
View 9 Replies
View Related
Jul 24, 2010
So I've made a bit of a mess of things. I installed Tilda and had it working like a charm.I bound it to the tilde key (shares a key with ~, maybe it's called grave?) and it was great.I also have a Logitech MX Revolution mouse and decided to use xbindkeys to fix the thumb wheel which is the only set of actions that doesn't work out of the box. I decided to set the wheel press action to the tilde key, hoping to have a button on my mouse to open Tilda.
After fumbling around trying to figure out how to identify the tilde key I somehow managed to bind it to xterm. This wouldn't do. So in an effort to clear the binding to default I bound it to "". Well now the key does nothing unless I use it in conjunction with the shift key, in which case it produces the normal ~.So here's my question: how do I restore that key to it's default function? I should point out that I just started using Ubuntu 10.04 exclusively a day ago and have had limited experience on Linux before this.
View 4 Replies
View Related
Mar 11, 2010
I am trying to use ln to create a hard link to file a and whenever I do it, it creates a copy of the file instead. After having edited file a, when opening the link, it shows the old information and opening file a shows the new information. The command I am using is
Code:
ln /home/user/file
within the new directory i am trying to link from. I am using centos 5.4.
View 7 Replies
View Related
Feb 8, 2011
i want to learn to use the terminalbut i am using a spanish keyboard and i don t know how to tipe the tilde � symbol.In windows i tiped boy de ALT + ascii code, but in ubuntu i don know how to do it.
View 3 Replies
View Related
Aug 16, 2011
I'm writing a C++ application and need to work with process substitution in the Bash shell. I'm trying to find a way to validate the paths passed as arguments to my program, some of which point to FIFO files created by process substitution.
Is there a shell (or C++) way that I can check if the system creates these files in /dev/fd or if they are created somewhere else?
View 2 Replies
View Related
Oct 7, 2010
when I try to add a user it fails to make the corresponding home directory. I can still su to the user, set the password, and everything else. the output is as follows:
$ useradd username
useradd: cannot create home directory /home/username
I read that this could be a result of there not being enough space but if I do df -h, i see that only 88% of the memory is being used.
View 14 Replies
View Related
Aug 7, 2010
I have noticed quite often that the tilde key only works when I press it twice. I've searched a while and found out that it can be used for accented characters like with the n (can't do that on Windows here anyway). I only know of the tilde-n from Spanish, I've never seen all of the other tilde-characters. And I do not need any of then ever. But I do need to type in my home directory (~) quite often and I want that to work the first time I press that key. Especially when it works through a PuTTY/SSH shell from Windows, but not directly in Gnome Terminal. The system preferences for the keyboard mapping don't help me out.
So how can I disable that double-press feature for the tilde key? It's allright for the accent keys, the � and ` accents alone are invalid characters and should never be used anyway (there's real quotation characters for that) (except for shell backtick expressions) and I don't need the ^ symbol (for coding only) often on Linux.Using Ubuntu 10.4 with German keyboard mapping (de), directly at the machine or via NX/VNC.
View 9 Replies
View Related
Apr 30, 2010
I have created a simple download schedular with source-code give below :
---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile
[code]....
View 1 Replies
View Related
Jun 6, 2010
I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
[code]....
View 9 Replies
View Related
Mar 14, 2011
think of this directory as the current structure..
Quote:
|-- test
| `-- test1
`-- test.tar
test.tar is a compressed tar of /test/ (cvfz), now... I need to add another file called test2 to test.tar, WITHIN the test directory in the tar. Is this possible?
[Code]...
View 5 Replies
View Related
Apr 29, 2010
I have a list of millions of filename in form of say "drau3DDFEA5E01205841DC1B277A".
I need it convert it intousr/local/data/d/dr/dra/drau/drau3DDFEA5E01205841DC1B277AI believe that can be achieved by awk or sed.
View 1 Replies
View Related
Feb 16, 2010
I have a AsteriskNow Linux box and i wanted to add another network card, i have done this and it has loaded the drivers... I have found out that second cards need to be enabled... if i type ifcfg eth1 it shows me the card.... and I need to edit that device with BOOTON selected to ON to enable it.
I have two questions:
A) what is the comand to edit the ifcfg eth-1 card, Apparently i use a text editor but how ? i know what to do once in but can't get in...
B) is there a list of very common linux commands i cuold use to start me off on my linux journey ?
View 2 Replies
View Related
Jul 28, 2010
I am doing a Linux installation. I installed the system fine and am trying to change the vi /etc/hosts file. I have edited the file but am not sure how to save it. I have --INSERT-- showing at the bottom.
View 2 Replies
View Related
May 4, 2010
I have samsung laptop and there is a nasty program called samsung recovery solution that changes the active partition to Windows each time you enter it. The trouble is: I have 2 OSes, Opensuse and Windows 7, and Grub that is installed in my Extended partition, so each time I enter this recovery program active flag is changed and Windows is loaded instead of grub. I have noticed some boot files in that program's folder, so the question is how can I edit them in most convenient manner? I have kde 4.5.3 is there some sort of included program that would help?
View 6 Replies
View Related
Mar 13, 2011
I am just entering the Linux world. All these years I wanted to test Linux but did not have the resources to make a new computer. Then I found Puppy Linux by chance. Nearly all the work I do with Windows 7/XP can be done with Puppy Linux. I am running it from a CD. I developed a smartfont for an Indic language called Sinhala, which uses ISO-8859-1 (Latin-1, SBCS) character set.It makes typing Sinhala, one of the more complex of Indic scripts, easy.
Essentially, this is a transliteration of the 'complex' script into Latin character set and then showing it back in the native script by way of the smartfont. See it here: [URL] Of course, you have no clue what it says. If you copy the text and look, you'll understand what is going on. You can type it with the dead-key keyboard. Only problem is that in certain situations, the font makes conjoint letters where you don't want them. You can prevent it by inserting the ZWNJ, Zero-width non-joiner (u200C), but the keyboard does not have it. Is there a way to edit the keyboard layout and make a modified key layout?
View 4 Replies
View Related
Feb 1, 2010
With movie maker on windows the mpeg movie can be reduced so that it can be emailed, dose ubuntu have any software that dose the same.
View 1 Replies
View Related
Jun 12, 2011
Kernel 2.6.21.5, slackware 12.0
Mozilla Firefox 2.0.0.4
Seamonkey 1.1.2
Under any of Firefox or Seamonkey web browsers, if I type the URL about:plugins, a list of the installed (I assume they mean "installed in my machine") plugins appears. How do you do if you want to edit that list. Say, to disable a mime type or just delete it from the list?
View 11 Replies
View Related
Sep 24, 2010
I have a removable SATA Mobilerack which i use to play with.It has redhat linux loaded on a 500GB disk and i made a new partition using fdisk and then made an ext3 filesystem with mkfs. I then tried to edit fstab to add the new partition but have obviously stuffed it up. When I tried to reboot I get the error fsck ext3: UNABLE TO RESOLVE `LABEL=/mnt'.
View 3 Replies
View Related
Jun 3, 2010
i'm trying to add a watermark and a credits image to all of my old videos. i downloaded them off videos so they are all flv (h.264?). is there some software that will allow me do simple edits in batches? i know a little bit of python and tried looking at some of the library but they all seem like overkill (and way above my head). so is there a solution besides getting some software and going through all my videos and doing it manually?
they are all mostly the same length, but it would be nice to specify a relative position for my credits. e.g. show a static image for 10 seconds when the video is at 95%
View 1 Replies
View Related
Sep 2, 2010
Let's say I have file A, and using 'ln -s A B', I have B. When I open, edit and save B, now B is not symlink anymore. It's just a new copy of A. Is this expected behavior? I use Mac OS X, and I wonder it's common in UNIX. In this case, is there any way to keep B as a (soft link) to A? Or, make B as the hard link would be the only way to solve this issue? What's the advantage of using soft link than hard link? The editor that I use is 'TextMate' on Mac.
View 1 Replies
View Related
Nov 25, 2010
I use cygwin on Windows7 to open a ssh session to my linux box. When I edit a file with vim, I don't have color, only kind of gray bold. I have colors when I do a ls into my ssh session. I have also colors when I edit files from a ssh session from my linux box to my linux box. I modified the shortcut on Window7 to run cygwin in 256 colors, no effect. Do I need to set an environment variable on my cygwin session ?
On Cygwin and On Fedora when "sshed" from Gygwin : TERM=cygwin
View 2 Replies
View Related
Jan 9, 2011
I want to edit text files on Linux server from Windows, using text editor like Notepad++ or UltraEdit.I've managed to do so using WinSCP. It can edit files remotely and offers me to choose local application to open those files.That is exactly what I need, but when I hit ctrl-s (not every time, in about 50% cases), it waits for around 10 seconds, alerts that connection has failed, and offers me to "abort". When I click abort, it instantly reconnect and save file.
View 1 Replies
View Related
Jul 5, 2011
Is there any program that can change in custom catalogue every music file author to the name choosen before start? I need it 'cause I have lot of author name variants in my folder.
View 2 Replies
View Related