Software :: Command To List All Databases On A System?

Mar 16, 2010

I was wondering if there is any linux command to list all the databases on the system. I have PostgreSQL databases on my system. I can list them through the psql console, but I cannot do that in a shell script. Hence the need for a linux command.

View 2 Replies


ADVERTISEMENT

Server :: Display All Databases And Their Size Using Command Lines In Mysql?

Aug 7, 2010

how can I display all databases and their size using command lines (linux) in a mysql server?

View 3 Replies View Related

General :: Command To List The List Of Folders / Within The Folder

Jan 28, 2010

one command to list the list of folders/ within the folder.

View 4 Replies View Related

General :: Have A List Of Files, Move Them Using One Command?

Nov 2, 2010

I have run a command which finds a lot of files based on some search criteria. It returns the files like so:

./somepath/somepath/file.something
./asdf/asdf/s.php
./etc/a.php
./a/b/c/d/e/f/g.jpg

So I was wondering, if I capture this output into a file (ie. one file per line), can anyone help me write a command which iterates through the file and moves the files one by one to a specified directory?

View 3 Replies View Related

Ubuntu :: Obtain A Full Command List?

Aug 20, 2010

Where can i obtain a full command list?

View 8 Replies View Related

Ubuntu :: Command To List Directories And Sizes?

Mar 23, 2010

I need a command to list the total sizes for all the directories in a mounted drive.I tried df and du.df list the total size for the mounted drivedu depending on what option I give it either list the total size or list all the sizes for every file on the drive.All I want to know is the sizes of all the directories on the mounted drive.This is a windows vista hard-drive and for some reason ubuntu is reporting a 50 GB partition and only 10GB free, I want to know what's taking up all the free space. I can't find anything in the file browser, so far I've only managed to count up about 10GB of used space so where is the other 30GB.

View 3 Replies View Related

General :: Command That Will List All Running Services?

Apr 2, 2011

i know that there is already a command for it but it comes out with a lot of letters that makes it hard to find the services that are runningi'm talking about services like DNS, APACHE, DHCP, SAMBA, SSH etcis there a command that will list these services and related services that are running instead of showing a bunch of jumbled and lettered mess thats hard to comprehend

View 6 Replies View Related

Networking :: VSFTPD Hangs On LIST Command?

May 21, 2010

I've got a new server and have vsftpd setup there , when i login using filezilla :

Response:230 Login successful.
Command:OPTS UTF8 ON
Response:200 Always in UTF8 mode.
Status:Connected

[Code]....

View 7 Replies View Related

General :: Command To List Number Of Shells

Feb 15, 2010

How can I know how many shells my system support (Is there any specific command)?

View 9 Replies View Related

General :: Any List Which Indicates Unix Command Equivalents Also?

Aug 4, 2010

I am very new to Linux and Unix. Is there a command list which indicates the UNIX command equivalents also?

View 5 Replies View Related

Software :: Command To List The Installed Patches?

Jan 14, 2010

command to find all installed patches in RHEL . rpm -qa shows all the packages installed in it .In Solaris there are teo commands and package and patches are different in terms.

View 2 Replies View Related

Software :: List Command History From Yesterday?

Feb 1, 2011

I know to list the command history with time stamp as follow:

Code:
export HISTTIMEFORMAT="%F %T"
history | more

But this just list the commands from today. But I want thoese from yesterday.

View 2 Replies View Related

Programming :: Creating A List Of Word Using Tr Command

Jul 11, 2010

I have a file having name test.txt content of which is following My Self is Arvind Kumar.My Date of Birth is 21/07/1984.I am 26 year year old.I did M.Sc Informatics from Delhi University in 2008.I did B.Sc Electronics from Acharya narendra Dev college Delhi University.I did my schooling from DAV Yusuf sarai.Curren tly I am working with InterGolbe Technologies as a Associate software Engineer.I want to be Linux Expert. What I am doing I am creating a list of words,But i want to take B.Sc and M.Sc as a single word

[Code]....

View 5 Replies View Related

Slackware :: Use The Ls Command To List Files In One Column?

Sep 20, 2010

I am doing a spreadsheet for work (for importing data into a new database) and I have hundreds of image files which need to have just their file names in one column called Product Code. Is it possible to use the ls command to list the contents of a directory in one single column so that I can copy and paste to the spread sheet?

Also, is there a single command to remove the file extentions for a batch of files? Bulk rename is what I need, I guess but just to remove the file extension (.jpg on all of them). The normal use of ls lists them in multiple column form and when I copy and paste those it will not let me copy just one cloumn at a time. The spreadsheet only has three columns:

New Product Code Old Product Code Pictures New Product Code will be left black, and the Old Product Code is just the image names. The picture column will be the patch-to-the-image for each image. I am not sure that is even possible in a spreadsheet.

View 14 Replies View Related

Fedora :: List All PCI Devices Apart From The Obvious Lspci Command?

