General :: List Dir Contents With Page Breaks
Jan 2, 2011
I can't seem to find any info on a terminal command that lists the contents of a directory with page breaks so that I can view the contents of a very large folder (such as /usr/bin) because if I use ls, it prints so many names that scrolling up won't even cover all of them. We all know the obvious solution is to use a graphical file browser, but I tend to shy away from depending on graphical utilities simply because command line feels faster.
View 3 Replies
ADVERTISEMENT
Mar 12, 2010
1 List the contents of directory, /dev using a detail listing format and page by page.
2Mount the CDROM to the directory, /media/cdrom.
3 Delete the file "/home/student/myfile" without any confirmation (Assume you have the required file permission to delete this file).
View 1 Replies
View Related
Jan 22, 2011
What I would like to do is to print the contents of all text files in a particular directory, recursively. Problem being that there are directories and possibly binaries scattered around in the filesystem as well.
Trying cat * works as long as there are no directories in there, but when there are it gives an error instead and prints nothing.
I'm sure it's easy using file -f or something but I can't figure it!
View 8 Replies
View Related
May 18, 2010
I have a document with page numbers in the Table of Contents in Roman Numurals. I would like to change them to numbers 1, 2, 3. How would I do this? I'm not finding any help on the Internet and in Openoffice help. If I change the numbers manually, they will revert back when I update the Table of Contents.
View 1 Replies
View Related
Jul 20, 2011
I know that you can use ls to list the files in a folder, but is there anyway to list the contents of the other folder? Like, say I have a folder labelled "Records", and inside is 12 folders, one for each month. Is there any way to list the contents of the 12 subfolders without just going into each one with cd and using ls?
View 3 Replies
View Related
Dec 1, 2009
how I sould do the following?
I have a folder called "Downloads" and among its contents there are a bunch of files with "flv" extension.
If I do
Code:
ls path/to/Downloads/*flv
I will get something like this:
[Code]....
(The reason I want something like that has to do with a small script I'm trying to write).
View 5 Replies
View Related
Feb 8, 2010
How to list the contents of a folder to a text file. I'm trying to list all my music, including all subfolders, etc. to a text file, but I can't remember the command.
View 3 Replies
View Related
Aug 2, 2010
I'm having trouble figuring out how to list the contents of a directory and exclude any subdirectories.
View 5 Replies
View Related
Apr 3, 2011
I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.
I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.
View 1 Replies
View Related
May 4, 2010
I installed Fedora 12 x64. Now everytime I start my Linux the .gvfs directory in my /home/Razorblade -dir is corrupted. So I have to reboot and start an Linux LiveCD, mount my home partition and delete this folder. After that I can login normally. Symptoms: I am able to login normally, start a browser, start my mail client, list the contents of subfolders of /home/Razorblade/... - everything fine. But as soon as I want to list the contents of my /home/Razorblade folder - nothing but this turning blue thing around the curser. The command line does nothing after "ll /home/Razorblade", sometimes even crashes and closes. As root I am able to do "ll /home/Razorblade" And this is what I get:
[Code]....
View 7 Replies
View Related
Oct 23, 2010
i need to prepare a presentation for that i have to copy a table from [URL] to my power point slide. but when i am copying it i am just getting a table with single column. is there a method to import the contents from web page table to my presentation table?
View 2 Replies
View Related
May 10, 2010
How can I find page hit and page miss ratio in linux fedora core 12?
View 3 Replies
View Related
Jul 26, 2010
All has been fine with my emails but today morning when i tried to log on I got an error message "You must be logged in to access this page, go to logon page" I dont understand why even when i supply my correct user name and password.
View 2 Replies
View Related
May 3, 2011
When I run "ls -al somedir*" (I use the "ll" shortcut, actually), Linux not only list files that match, but also the contents of directories whose name also happens to match.Is there a way to limit "ls" so that it will only show names (files and directories) and ignore the contents of the directories?
View 2 Replies
View Related
Jul 6, 2011
I want to combine 4 ps(or pdf) page to single page and for this i have try a2ps command as:
a2ps -4 1.ps 2.ps 3.ps 4.ps -o outfile.ps
Event through it divide the page into four section. But only give one output of my four input. other three section is blank. Is i am doing some wrong or Is their any other command to do so.
View 3 Replies
View Related
Aug 11, 2011
Vim: substitute for Page Up and Page Down keys?
View 4 Replies
View Related
May 26, 2011
is there some wiki page on GNOME or Fedora that list which graphics cards work without problems on Fedora 15 with GNOME Shell? I have tried 3 older cards and they all failed, so I would like to share this info with others so people know which cards to avoid if they want to use full features of GNOME 3 via GNOME Shell.
View 1 Replies
View Related
Dec 27, 2010
How can I convert a file with a lot hex numbers into the decimal?
Example: file1
0x59999
0x5acdc
0xffeff
I want to start $ cat file1 | util | cat >file2 and get file2 with smth like
[Code]...
View 3 Replies
View Related
Sep 26, 2009
I've copied a bunch of text into vim and I need to get rid of the line breaks. I've tried
:%s/^M// (where ^M is C-v C-m)
and
:%s/.$//
and
[code]....
all lines are terminated with a '$'. How can I get rid of them?
View 3 Replies
View Related
Jan 7, 2010
list the 'chkconfig --list' in alphabetical order
View 3 Replies
View Related
Jan 28, 2010
one command to list the list of folders/ within the folder.
View 4 Replies
View Related
Feb 26, 2010
I configured ( sendmail + Smarthost + pop-before-smtp settings + smtp auth settigns ), today i saw 18000 mail in mailq and somebody sending mail from my mailserver ,as i got reported by ISP for spaming. How someone broke the sendmail + pop-before-smtp settings. i usually access that system through webmin. Is webmin cause to hack password.
Or How someone break sendmail security without even choosing my own user / password spamper settings messages to smart hosts to yahoo / gmail with his own junk user name and password? I stopped sendmail for the time being. Any idea what i should look for and what i should go for its remediation?
View 3 Replies
View Related
May 2, 2011
I have a hard drive with a bad PCB board. It stays on when not under heavy load and it will restart if I copy too much data off it. So far I have had good luck doing folders under 500 MB in size if I copy one folder to my good hard drive, wait five minutes, copy another, etc.
If I mount the bad drive and try to copy a folder of several GBs in size it will start and then stop as the hard drive restarts. When I try to mount the drive again Linux says it can't read the superblock. I have several folders with over 30 GB of data in many different folders.
What I am looking for is a way of copying a folder in Linux such that the commands grab the whole folder in chunks with a timed break in-between.
View 3 Replies
View Related
Nov 10, 2010
I have a CSV file that's created in an application that can't output lines longer than 250 characters. the data fields, all together, are longer than this. how would I remove the line break from every line that ends with a comma? For example:
A,B,C
D,E,
F
G,H,I
becomes:
A,B,C
D,E,F
G,H,I
View 1 Replies
View Related
Sep 26, 2010
I have formatted a second internal drive as ext3. It worked fine until I copied (rsynch) my /home to the new drive. Now when I try to delete anything I'm forced to delete immediately or skip the deletion. I also tried moving the /usr/local directory to the second drive and it works fine, it doesn't break the Trash. I tried moving /home back to the root drive and the problem is gone. The second drive again works properly. I can reproduce this. The problem only occurs when I move the /home directory to the new drive.
# / was on /dev/sda1 during installation
UUID=89a54f23-98ef-45d2-bef9-47d51992fd01
/ ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fb609b91-7322-4903-9309-2f0d3a6b87d4
none swap sw 0 0
# My shared volume /dev/sdb1 (show it on desktop)
UUID=a726a583-03e5-47c6-9618-ddbfcdd4c1d6
/media/data ext3 defaults, users, exec0 0
# Moving /usr/local
/media/data/Ubuntu/usr/local
/usr/local bind defaults, bind, users, exec 0 0
# Moving /home
/media/data/Ubuntu/home
/home bind defaults, bind, users, exec 0 0
View 3 Replies
View Related
Nov 23, 2009
On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?
View 1 Replies
View Related
Oct 12, 2010
i am able to try ubuntu and everything works fine until i try to install. the menu comes up to the first page where it tells you to plug in your machine and make sure there is enough disk space and network connectivity. when i hit next on this page the mouse icon changes but the next page never loads. the longest i let it hang there was 2 hours. ive tried multiple times with the same result.
im running from a flash drive on an ASUS Eee PC 1001P-PU17
View 4 Replies
View Related
Mar 9, 2011
I have a problem printing to my HP printer.
What is my problem? I have a page (one page - text an graphic) to print. When I sent it to my printer it prints OK. When I sent it agian, the output is totally garbled. When I sent it again (a third time) it is OK. Sent it again (4th time) it is garbled. Sent it again ... you get the picture ;-). Alternating good and bad pages.
What is my setup? I run Fedora 14 with Cups 1.4.6. The printer is a HP Deskjet 940C. It is connected to a linksys wireless print server. It is configured in CUPS to use ipp printing. The driver I use in Cups is 'CUPS+Gutenprint v5.2.6 Simplified (color, 2-sided printing)'.
View 2 Replies
View Related
Jun 8, 2009
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
View 2 Replies
View Related
Jul 11, 2010
10.04; 64 bit In Firefox, the size of the fonts varies greatly from site to site. Some are too small to read, others huge. Some headings and menus overlap.Screen size: 1152 x 864
My settings are:
Proportional: serif 14
Serif: Times New Roman
Sans serif: Arial
Monospace: Courier New 14
View 1 Replies
View Related