General :: Command Line - Show Entire File Contents In Dialog?

May 20, 2010

I want to show the contents of a file on Dialog box for which I have use the "--textbox" dialog and "--tailbox" dialog.

But it doesn't show the whole contents of file, it only shows some of the data.

How do I get it to show the entire file data?

View 1 Replies


ADVERTISEMENT

General :: Show Size Of Folder Contents In Ls Or Some Other Command

Sep 29, 2010

I know these folders each have >80gb of files. Yet, they only show 4.0K in ls -lah? How can I have ls show size including the contents?

[root@aapsan01 aapxen01]# ls -lah
total 48K
drwxrwxrwx 6 root root 4.0K Sep 29 03:45 .
drwxrwxrwx 15 root root 4.0K Sep 27 09:15 ..

[Code]....

View 4 Replies View Related

General :: Show Folder And Only One Subfolder Using Ls In Command Line?

Jul 13, 2011

I have many folders with many subfolders. All I want it to get the folder name and the first subfolder. I tried using ls -R but this give me more than I want it. Let say I have:

dir1/subdir1/sub_1_1/file.a
dir1/subdir1/sub_1_1/file.a2
dir1/subdir1/sub_1_1/file.a3

[code]....

All I want when I execute the command is to show me:

dir1/subdir1
dir1/subdir1
dir1/subdir2

[code]....

View 4 Replies View Related

General :: Dump Command Backup Entire File System?

May 22, 2010

Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?

View 1 Replies View Related

Fedora :: Command Line FTP - Transferring Entire Directory?

Jun 10, 2010

Need explanation from a FTP guide's reference of FTP's GLOB command.
mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). Then FTP does not transfer, even with mput, a directory of files to remote server?
Does this quote suggest I can tar my files, upload them, then untar them on the remote server?

View 1 Replies View Related

General :: Grep Command - Show The Files But Not The Line Count

Oct 31, 2010

This has to also show the line count. I can get it to show the files but not the line count. What is the single command used to identify only the matching count of all lines within files under the /etc directory that contain the word „HOST? List only the files with matches and suppress any error messages.

View 4 Replies View Related

General :: Copy Entire Folder Contents To Another Using PUTTY?

May 2, 2011

How to Copy the entire folder contents (including sub-folders and their contents) to another folder using PUTTY? Is there any command for that?

View 3 Replies View Related

General :: Shell Command To Display Contents Of A File?

Feb 23, 2010

shell command to display contents of a file? Like that of .txt or .html

View 9 Replies View Related

General :: Command Line - Move Folder Contents Into Parent Folder

Jun 11, 2010

I have a folderA that contains folderB that contains a lot of files. I would like to get rid of folderB, but not its contents. I want those contents to be inside of folderA. How can I accomplish this on the commandline?

View 2 Replies View Related

General :: Use The Diff Command To Get The Difference Between A String Of Text And The Contents Of A File?

Mar 31, 2010

I am not especially cli adept so could someone tell me the best way to use the diff command to get the difference between a string of text and the contents of a file instead of between the contents of two files?

View 3 Replies View Related

General :: Copy The Contents Of A Txt File To Other Txt Files (with Similar Names) By Cp Command?

Jul 2, 2010

