Red Hat / Fedora :: Display Names Of Files Alone?

Jun 25, 2010

Is there any command apart from ls command in Rhel that could display names of files alone in particular folder ?

View 7 Replies


ADVERTISEMENT

General :: Comparing Two Files - Display The User Names That Are In The First File And Not The Second

Sep 17, 2009

Im trying to compare two files and I only want to display the user names that are in the first file and not the second.

So I have one file named final.txt (which contains every user name and only the user names in a list no other information)

Then I have another file Over1.txt (which only contains certain users that have different permissions This file is also setup differently with the user name and some information about the user after the user name.

I need a way to compare final.txt to over1.txt so that I will only display the names that are in final.txt but not Over1.txt

Ive tried using diff and comm but just cant seem to get it two work correctly. Im not sure if im missing a option or what.

View 5 Replies View Related

Red Hat / Fedora :: Doesn't Display The Names Of Partitions After Made

Oct 21, 2010

i have made partitions using fdisk , in fedora as / , /boot , /home but when i used fdisk -l it doesn't display the names of partitions , how can i made it work so that it displays

/dev/sda1 /
/dev/sda2 /boot
/dev/sda3 /home

View 1 Replies View Related

Fedora :: Seeing Files And Folder Names Using Nautilus?

Jun 1, 2011

I am having problems seeing files and folder names using Nautilus, but they are there as I can access them using CLI commands. Is there a way to get Nautilus to update its database or whatever it uses? I am using Nautilus 2.32.2.1. As is shown in my signature I am using F14 and Gnome 2.32.0.

View 7 Replies View Related

Fedora :: Copy Files With Prompt For Similar File Names?

Nov 17, 2009

has anyone used some software tool for copying a file from one location to another (I mean local files - for example from one folder to another), which prompts if you already have this file, or a similar one...I'm going to use it for my file archive ... mostly for my MP3For example, I might have the folder /home/user/MP3/Heavy Metal/Old/Downloaded/Metallicabut have forgotten that I already have Metallica in this folder and now I want to copy my new music collection to my archive folder which contains for example this folder:MP3/Rock/MetAllicA-Full-DiscographyI need copy files software which will tell me:"You already have folder with similar name to 'MetAllicA-Full-Discography' called 'Metallica', do you want to skip this folder, or copy it to location 'MP3/Heavy Metal/Old/Downloaded/'?"This way I will reduce the file redundancy in my file archive, or at least will keep similar items close to each other ..

View 5 Replies View Related

OpenSUSE Install :: Don't Want To Display Account Names?

Sep 22, 2010

How can I turn off the login names on the welcome screen? I don't want to display account names.

View 5 Replies View Related

General :: Display Only Permissions And File Names Using Ls Command?

Oct 18, 2010

and how to list all files in a directory including full path, owner, group and permissions for each file

View 3 Replies View Related

Ubuntu :: Gnome-RDP Does Display Group Names In Lucid

May 10, 2010

I recently updated to Ubuntu Lucid Lynx from Karmic (fresh install though). All of the packages I used in Karmic seem to work nicely in Lucid, with one exception gnome-rdp. I'm a sysadmin in several windows environments so as you can imagine I love the session storage and grouping features. Unfortunately gnome-rdp is not displaying the group names. it stores my session and creates the group structure just fine, it just doesn't show me the group names in the app or the right-click menu on the top panel icon. My gut says it has something to do with the new Lucid theme, but I like the new theme. Does anyone know of a config file I can edit, or something I can do to disable theme integration, just for gnome-rdp?

View 3 Replies View Related

Programming :: Display IP Address And Host Names In Wireless?

Jul 7, 2010

can any one post the "Java Program to Display IP Address and Host Names in Wireless".

View 9 Replies View Related

Programming :: Java Program To Display IP Address And Host Names In Wireless?

Feb 25, 2011

"Java Program to Display IP Address and Host Names in Wireless".

View 7 Replies View Related

Fedora :: Can't Find / Display Files In Home Folder In Terminal Or Fm

Feb 23, 2010

I was messing around with fed 12 yesterday (only on a test installation) and i've hit a snag. I installed openbox and tint2, nitrogen, obconf etc so i could have a #!-style session at startup. It all worked fine until i installed pcmanfm and removed nautilus. The problem is that i can't display files in my home directory, either using pcmanfm, a reinstalled nautilus, or in terminals. Every time i try to point a file brower there it just seems to get stuck searching forever, until i kill it. Weirdly in terminator i can do an 'ls' to see visible files, but 'ls -la' causes the problem again.

ps i thought permissions might have something to do with it, so i did a 'chmod -R 777' as root. it changed permissions for quite a lot of the files but then froze again, and now the problem persists.

View 4 Replies View Related

General :: Showing Section In Files That Have Different Names?

Mar 3, 2010

I am running a bash script and I would like a command that will show me what differs from some files with similar names so I can delete them. Or if you can provide some info on how to complete my script. Here is my code:

#!/bin/bash
pwd=SOURCE
#Add extension into the name

[code]...

View 1 Replies View Related

Software :: How To Deal Files With Space In Names

Jul 15, 2011

I have a bash file as following:

Code:

#!/bin/sh
deal_file(){
printf $1

[code]....

so the for loop spilt the file names if containing spaces, how can I fix the bug?

View 6 Replies View Related

Ubuntu :: Rename Files On Drive With The Names The Have In Properties?

Nov 11, 2010

i recently restarted my computer so i baked up all my files to my external terabite restarted my computer pluged in my 2 drives and formated the wrong one DAMB so i lost every file i ever downloaded DAMB i used photorec to get it all back but all my files have system names eg f12223/f12224 etc but when i load the files to media player the correct name i displayed in the media player so is there a program i can get that will rename all the files on my drive with the names the have in propertys

View 2 Replies View Related

Software :: Open Files In MC As Root Without Typing In Their Names?

Jul 6, 2011

So let's say I entered some dir in MC as a regular user and there is a file with very long name which is not convenient to spell and I want to edit it with nano as root. In this directory I type in a command "sudo nano [name]" and autocompletion doesn't work because the TAB key is for another purpose in MC. Can I insert a name of selected file without typing it in MC?

View 3 Replies View Related

Programming :: Generating Files With Different Names At Each Loop In Fortran?

Nov 7, 2010

I am trying to write a loop to open four main-data-files. At each open of the main-data-file, I want the loop to open another four sub-files and split the data from the mail-data-file according to the creteria and dump into the four files. When the loop goes to the second main-data-file, it shall generate another 4 sub-files with different file name. And the process goes on. That means I will have total of 16 sub files for the four main-data-files. Each four files from the 16 files shall have specific name on it. Based on the code which I given below, I would say when the file at UNIT=100 is opened, 4 new files needed to be opened as well. They are:

maximum_dist_001_064.dat
maximum_dist_065_128.dat
maximum_dist_129_192.dat
maximum_dist_193_256.dat

View 1 Replies View Related

Programming :: Handle Files With Spaces In Their Names In Bash?

Apr 1, 2011

*I'm using Ubuntu 10.10

My issue is I can't handle the files with spaces in their name, I've donde the below script to print each file found inside folder and subbfolders with "find".

I would like to "ls" to each file found with its complete path and with its basename too.

Code:
files=$(find . -type f)
for each in "$files"
do
ls -l "$each" # 1rst option I've tried to list with full path
ls -l "$(/bin/echo "$each")" # 2nd option I've tried to list with full path
ls -l "$(/bin/echo $(basename "$each"))" # 1nd option I've tried to list with it basename

[Code].....

How can I list "ls -l" in both cases (with full path and with basename) when there are files with spaces in their name?

View 6 Replies View Related

Debian :: Copying - Folders Or Files With Names That Contains Nordic Letters

Feb 7, 2010

I'm about to move a lot of folders from an older computer (sarge/etch) over to a newer with Lenny. But I get problems when I reach folders or files with names that contains nordic letters like øå. I'm using an external drive to move the folders. What is the easiest and best way to do this.

View 1 Replies View Related

Ubuntu :: Video Thumnailer Not Working On Files With Spaces In Their Names?

May 15, 2011

ffmpegthumbnailer is not working on files with spaces in their names. If i rename the file with no spaces then it creates a thumbnail with no problem.

View 4 Replies View Related

General :: Finding Total Size Of All Files Whose Names Starting With A?

Jul 22, 2011

how to find total size of all files whose names starting with a

OS: SunOS

du -h a* is giving individual file sizes.

View 6 Replies View Related

Software :: A Tool For Extracting File Names From *.torrent Files?

May 24, 2011

I need to know file names in torrent without opening torrent client. Know and extract for further actions.

View 2 Replies View Related

Software :: Customizing Bash Autocomplete (Files And Folder Names)

Jan 6, 2009

Is there a way to customize bash autocomplete such that it avoids searching for commands? I want it to auto complete file and folder names only!

View 2 Replies View Related

CentOS 5 :: Evince Not Opening Postscript Files With Long Names

Feb 28, 2011

I am using CentOS 5.5 64 bit.

My work requires me to have a lot of postscript files. Hence i have elaborate names for easy identification. For example --- AP-1_Jul-Ctrl-noEqSA_bg25C_precip,U250-150_xy.ps. I am unable to open them using evince. I get a blank evince screen with loading written on it. The same file named as 1.ps opens in a jiffy. As of now evince quickly opens pdf files with long names. But i would not like to convert ps to pdf.

Even kghostview does not open these long-named files.

View 14 Replies View Related

Ubuntu :: Accessing And Creating Files Names With Nested Loop In Bash?

Aug 12, 2011

nested loop in ''Bash-Scripting in Linux'' ?What's wrong with my code:

for x in `seq 0.75 0.01 0.95`
do
for y in `seq 0.20 0.01 0.40`

[code]....

View 1 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 :: Write A Short Script That Tells Whether The Permissions For Two Files Whose Names?

Apr 4, 2011

Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field

View 5 Replies View Related

Programming :: Script That Change The Names Of Files And Folders Into Small Letter?

Oct 2, 2009

i want to make a script that change the names of files and folders into small letter because they are all in capital and more than 1000 fileit is impossible to do that with my hand

View 14 Replies View Related

Programming :: Convert Files Names From Uppercase To Lowercase And Vice Versa?

Mar 26, 2011

shell script to convert file names from UPPERCASE to lowercase file names or vice versa in linux

View 6 Replies View Related

General :: Recursively Rename Files/folders To Make Their Names Windows-friendly?

Jan 29, 2011

I have a bunch of files on a Ubuntu box, which have various characters in their filenames that Windows doesn't accept (mostly ":" and "*", but possibly others).What's the simplest way to get these all renamed and moved to a Windows machine? It's OK to replace these characters with something like "[colon]" and "[asterisk]".

View 1 Replies View Related

Ubuntu :: Automate Creating Directories Based On File Names And Moving Files Into Them

Apr 30, 2011

I have a bunch of .7z files in a directory, and I need to put each one of them into a separate directory, named after the file (without extention). The command line I use:

Code:
find . -type f | mkdir `sed -e "s:..(.*)...:1:"` ; ls | grep .7z | cp * `sed -e "s:(.*)...:./1/:"`
Copying fails though:

[Code]....

PS. I don't want to use scripts, I want to do it using simple commands and piping.

View 5 Replies View Related







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