Mar 15, 2011

Is there any way to list all PCI devices apart from the obvious lspci command? In other words what is an alternative to lspci....

View 1 Replies View Related

General :: File Command + Total Retrun List?

Oct 30, 2010

With file command we can get the file type. File returns a unique answer for each file type. I want to get the total list that file can return for linux & solaris. For example, I have a partial list of file's return output. Unfortunately I can't see the total list from manual page.

ASCII C program text
ASCII C++ program text
ASCII C program text, with CRLF
ASCII C program text, with very
ASCII English text
ASCII English text, with CRLF line

[Code]...

View 1 Replies View Related

Ubuntu :: 10.04: Dpkg - List - Slow Down The Output From The Command ?

Mar 13, 2011

How do I slow down the output from the command...

Code:

Or can I go up the page and back down? AND... can I copy all of this to a text file?

View 4 Replies View Related

Ubuntu :: Command Or App To List Or Browse Firewire Devices?

May 7, 2011

Is there a terminal command or application to browse attached firewire devices in the likes of lspci and lsusb? I'd like to view elementary device information such as the ID, manufacturer, and the like.

View 1 Replies View Related

General :: Command To List Ip Address Of Working Computers On LAN?

May 28, 2010

Are there Unix/Linux commands to find out the IP address of running computers on LAN?

View 4 Replies View Related

General :: Bash Command To List Users Logged In At 5pm

Jun 7, 2010

I need to figure out a bash command to list all users logged in at or after 5pm - 5pm being the specifier in the command.

Code:

Command seems to be the easiest way to display users but it specifies all users log times.

I've also fiddled with the lastlog command to no avail.

View 2 Replies View Related

General :: Command - List Only Access Time And File Name?

Mar 19, 2010

How do I list only access time and file name? For example if I do ls -l --sort=time then

[Code]...

View 5 Replies View Related

General :: Pass A Paramter To A List Of Command In Another File?

Apr 19, 2010

I am attempting to write my first ever script from scratch and making some progress.

My first shell script file executes a list of commands contained in a second file. I need to pass a parameter to this command file how do I do this?

View 7 Replies View Related

General :: Rename List Of Files From Command Prompt?

Feb 18, 2010

Suppose I have the following files:

1132_1_fr.mp3
1132_2_fr.mp3
1132_3_fr.mp3
.
.
.
1132_3_fr.mp3

[Code].....

So I want to add PD_ to those who dont have this preindex and get rid of _fr.

basically rename files in a same directory!!

View 6 Replies View Related

General :: Finding A Ubuntu Server 11 Command List

Jun 20, 2011

Would like a command line list of commands, that I can print out, I know this would be allot of pages. I have tons of books and the net, but its a royal pain searching for the right command, need something I can flip through.

View 5 Replies View Related

Software :: Bash Command Or Sript To List Files?

Aug 25, 2009

need a command or script to list all files recursive without directories one line per file, no extra lines like ls -AR1 should print file size and name eg.:

12 file.ext
25684 file2.ext
589 file3.ext
...

View 7 Replies View Related

Programming :: System Command / 'mcc' Is Not A Recognised As An Internal Or External Command?

Apr 13, 2010

I am writing a perl script which uses the matlab compiler to compile a .m file.

I am using the system("mcc �m file.m"). I have matlab installed and both script and exe are in the same drive.But i get the following error .

'mcc' is not a recognised as an internal or external command ,operable in program or batch file.

View 5 Replies View Related

Ubuntu :: Get MySQL Databases And MyPhpAdmin?

Jan 20, 2010

I use a version of Ubuntu Desktop Edition 9.04 and installed various server software useful for my needs.

New issue. How do I get MySQL databases working on this system, and how do I get myPhpAdmin to help manipulate said databases onto the system?

View 7 Replies View Related

Red Hat / Fedora :: Connect To The SQL Server Databases?

Jan 20, 2010

I've got several servers running RedHat4 ES, alongside several Windows 2003 servers with MS SQL on them.

Is there a MS SQL Client for Linux so I can connect to the SQL Server databases?

I'ev got Oracle running as well, and I can back these up from my linux boxes easily as there is a Linux ORacle client. I'd like to do the same with MS SQL, so I have one central location doing my database backups .

View 4 Replies View Related

General :: Redirect Some Databases To Another Directory?

Jun 22, 2011

My /var/database/ directory is filled..!
Is there any way to redirect some databases to another directory .

View 4 Replies View Related

Server :: Moving Mysql Databases From Old Hdd?

Mar 25, 2010

I need to move mysql databases from my hard drive which is currently in external box. I can't boot the drive since the laptop is down. Nothing of the distribution on the drive is missing. I just need to know which files/folders copy to my new computer to have all databases running. Old computer ran on Dreamlinux (Debian-based). I'm currently running Ubuntu 9.10.

View 5 Replies View Related







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