General :: How To Get File Information In 'less' Like With 'man'
Jul 31, 2010
When I view a file in Linux with the 'less' command, I often only get a ":" prompt in the bottom left corner. There's no clue about how long the file will be, or at which location I am currently. When reading manpages with 'man', there's a file title and line number in that corner. And once I hit the end of the file, there's even a percentage shown. I've learned about 'less -m' but it's not that powerful. So what does 'man' differently from 'less'? They appear to be the same viewing programme, except for that file information difference.
View 7 Replies
ADVERTISEMENT
Nov 2, 2010
How to get under linux (without Wine) such information about Windows EXE/DLL file:
CompanyName
FileVersion
ProductVersion
[code]...
View 11 Replies
View Related
Feb 16, 2011
Why is the info in the (BASH_Profile) file different than (echo $Path). Is the Profile file just there to modify another file and not actually hold information?
View 1 Replies
View Related
Nov 16, 2010
I have many files with info about soft, installed on remote machines.
I need to compare this file with template (soft than must be installed) and output file must content info about software that's not installed.
Code:
Code:
output must be software_name2, becouse it is not installed, but software_name3.2 is good enough becouse version is more than we need.
So, the task is to show lines that is in template and not in source, using simple regular expressions
I use grep
Code:
or
Code:
But it shows me only lines that is in source and not in template etc...
View 1 Replies
View Related
Apr 7, 2010
I want to add some starting information in a file while creation. like if I type vi test.sh
then
#!/bin/bash
will be added automatically.
Somebosy suggest me how to do this ??
View 22 Replies
View Related
Jul 12, 2010
Im looking for console tool that will output most detailed information about sound file (particularly mp3). Tried to use different tools (id3, lame, ffmpeg)
View 4 Replies
View Related
Apr 28, 2011
Back in the old days of PC-DOS 3.1, computers are much simpler than today's. I can learn a lot of how File System works with tools like PCTools, Norton Disk Doctor, and [URL]. Have been working exclusive in corporate database application area for over a decade, my knowledge of how these stuff work is diminishing. Standard-clean OS (Windows, Linux) installation is all I can do now. And it starts to cause me many data-loss troubles, when I have to perform something that I don't have much insight, such as install and remove peer linux os or move and resize partitions.
I'm looking for books, web resources, or communities where I can educate myself on how various file system works, for which I can have in-depth answer to questions such as:
How to remove ubuntu and grub2 ? (I recently did that, but with a lot of frustration when I was not really sure what I was doing and confront with some scary error message like "Missing BootMgr" What kind of disk-partitioning operation can be performed non-destructively, and why ? What is Active partition ? Primary Parition ? Extended Partition ? How it stored on the disk. There are many free partitioning tools out there, which one is safe to used ? NTFS, Ext3, Ext4, .. What the differences ? How to choose it wisely.
View 2 Replies
View Related
Apr 29, 2011
Go to a specified directory and open a log file and parse out specific information and dump it into another text file.
View 4 Replies
View Related
Jul 30, 2011
How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?
View 1 Replies
View Related
Nov 17, 2010
As I know, lly includes a control file. Takelibfreetype6_2.3.9-5ubuntu0.4_i386.deb for example, its control file includes the following content:
Package: libfreetype6
Source: freetype
Version: 2.3.9-5ubuntu0.4
[code]...
View 2 Replies
View Related
Sep 3, 2009
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
View 1 Replies
View Related
Jun 4, 2010
I have some output on the console on the gnome-terminal.
View 2 Replies
View Related
May 19, 2010
I want to grab information from mediainfo and output it to a file with text already in it.
How would I do that?
Code:
#declaring the variables
filename=$1
DATE=`mediainfo "$filename" | grep "Recorded date" | awk -F" : " '{ print $2 }' | tr -d '
[Code].....
View 1 Replies
View Related
Feb 24, 2011
I have a working network Ubuntu 10 Win7 (thanks to you guys on this site).
My last hurdle is how to mount folders or disks from Win7 onto Ubuntu.
I used a tutorial, and got fstab installed I think...
Where do I get the information to PUT IN fstab and WHERE to put it?
Here is my fstab file code...
View 2 Replies
View Related
Mar 9, 2011
All routing settings made with the ip tool (route command) are lost when the redhat server reboots.How to save routing information to a configuration file?
View 2 Replies
View Related
Sep 10, 2010
Consider this PHP Script or just skip to the Output:
Code
Code:
-bash-2.05b# cat myDate.php
#!/usr/bin/php -q
<?php
[code]....
View 10 Replies
View Related
Apr 5, 2010
I have some japanese music files stored on a flash drive that the titles of which are in japanese originally. While in the flash drive, when I go to Properties -> Audio, the title is written in japanese. It does not allow me to edit the file, no matter what permissions I have on it, therefore I can't change the name to english. So, I tried Rhythmbox instead, and transfered the file there. I could change the name, however there is STILL a huge problem.
I have around 300 japanese music files, all of which have to be renamed into english.
I did all this for all of them in Rhythmbox, and clicked "quit" when I was done. When I came back to transfer the files to my MP3 player like usual, I opened Rhythmbox, and...
ALL OF THE FILES WERE STILL IN JAPANESE! It didn't save any of the work I did on editing them. But, I calmed down and thought "oh, you can save playlists! I am sure that if I save them on one, it will keep the edits!" I did this, and it saved nothing. It took me 2 hours to finish the renaming, just to find out that it can't save information edits at all.
View 9 Replies
View Related
Oct 17, 2010
I need a way to create wmv video thumbnails with file information (name, size, resolution, duration) using Ubuntu.
View 6 Replies
View Related
Jul 25, 2011
I want to make sure that all my file systems and mounted points are OK during boot time. Which log file in Slackware shows such info?
View 3 Replies
View Related
Mar 21, 2011
How does Debian preserve/merge config file information during software upgrades? My google searches left me a little unclear on this point. Also (if you happen to know) does Ubuntu use the same method?
View 2 Replies
View Related
Oct 18, 2009
i wanted to learn linux, so i just installed Centos on a thinkpad x200. my wireless will not work. when i try to activate it i get this error:
Determining IP information for wlan0...SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
[code]....
View 5 Replies
View Related
Feb 4, 2016
I had problems with the system not reading the monitor EDID and have fixed the problem by adding an override file in xorg.conf.d and all of that seems to be working well (although the system has not failed to read the EDID since I implemented the override. go figure).
The thing that I am wondering about is something I see in the Xorg log file. At the end of the log file, after everything seems to be configured, there are six (6) identical blocks of information regarding the EDID and modeline settings. Is this normal or is X stuck in some kind of loop? Everything is working and I am not waiting an inordinate amount of time to log on, or after. Just curious. Here is the log file.
Code: Select all[ 15.848]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 15.848] X Protocol Version 11, Revision 0
[ 15.848] Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
[ 15.848] Current Operating System: Linux JohnBoy 3.2.0-4-686-pae #1 SMP Debian 3.2.73-2+deb7u2 i686
[ 15.848] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=5c593049-113a-44f6-87fd-511b71461dde ro quiet
[ 15.848] Build Date: 09 February 2015 10:12:47AM
[Code] .....
View 2 Replies
View Related
Jan 25, 2010
Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.
You can see it in action here: [url]
I've attached the actual php file.
Two questions:
1) What more can I add to it to give me even more information?
2) I want to add hddtemp but it requires sudo to run. How can I get around this?
View 4 Replies
View Related
Aug 14, 2011
i recently started sockets programming. In the process i began to look for relevant network information about my computer and realized that ifconfig wasn't displaying the same information that resides in my /etc/network/interfaces file. On the interfaces file my IP address is 192.168.1.109 for interface eth0 but ifconfig displays 192.168.1.101. I was under the impression that ifconfig got its information from the interfaces file but clearly doesn't. I tried re configuring the device with ifconfig and then disabling and re enabling the device with ifdown and ifup so that the device updated its information but it didn't.
[Code]....
View 3 Replies
View Related
Feb 18, 2011
tcl and information on how to run the program. I have installed it under ubuntu but cannot find any reference to it.
View 1 Replies
View Related
Aug 5, 2010
In top, I can see programs that are sleeping but are taking up memory and CPU. If a program is sleeping then how is this possible? Maybe it might have some memory reserved but then what about CPU? Also, it says there are four users, but I can see only two users, myself and root. How can I find out who the other two users are?
View 1 Replies
View Related
Sep 23, 2010
Problem: After restarting DNS decided that on of 2 existing HDD (in Standard, not in RAID, etc.) is new and asked to format it.
DNS indicated problem HDD by Purple LED instead of Blue LED.
What I tried to do:
- re-started device few times (thru web interface and pressing 'button')
- insert this HDD in the place of another (working good) one - the same result
View 1 Replies
View Related
Feb 4, 2011
What is the command to view HBA information?
View 2 Replies
View Related
Apr 20, 2011
I am new to Scripting. My task is to create a script that would pull the old server(unix) and new server(linux) information and should display all the task information for migration/cutover purpose to the other areas. We already have a script that gives information about ip, subnet, gateway and other information as follows:
#readip ad30db01
Server IP Subnet Gateway VLAN
10.x.x.x 255.x.x.x 10.x.x.1 100
There is a main server which has info about all the servers and we execute the readip from the main server which gets info about any old or new server. So, in my script, I am calling this script, and I want to display only few contents of the readip output as follows:
Hostname: (I should display the server ip from the read ip only out)
Subnet: Should display the subnet from the readip output
Gateway: Same
Vlan: Same
View 1 Replies
View Related
Dec 2, 2010
Trying to build a RAC server. I have 5 ips that the Network Team has provided with. They are like this:
LAN IP (IP & Cable, which means physical card is present)
TSM IP (Tivoli Storage Manager-Backup) (IP & Cable)
ISO1 (Heartbeat 1) (IP & Cable)
[code]....
View 2 Replies
View Related