General :: Vim: Moving Around In The File?

Apr 3, 2011

In vim, how do I go to a given line? In particular, how do I go to the top of the file or to the bottom? And when searching, how do I unhighlight the found words

View 3 Replies


ADVERTISEMENT

General :: Moving From One File To Another?

Mar 12, 2011

I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home but thats it. How do I go from one directory or file or whatever they are, to another and once I'm there what do I do to see what is in the download file. One more question if I want to change it from e.g. cow to e.g. duck how would I do that(they are just arbitrary names) how do I get rid of cow and how do I put duck in it's place.

View 4 Replies View Related

General :: Changelog For File When Moving To A Different Repository?

Jul 16, 2010

I am versioning my config files with git. Now I need to move some of my config files to a different repository, to achieve a clean structure. Is there a way I can keep the change log for a file if I move it to a different repository? I would like to have all commits of repo A in repo B that touched file A/a if I move it to B/a. Ideally, if I afterwards move A/x to B/x, I would want to see B/a and B/x appear together in commits that touched both files in repository A. I would not expect to have any development step of A/a merged into any of the commits of B, I just want them to appear there afterwards.

View 2 Replies View Related

General :: MV - Missing File Argument (Moving Files Within LAN)

Feb 1, 2010

Objective: To move or backup all the 30 days old files to the other server within LAN. I have tried testing it first within the server by performing below commands:
find /usr/test1/* -mtime +30 -exec mv {} /usr/test2/ ;
But I'm getting "mv: missing file argument" error when I try this.

View 1 Replies View Related

General :: Moving A File To The Root Of The Drive Via Command Line

Oct 17, 2010

How can I move a directory to the root of a drive via command line?

In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'

What is the equivilent in Linux?

View 8 Replies View Related

General :: Rename Multiple File By Moving Part Of The Name To End Of Extension?

Aug 26, 2009

How do you rename:

abc123.txt
abc124.txt
abc125.txt

to

abc.txt.123
abc.txt.124
abc.txt.125

Basically, I want to move the digits from the filename to after the extension.

It works for one file if I type:
rename 123.txt .txt.123 abc.txt.123

but I have thousands of files like these.

View 1 Replies View Related

Security :: Moving A File With No Acl?

Apr 26, 2011

I'd like to know if the mv command is supposed to apply the default acl of the destination directory to the moved file?

I'm on RHEL5, and when moving a file with no acl, to a directory with a default acl, the acl is not being applied.

Note: cp does apply the acl as expected.

View 7 Replies View Related

Programming :: Moving File Using C++?

Nov 24, 2010

i want to move a file. User will give (file_name,current_path,destination_path)as command

View 2 Replies View Related

Fedora :: File Vanished When Moving?

Apr 28, 2011

I had need of putting a file in one of the directories of the $PATH.The echo $PATH is/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/Majara/binI did in the terminal:mv file /home/Majara/binI have learned now that /home/Majara/bin isot a directory, but the file is not anywhere

View 2 Replies View Related

Ubuntu :: Moving A File Between Partitions?

Apr 19, 2011

My temp file is currently located int the root partition which is a a relatively small partition. As it is, if my root partition id more than half full I am unable to make a backup of the whole system. I would like to move that folder into the home partition and maybe even make it a hidden folder. Since a lot of apps depend on the other folders within the temp folder - what I am wondering about is whether I can just move the folder or if I need to be concerned that those apps will not be able to find the folder then. Would I end up needing to go into every app that uses it and change settings? Is there things within the o/s that use it that I would need to reconfigure or something?

Ubuntu 11.04 with the Unity Desktop on a HP ze2000

View 7 Replies View Related

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

View 2 Replies View Related

Ubuntu :: File Moving Permissions In 7.04 Live?

Jan 4, 2010

I'm using Ubuntu 7.04 on a live boot right now so I can move from files from a hard drive on a computer that won't boot. This is my work computer, which contains about three years worth of accounting and inventory information that I absolutely must recover from the drive. The computer runs one SATA drive, and has no ports for additional drives. Otherwise I have two USB drives connected and an IDE connected through a USB adapter. (The SATA drive will not work through the adapter for some reason). I have absolutely no access to another computer with SATA support.

All the drives mount on 7.04, and I can view the files on the SATA drive - which leads me to believe the drive isn't completely dead. So i'm hoping to move the files I need over to one of the USB drives.

However, i'm getting flags when I move files. -Without- installing Linux, is there a way for me to grant myself permissions to move/copy/delete files on my hard drives? Otherwise, is there a simple way (that won't compromise the data on the drive) for me to re-do the partitions the SATA drive so I can install linux?

View 9 Replies View Related

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

View 2 Replies View Related

Ubuntu :: Moving Files Listed In Text File?

Jun 14, 2010

I've got a text file listing 1823 files that need to be copied from their current locations, i.e.To another folder, any idea how I should do this?

View 4 Replies View Related

Ubuntu :: Error Moving File: Permission Denied

Dec 4, 2010

Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is

Code:

There was an error moving the file into /usr/share/projectM/presets.
Error moving file: Permission denied

I am logged in as administrator, why can't I move these files?

View 7 Replies View Related

Installation :: Which File Stops A Red Hat (or Fedora) From Moving To Another Partition

May 1, 2010

I have an obsession of packing a large number of distros into one hard disk. Many distro installers do not like it even though their kernels can support higher number partitions. Typically an installer, say from a Debian family, would freeze when checking a hard disk that has more than 15 partitions. However if I put the same distro on a hard disk with less than 16 partition the installer will be very happy to install. I then copy the distro back to the original disk to a different partition, change the boot loader setting and fstab and the new distro will be happily working in the next hard disk that has 57 partitions.

This scheme works for any distro until recently Fedora refuses the move. I didn't investigate the cause then but I have just come up against a brick wall with the Red Hat Enterrise Linux 6. It was one out of the 4 I just moved. The others are operating happily. The RHEL will boot to a Grub screen. When I select the user account and type in the password it just refreshes the screen as though the password could not be accepted. I can boot up another Linux, mount the RHEL partition, change root to it and change my normal user password. Better still why don't I create a new user and another password.

Same result. I could not pass the log in screen with revised password or from a new account which got displayed. How about a little trick told by Justlinux library file --> to alter the run level. So I mounted the RHEL partition, changed root to it, edited the /etc/inittab and amended the run level from 5 (for X desktop) to 1 (single user - terminal mode). RHEL now boots to a root terminal! Success in a sense that my RHEL boots as expected and there was never a problem with booting. However newer Linux do not permit root log on to the desktop so I cannot check the log in with the ordinary user account to X. After I fiddled with the various files/parameters related to the gdm and X still no joy so I cut my loss and post the question here.

View 10 Replies View Related

Ubuntu / Apple :: Best File System For Moving Between It / MacOS / Windows

Jan 7, 2010

I have an external hard drive that needs to be readable and writable between MacOSX, Ubuntu, and Windows. I also need to work with files over 4gb in size (which can't be done with Fat32, which happens to work with all 3 OS's) I tried MacOS journaled, that didnt work. Before I start reformatting and doing a bunch of guess and check, I wanted to know if the answer was known.

View 7 Replies View Related

Ubuntu :: Automate Creating Directories Based On File Names And Moving Files Into Them

Apr 30, 2011

I have a bunch of .7z files in a directory, and I need to put each one of them into a separate directory, named after the file (without extention). The command line I use:

Code:
find . -type f | mkdir `sed -e "s:..(.*)...:1:"` ; ls | grep .7z | cp * `sed -e "s:(.*)...:./1/:"`
Copying fails though:

[Code]....

PS. I don't want to use scripts, I want to do it using simple commands and piping.

View 5 Replies View Related

Programming :: Bash - Recursive Find - Create Parent Folder - Moving File

Dec 5, 2010

I'm starting bash shell script and I'm looping without any solution.

I'm trying to find some files under a folder hierarchy and in case of errors moving these files to a destination folder under the same hierarchy recreating this hierarchy if not exists.

Finding all ._* files under /src and moving them to /dest recreating folder1 or the others which contains ._* files but without moving files which does not correspond to the pattern.

Code:

I tried find command and I'am getting all needed files

Code:

But I don't know how to use the output to get the parent folder of files which are found to

1- create folder with mkdir -p /dest/folder1 or /dest/folder1/folder4

2- move found files from /src/... to /dest/... with rm command

I'm working on a find command as this trying to do all in the same line but ... little lost

Code:

View 8 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

General :: Cannot Log In After Moving Server?

May 6, 2010

We are really scratching our heads on this one.We moved 3 Dell PowerEdge servers with Fedora 12 x86_64 from one datacenter to another.2 of them are fine but the 3rd we cannot log into any more.The KDE login screen comes up,e user names are shown, but our passwords don't work.Going to the console, we cannot log in as root with the password either.Also, I set up shared keys for ssh between the 3 boxes so that I could ssh between machines without entering my password -- that doesn't work either. This one is one of the head scratchers since /home is on a different disk.I'm 1,600 miles away and the tech that went into the cage to try from the console does not know Linux. Dunno how he got picked...

What exactly would have been corrupted to cause this behavior -- unable to login locally AND ssh authorized_keys no longer works?Oh, and apparently they were initially able to get into the machine from the console after the move since they were able to configure the NICs. But now we can't.We know how we can get a root login on a reboot from GRUB, but we don't know what to look for as far as what might be wrong with the system once we're in

View 1 Replies View Related

General :: Moving Pointer Without Using Mouse?

Apr 2, 2010

How can I move the mouse pointer on Linux without actually moving the mouse?

View 2 Replies View Related

General :: Moving Characters To The End Of Line (EOL) With SED?

Sep 13, 2010

Any time the word The appears at the beginning of a line, I want to move it to the end of the line and capitalize the new first word in the line. For example, The heaven becomes Heaven the. I'm trying to test this out for my Library.

View 2 Replies View Related

General :: Moving From Mandriva To Suse?

Jun 25, 2010

I dual boot XP and Linux. Right now i've been running Mandriva but haven't been that satisfied with it as of late and am thinking of switching to the new Ubuntu. My question is, what would be the best way to go about this.. would i want to switch back to the windows bootloader, remove the linux partitions and then remake these partitions from free space during the Ubuntu install?

My main concern is wether it is necessary to switch back to the windows bootloader before proceeding (LILO currently) as i have no problem removing the old Mandriva partitions... I thought I'd reply to this thread rather than start a new one:

Doing almost the same thing with Mandriva, Vista & Grub going to Suse.

Am I to assume that I shouldn't have issues and that the Suse bootloader will overwrite Mandrivas? It is written in the MBR.

Now that I saw the poll of top distros for new users, I'm considering Ubuntu & Mint as well.

Will any distro's bootloader overwrite a prior version?

View 9 Replies View Related

General :: Moving From Windows Server?

Nov 16, 2010

I am an experienced Windows Server user/admin (over 12 years). I have touched Linux here and there and know my way around the "GUI" portion of it; which is not to say much.

In Windows I am not just a GUI guy and have been using script and command line since the DOS days.

I want to learn Linux Server internals just as I do in Windows Server. Most of the books/guides I find are geared toward moving windows desktop user to Linux. Most linux books that I have come across are not for porting your knowledge from Windows servers to linux but instead they start to teach you linux from abc and then I lose interest because I know the basics.

what I should start so that I can pick the right distro for a server, configure it to be a solid server and deploy/manage it appropriately? I plan to use this knowledge at customer sites instead of just at home.

View 4 Replies View Related

General :: Moving A Process To Background Using PID?

Mar 5, 2011

i want to send a running process to background .. normal commands like sleep i can able to move easily to bg .

# sleep 10
#Ctrl+z
#bg

[code]...

View 4 Replies View Related

General :: Moving A Partition With Dd To Another Drive

Dec 7, 2010

Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.

I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.

I move as such:

dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1

The operation finishes with no problems.

Fsck reports clean... so... I run:

fsck -l /dev/sdb1

A few small errors pop up and they get fixed.

My free space remaining, as expected, is 5.8 GB.

I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.

It does so, the operation completes.

I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.

I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.

View 5 Replies View Related

General :: Moving Cvs Git Svn Repository To New Server

Aug 4, 2011

I am pure fresher in cvs, svn, git administration. we bought new server and now I want to move above repositories from old servers to new server. Becuase old servers are not having enough free disk space & having very lower configuraion. So how to move cvs, git, svn repositories from old servers to new server. But these repositories also should be in old servers becuase once when developers confirm that everything is working fine then we will completely replace the old servers with new.

View 1 Replies View Related

General :: Moving Files By Specifying Range

Apr 9, 2010

I'm trying to move files from one directory to another. I only want the files that start with a capital and within a certain range. Say all files that start with a capital between A-K. I've googled this and they all say to use: [A-M]*. But it moves all files A-M regardless if they are uppercase or lowercase.

View 7 Replies View Related

General :: Moving From Fedora To CentOS?

Mar 31, 2010

I have Fedora installed and I am trying to change to CentOS. Can't boot from live CD I download

View 2 Replies View Related







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