Code:
cp -r aa123.h aa*.h
results in
Code:
cp: target `aa456.h' is not a directory

Yes I read man page cp (1p). There is something written there about it, I couldn't understand though.

View 7 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Good Desktop/application Or Command Line Tool To Show Two Different Timezone Concurrently?

Jul 18, 2011

I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.

Anyone knows there are such application?

Say i want to know the time at london and USA at the same time. (different time zone)

View 4 Replies View Related

Ubuntu :: Rapid Disk Contents Analysis (command Line)?

Mar 11, 2011

Second : I need to have a rapid way to exstract some simple raw informations from any hard disk.Something like ls -latr /*.* | sort(by extension/type) The goal I' m looking for is something like

.exe 1034 last creation date
.jpg 2437 "
.xxx 365 "
ecc....

View 1 Replies View Related

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

Software :: Check The Contents Of A Text File For A Specific String And Remove It From The File From The Command Prompt?

Oct 14, 2010

I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.

View 4 Replies View Related

Ubuntu :: Command Line Option To Show Rhythmbox?

Aug 26, 2010

Does anyone know the command line option to show rhythmbox?

Basically I just want to make a shortcut to show the rhythmbox screen as opposed to clicking the icon and selecting show rhythmbox

rhythmbox-client --(option) --no-start

View 9 Replies View Related

General :: Download A File From Command Line?

Apr 8, 2011

Let's say i have a link to a file http://www.domain.com/dir/myfile.ext

Is there a command line tool that will allow me to download this file. I'm looking for something like: download <http address> ... is there anything that simple?

View 2 Replies View Related

General :: Insert Line Into A File With A Command?

Jan 4, 2010

I would like to insert a line into the /etc/sysconfig/iptables with a command like sed or with any script. How can I insert this line:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

but under the line "-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT"

View 2 Replies View Related

General :: Download A File Using Command Line?

May 18, 2009

I want to download a file from the Linux command line. Basically I'm using ssh and I'm trying to download a file to my file system on my laptop. How can I do that from the command line?

View 3 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

General :: Command Line - How To Create Multipart Rar File

Sep 4, 2010

How can I create multipart rar file in Linux using the official console rar client?RAR 3.90 Copyright (c) 1993-2009 Alexander Roshal 16 Aug 2009Shareware version Type RAR -? for helpI want a multipart rar with each part size being 150 MB.

View 1 Replies View Related

General :: Command Line - Create Multipart Tar File?

Oct 13, 2010

How to split a tar file into smaller parts at file boundaries?

How can I create a multipart tar file in Linux?

View 2 Replies View Related

General :: Ubuntu - Replace A File In Jar With Command Line ?

Oct 18, 2010

I have a jar, and I need to replace a class in it, at this moment, I can only open it with "archive manager" and then drag and drop the new compiled class into the jar, but I think this is really boring, if I can do with with just a command ?

View 1 Replies View Related

General :: One Line Command To Delete All But The Last N Revisions Of A File

Mar 31, 2011

What's a Unix/Linux one-liner that will let me delete all but the most recent N revisions of each file?

I've got a bunch of files with revision numbers as part of a legacy asset-management system:

bar.r7.js
bar.r8.js
bar.r9.js
bar.r10.js
bar.r11.js

[Code]....

I want to keep the last three of each, so in the above list the command would delete bar.r7.js, bar.r8.js and foo.r1.js.

View 1 Replies View Related

General :: File Matching Pattern On Command Line?

Sep 9, 2011

I've got files in a directory as follows:

1.png
1_thumb.png
1-1.png
1-1_thumb.png

[code]....

I want to list all the files that don't have a copy with the same filename with -1 somewhere in it. So, in the example above, the results would be 3.png.

NB: the file and its copy with "-1" in it will be the same filesize, if that helps.

View 2 Replies View Related

General :: Use The File-manipulation Tools For The Command Line?

Jan 24, 2010

find and use the file-manipulation tools for the command line.

View 2 Replies View Related

General :: File-manipulation Tool Used For On The Command Line?

Apr 9, 2010

What is file-manipulation tool used for on the Linux command line?

View 7 Replies View Related

General :: Send A File From One Computer To Another By Command Line?

Jan 27, 2010

I've got a Debian Squeeze computer on which the graphics have packed up, but the terminal in single user mode work perfectly fine.

There are a few files on this Debian computer that I want to transfer off, to a networked computer, but I have no idea how to do this.

The destination computer is a freshly re-setup Mandriva install, without (as yet) samba. I don't think it's necessary though. The Mandriva install works fine, has graphics, etc, but can't see the Debian Squeeze computer on the network, possibly because it's in single user mode, thus prompting the problem of how to transfer the files, using only a command line.

View 6 Replies View Related

General :: Insert Text In The Last Line Of A File With Sed Command?

Oct 4, 2010

I want to insert the text "DB dept" in the last line of passwd file which looks like this right now

Quote:

newuser:x:717:717::/home/sacharje:/bin/bash

And I want it to be like this:

Quote:

newuser:x:717:717: DB dept:/home/sacharje:/bin/bash

I tried to do that with sed but failed, I'd like to know the proper syntex with sed to achieve this.

View 7 Replies View Related







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