Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Ls -al shows total 948 how do i see the files Post 303042376 by pxplorer on Monday 23rd of December 2019 02:11:20 AM
Old 12-23-2019
Ls -al shows total 948 how do i see the files

I am trying to restore b2evolution blogs from media subdirectory
my ls -al shows this output
total 8
but only list two lines
. and
..
how do i see the 6 files.

Last edited by RavinderSingh13; 12-23-2019 at 08:38 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

grep running total/ final total across multiple files

Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd
5 Replies

2. UNIX for Dummies Questions & Answers

total number of files which have "aaa" in files whose names are File*_bbb*

I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*. grep -l "aaa" File*_bbb* But I want to count the number of files. That is I want the total number of files which have "aaa" in files File*_bbb* If I run the following for getting number of... (1 Reply)
Discussion started by: sudheshnaiyer
1 Replies

3. UNIX for Dummies Questions & Answers

Find total size for some files?

Hi, I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb. if I use $ du - ks , it will add up all files in the dir. thanks, Helen (5 Replies)
Discussion started by: helen008
5 Replies

4. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

5. UNIX for Dummies Questions & Answers

get total size of files

as we use du - sh *.frm In This command It will show the list of files and size But I want the Total size that these files in directory with extension .frm How can we do This (6 Replies)
Discussion started by: kaushik02018
6 Replies

6. Shell Programming and Scripting

total count of a word in the files

Hi Friends, Need help regarding counting the word "friend" in files test1.txt and test2.txt. ( there is no gap/space between word ) cat test1.txt himynameisrajandiamfriendofrajeshfriend wouldyouliketobemyfriend. cat test2.txt himynameisdostandiamfriendofdostfriend... (2 Replies)
Discussion started by: forroughuse
2 Replies

7. HP-UX

Total number of files in a FS

Hello people, On HP-UX B.11.11 U 9000/800 How can I have in aprox. the total number of files in a specific FS? Is the number of used inodes a rough estimation of my total number of files? Server1 /Data:df -i . /Data (/dev/vg_Data/lvol1 ) : 18292960 total i-nodes 15800945 free... (3 Replies)
Discussion started by: drbiloukos
3 Replies

8. UNIX for Dummies Questions & Answers

What does total no. of files in ls -lrt o/p means?

when we fire ls -lrt command we see o/p as total 16 drwx------ 9 root root 8192 May 8 2002 lost+found drwxr-xr-x 2 root root 512 Jun 14 2002 TT_DB drwxrwxr-x 2 root root 512 Jul 31 2002 mail here total no. of files is always greater than... (4 Replies)
Discussion started by: Jcpratap
4 Replies

9. Solaris

Find the total size of multiple files

If I have a number of files in a directory, for example, test.1 test.2 test.3 abc.1 abc.2 abc.3 and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux. However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
11 Replies
cdrestore(1)															      cdrestore(1)

NAME
cdrestore - Streaming restore from CD-R(W)/DVD-R(W) SYNOPSIS
cdrestore [-qvDFRTV] [-d device] [-i image] [-l size] [-t track] [-c command] DESCRIPTION
cdrestore is a utility to make streaming restores from CD-R(W)/DVD-R(W) disks. It's designed to work with any backup tool which is able to restore from stdin (like tar/cpio/afio). OPTIONS
-d device The device name which is used for reading the backup. (default: /dev/cdrom) -i image Enables virtual image mode. The backup stream is read from the given image file. You have to use this option, if you are restoring from a dumped image too. (default: none) -l size Specifies the media size. This value is used to display the free space on the media only. By default the given value is taken as megabytes. You can append a single letter to the number to select: (k)ilobytes, (m)egabytes, (g)igabytes or (s)ectors (e.g. 170k, 4488m, 350000s). (default: 650m) -t track The number of the data track on the media for reading the backup. (default: none) -T Enables test mode. The complete restore process is done to test data integrity (includes CRC checksum test, if available), but no data is output. NOTE: This only verifies that the data is readable by cdrestore at all. This doesn't guarantee that your backup software will be able to do a real restore with the data. -F Forces cdrestore to begin the restore in the middle of a multi-disk set. This may be useful if you have lost a disk or a disk is badly damaged. NOTE: This will most probably start the restore in the middle of a file. It's up to your backup software to sync to the beginning of the next file. -R Disable the kernel readahead for the CDROM device during the restore process. (see cdbackup(1) Known problems) -c command The command which is executed whenever cdrestore needs to request a new media for multi-disk backups. This command (or script) should prompt the user and return after the device is ready again. The command receives one argument, which is the device name passed with -d. This can be used to issue commands to the device like ejecting the media. (default: use internal diskchange prompt) -q Queries the media, prints out the contents and exits. -v Enables verbose mode. -D Enables DEBUG output (probably not useful for normal use). -V Prints out version information and exits. EXAMPLES
Query the 700 MB media on /dev/sr0: cdrestore -d /dev/sr0 -l 700 -q Restore a tar archive to the current directory from track 2 of a 702 MB media on /dev/scd0: cdrestore -d /dev/scd0 -l 702 -t 2 | tar xf - Query the contents of a virtual image: cdrestore -i /tmp/vimage -l 4488m -q Check data integrity of track 3 in a virtual image after dumping it to DVD media: cdrestore -i /dev/dvd -t 3 -T AUTHORS
Stefan Hulswitt <s.huelswitt@gmx.de> SEE ALSO
cdbackup(1) LICENSE
Copyright (c) 2000-2004 Craig Condit, Stefan Hulswitt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR- RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON- TRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Stefan Hulswitt 0.7.0 cdrestore(1)
All times are GMT -4. The time now is 01:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy