Debian :: Determine File Type On Bash - Command Not Found
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
ADVERTISEMENT
Dec 27, 2008
I did install a brand new debian etch on my server, update and upgrade has been done.I did installed a postfix and couple of tools ( like courier-* ).But when i want to try to sent a mail with mail command, it says command not found.I did use the method on the bottom of this thread succesfully, but any idea for this tool to be back on my server ?Did i uninstall it when installing a package ?
View 1 Replies
View Related
Oct 14, 2010
I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.
My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.
View 4 Replies
View Related
May 24, 2015
I have just installed Debian 8 with Gnome desktop and trying to add my username to sudoers list.
When I open terminal and enter visudo I get the following error message...
Code: Select allfracmo2000@debian:~$ su
Password:
root@debian:/home/fracmo2000# visudo
bash: visudo: command not found
root@debian:/home/fracmo2000#
Although I am quite new to debian, I have done this successfully in the past so not sure why this is happening?
View 7 Replies
View Related
Dec 8, 2010
I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.
View 4 Replies
View Related
Apr 17, 2011
I was using Rhythmbox to listen to internet fine in Squeeze.After updating to Wheezy, some stations give me error "Could not determine stream type" - I think I have installed all the gstreamer packages - so how can I tell what is missing?
View 3 Replies
View Related
Jun 5, 2011
I got a problem with terminal, since i'm really a noob with terminal i don't know how to fix it.Everytime i type in a command it shows for example:
-bash: ls: command not found
Even the basic commands don't work... just cd <directory> and those things works
View 9 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 14, 2010
In Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive (ext2/3). There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).
View 1 Replies
View Related
Apr 7, 2009
I am having problems installing fortran g95 compiler. I followed the exact instructions listed on the website The G95 Project (click on manual tab for further details), but I am still getting this error when I try using the driver:
shamo@linux-wrws:~> g95
bash: g95: command not found
Here is what I did:
>wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -
The program installed properly, and I was able to verify the installation in /usr/share/g95-install. All the libraries were installed, and I was able to run the actual "executable" when I cd'ed to its directory) Next I created a symbolic link to the driver so that I could run from anywhere using g95 command:
>ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95
Again I was able to verify that the link was created in /usr/bin. I also verified that /usr/bin was on my PATH using $PATH command.
View 7 Replies
View Related
Mar 10, 2011
tell me what does error message signify and what should be done to rectify it...bash : lex :command not found
View 3 Replies
View Related
Oct 23, 2010
I added $PATH=/usr/local/mysql to .bashrc_profile and I guess I wrote it in the wrong place...now when I log in my fedora the terminal says:
-bash: dircolors: command not found
-bash: cut: command not found
-bash: cut: command not found
[code]....
View 8 Replies
View Related
Feb 15, 2011
I was reading in one of my redhat books that this command would make linux rered the inittab file but whin I try it I get Bash: init: command not found.
View 3 Replies
View Related
Aug 26, 2010
Cannot create a group in RHEL5.
View 1 Replies
View Related
Feb 8, 2011
I am having redhat 5 linux machine running on my windwos x in vmware workstation. Today i was installing oracle software in redhat 5 after editing the bash profile for the oracle user i got the following messages
su - oracle
password:*****
-bash: [oracle: command not found
[code]....
View 10 Replies
View Related
Oct 18, 2010
i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:
[root@localhost ~]# echo $PATH
/usr/local/src/root/bin:
[root@localhost ~]# nedit .bashrc
[code]....
View 4 Replies
View Related
Sep 26, 2010
I followed this tutorial: [URL]
After this tutorial I did:
root@web1:~# /etc/init.d/snmpd restart Restarting network management services: snmpd.
As far as I think evrything went ok. I want to test my config with: snmpwalk localhost -c public -v1
I get this error: bash: snmpwalk: command not found
View 6 Replies
View Related
Jun 6, 2011
I'm not entirely sure how to describe this. I've got a user account set up and I've downloaded a few programs I'd like to install. When I'm in my account, I go to the terminal and type then get;
$ pkgtool
bash: pkgtool: command not found
However, if I'm in root and do the same thing, it brings up the menu. What do I have to do to get pkgtool to work from my user account?
View 4 Replies
View Related
Mar 20, 2010
when i type su command following error comes error is:"bash: __git_ps1: command not found". what is problem?
View 2 Replies
View Related
Jun 29, 2010
rpm -ivh httpd-2.0.59-1.i386.rpm
warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.59-1.i386
libaprutil-0.so.0 is needed by httpd-2.0.59-1.i386
[code]...
View 3 Replies
View Related
Feb 22, 2010
Gcc seems to be installed by not configured maybe?Below are some command line resultsIs gcc installed, and if so, how do I configure it so it run properly.
rpm -qa | grep gcc
libgcc-4.1.2-44.el5
gcc-4.1.2-44.el5
[code]....
View 8 Replies
View Related
Apr 28, 2010
I am trying to use fdisk command as following but it gave me error . .
[root@rac2 ~]# fdisk
bash: fdisk: command not found
I am running on Oracle Enterprise Linux 32-bit
View 10 Replies
View Related
Jul 16, 2010
I have a new machine with LINUX Red Hat 5 installed. As I try to use command dos2unix I got:
Code:
-bash: dos2unix: command not found
How can I install this command?
View 8 Replies
View Related
Nov 29, 2010
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END
[code]...
View 6 Replies
View Related
Mar 22, 2010
Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?
View 2 Replies
View Related
Dec 9, 2009
I've been using linux for a long time, and I just ran into a problem that has me stumped. Any time I mistype a command, it says "Command not found."... yea, I know that's normal. But it doesn't return me to my # prompt. I have to press Ctrl+C to get back. code...
I know I do have one issue with this computer, I have 2 blown caps on my motherboard. This was a dual boot system, but after a virus with winblows, I decided to switch it to strictly linux. (roommates... *grumble*) I think I was running fc10 before I wiped the hd & installed fc12. Fc12 does seem to be running slower, and I still haven't got my sound card working properly... but that issue is for another topic...
-YungBlood Reborn
View 2 Replies
View Related
Jan 24, 2011
While attempting to uninstall Perl (through Yast) from my SUSE installation, it ended up deleted everything important in OS
compilers are gone, SVN gone.
Its a dedicated server and lots of other applications were running on it.
now it says "-bash: yast: command not found".
View 4 Replies
View Related
Aug 23, 2010
I am usually sshed into different boxes and i forgot what ip I am logged into sometimes. Is there a command I can type to give me the ip on the box I am on.
cat /etc/*release
CentOS release 5 (Final)
this failed
ifconfig | more
bash: ifconfig: command not found
View 3 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
May 3, 2011
I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.
View 9 Replies
View Related