General :: Mistake During Type Mv Command?
Dec 21, 2010
I accidentally type mv command wrong.actually it supposed to be mv SNAP-20101215* dec10/week3_dec10/but i type the below insteadmv SNAP-20101215* dec10/week3_dec2010/Note: there is a folder name "dec10/week3_dec10/"but there is no folder name "dec10/week3_dec2010/"as a result of it, instead of having those files under dec10/week3_dec10 but it merge those files into one file name "week3_dec2010" , is there any way to change it back to orginal files?
View 6 Replies
ADVERTISEMENT
May 15, 2010
i want to transpose "$ bash man" to "$ man bash" using <alt-t> on the command line in ubuntu 10.04. however, doing this in the bash shell activates the "Terminal" menu.in a bash shell <alt-t> is suppose to transpose the two words to the left the cursor but the menubar is not passing <alt-t> up the tree to the bash shell.
View 2 Replies
View Related
Jul 20, 2010
i use linux ubuntu..i try to copy db and type some mysqldump command..but at terminal show: The program 'mysqldump' can be found in the following packages:
* mysql-client-5.0
* mysql-client-5.1
Try: sudo apt-get install <selected package> bash: mysqldump: command not found
how to get mysqldump for my pc? i've tried to follow the instruction,but show like below:
Err http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main libnet-daemon-perl 0.43-1 Could not connect to ubuntu-ashisuto.ubuntulinux.jp:80 (122.216.218.146), connection timed out
View 3 Replies
View Related
Jun 4, 2011
This is a problem regarding VxWorks. Sometimes i am not able to type anything in the command prompt of vxWorks console.
-> if i type anything here, it takes it as an enter key>
-> Why is this behavior? It doesn happen always. Any bug in vxWorks?
View 3 Replies
View Related
Sep 26, 2010
I need to extract the absolute directory from the type command when I pass it a program name. E.g.
Code:
>type cat
cat is hashed (/bin/cat)
There is one other case (I believe):
Code:
>type lpr
lpr is /usr/bin/lpr
I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.
Note: this is part of my solution to a programming assignment in bash shell scripting.
View 1 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
May 30, 2011
I came across this reult of the type command (hashed) in another post. (see below).
Code:
fraespappp8:/data/apps > type topic_file_publish.sh
topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)
This (result = hashed) is new to me.
I wonder which kernel/distro/shell it is from.
View 1 Replies
View Related
Jan 30, 2010
I am going to reinstall my GRUB bootloader and some one said do the followings:
But when I type "sudo grub" in terminal it gives this error: "sudo: grub: command not found"
View 7 Replies
View Related
Apr 25, 2011
i just can't know how to get it work.
Code: #include<stdio.h>
main()
{
int _res;int i=3;int b=5;
asm_ ("add %1,%0"
:"=d"(_res):"a" (b),"0" (i));
printf("%d",_res);
}
View 4 Replies
View Related
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Dec 15, 2010
perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands
View 4 Replies
View Related
Mar 26, 2010
When i type the df command i see that /dev/hda1 as a filesytem that is mounted at '/'(root). Is /dev/hda1 a filesystem. I thought that it is a partition on my hard disk that contains the root file system.
View 6 Replies
View Related
May 13, 2010
I recently installed OpenSUSE 11.2 on computer.This is a clean installation with no customization or manual config,also I didn't install compiz. When I press ALT+F2 run dialog appears,but I can't type into it.how I can fix this problem??
View 2 Replies
View Related
Jan 7, 2010
I am writing an installation script that installs several packages using apt-get. Is there a way to run that command with some sort of option that makes it so the user doesn't have to type Y to confirm the installation? The user needs to be run the script as sudo
View 2 Replies
View Related
Apr 15, 2010
I dont have under system->admin networking, but i do have netwroking tools (I have the latest version of ubuntu) and I am wondering - what command can i type in to the terminal to see the dns information? also can I install "network" for ubuntu?
View 1 Replies
View Related
Jul 2, 2010
To hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo.
View 1 Replies
View Related
May 10, 2015
I cannot find a bash command: "file" !
It say "-bash: file: command not found"
"file" is used to determine file type on a bash right ? is there a package i have to install ? deprecated ?
I use debian wheezy distro
View 2 Replies
View Related
Feb 25, 2010
I can't boot Ubuntu 9.10 on this computer (on my other computer it works fine). When I try to run it from the CD or USB I see a screen full of colored lines, and when I try to use safe graphics I get to the shell but the whole screen is blinking and I can't type any command. Anyone knows how to solve it? My graphics card is GeForce 7300 LE and on my other computer (the one that can run Ubuntu find) has an on-board graphics card.
View 2 Replies
View Related
Jun 8, 2011
I was running an update on my computer (running Ubuntu 10.04 Lucid) and something must have been transferred incorrectly as every time I open synaptic, I get an error message that tells me to type a command into the terminal:
Code:
sudo dpkg --configure -a
After doing that, it displays this:
[code]....
View 7 Replies
View Related
Jan 31, 2011
This started happening about 2-3 weeks ago when i noticed our backups weren't running anymore. whenever i try to run ANY type of scp command I get the following error: warning: Unrecognized configuration parameter permitlocalcommand ssh: FATAL: Illegal -o parameter "PermitLocalCommand no" lost connection
I checked the /etc/ssh/ssh_config file and there was a command PermitLocalCommand commented out, but for testing I even totally removed that line and then in scp forced the use of that file via scp -F /etc/ssh/ssh_config ......
and I still get the same error. This command is nowhere is any of my ssh config files so im at a loss here on how im supposed to fix this!! I even checked my home directory for maybe a ssh config file that might be overridding the system config but nothing.
View 1 Replies
View Related
Dec 9, 2009
I installed Centos server and when I type this command to edit my network IP address I get this error.
View 5 Replies
View Related
May 26, 2010
Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this?
I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4.
does anyone know the command to start gnome from the prompt?
View 4 Replies
View Related
Jan 2, 2011
I noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?
View 1 Replies
View Related
Feb 4, 2011
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
View 1 Replies
View Related
Feb 26, 2010
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m
error: can't perform indexing operations for <unknown type> type
sh: gnuplot: not found
Just to double check my work, I ran the following code:
y=[1 2 3];
plot(y);
View 3 Replies
View Related
Jun 22, 2010
I have a server hacked when i try to log in i type root but won't let me type a passwdthere are no services up, can't see page mail nothing
View 11 Replies
View Related
Jan 26, 2010
I'm trying to compile a program and it gives me the following:
I checked cmath-util.h:46 and cmath-util.h:48:
I'm not a C person, and the author is unavailable so far.
View 5 Replies
View Related
Oct 26, 2009
So I installed FC11 and it seemed to be working ok I was having an issue configuring sendmail so I decided to use Yum to remove it and to re-install sendmail.I type yum remove sendmail and it asked me if I wanted to remove 39 dependancies. I said yes and it removed way more than just sendmailIt even removed Yum itself
HELP...I do not even have any way in the GUI for software installs, and YUM is no longer present.It even removed all but 7 items in my administration drop down. Can I fix this with the install CD of Fedora
View 1 Replies
View Related
Aug 25, 2010
Environment: Ubuntu 9.10 Karmic, 64 bit I was doing some maintenance on the machine and tried to delete everything under /var/lib/hudson. By mistake, I deleted everything under /var/lib. I know, I know, I must have taken an extra dose of stupid pills. Questions: Is there any way to recover without a full rebuild of the machine? Could I install Karmic to a VM, install all the same packages, and then copy over the /var/lib directory? Maybe a better question to start off is, which directories need attention (and what type) and which directories are not needed? Very soon before the delete, I did a directory listing in /var/lib. Here is what was in there:
[Code]....
View 5 Replies
View Related
Jan 15, 2011
By mistake i deleted the /usr/bin/dpkg.exe file.Now i am unable to install anything .when i tried to install ssh i got the following error message. Reading package lists.DoneBuilding dependency tree Reading state information... Doneopenssh-server is already the newest version.openssh-client is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 386 not upgraded.2 not fully installed or removed.After this operation, 0B of additional disk space will be used.Could not exec dpkg!E: Sub-process /usr/bin/dpkg returned an error code (100)
View 14 Replies
View Related