Ubuntu :: Difference Between Semicolons & Hash Characters In Config Files?

Apr 22, 2011

I'm messing with my samba config file. For line comments, some use a number sign/pound sign/hash symbol, while other lines use a semicolon:

Code:
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting

[Code]....

View 5 Replies


ADVERTISEMENT

Ubuntu :: Lists Files With Both File Size And MD5 Hash?

Jan 20, 2010

Is there any utility that can provide a list of all files, and both the file size and md5 hash value. Preferably also including other hash values.I've got 1.5 TB of files to go through, and delete duplicates..Neither fdupes or fslint are up to the task --- both claim files to be duplicates, when they definately are not. (Movies, and OOo documents are not identical, even if one is the script for the other, which in this case is not the case. Both fdupes and fslint claimed that those two files were identical. (And yes, I did look at them.

View 5 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Ubuntu Servers :: Squid Has "sum Hash Mismatch" Errors With Bz2 Files?

Sep 1, 2011

Ive been experiencing problems with my squid3 recently, i am using 10.04.3 LTS. Configured squid as always have been configuring since 8.04.04, but its not working as it should be.Ive been having issues with bz2 files, in my LAN when i try to do an apt-get update, it just says some indexes could not be downloaded cause of a sum hash mismatch.If you check squid log, for that kind of file it saysTCP_REFRESH_UNMODIFIED/206 Google around i read thats ssquid cache keeppin the files more than usual, so i add this hoping to solve the problem:refresh_pattern -i .bz2$ 0 0% 60 override-lastmod refresh-ims override-expireI dont know if thats well written or not, but it doesnt have solve the problem, and now squid log shows,TCP_REFRESH_UNMODIFIED/304but the same behaviour of the hash sum mismatch, please if someone could throw a ligth in here. The only fix to this problem so far is deleting all cache and recreate it every morning, which is far from a solution.

View 1 Replies View Related

Ubuntu :: Delete All Files With Certain Characters?

Nov 12, 2010

how do i delete any single one of the files in my whole disk that say something along the lines to "chromium os"? i.m just wondering because i tried to install through virtual box and failed, and probably have three different partitions consisting of nothing.

View 3 Replies View Related

Ubuntu :: Mass Renaming Files - Get Rid Of Two Extra Characters On The End

Feb 12, 2010

I have a folder with various subfolders of files. These files all have two extra characters on the end that I want to get rid of. How would I go about telling the terminal to go into X directory and every subdirectory of X directory, look for all files with the extra characters, remove them, and keep everything else the same?

View 3 Replies View Related

Ubuntu :: Delete All ASCII Characters In File - Leave Chinese Characters Only

Jul 8, 2011

What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.

I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?

View 4 Replies View Related

Ubuntu :: Cannot Rename Or Delete Files / Folders With Foreign Characters

May 12, 2010

Can't rename, move or delete files or folders that have a foreign character.
Code:
The file or folder /data/down/done/1999 Taraf de Ha-douks does not exist.
Kubuntu Karmic. Fails in konqueror and dolphin.

View 5 Replies View Related

General :: Using Find And Tar With Files With Special Characters In The Name?

Jun 1, 2010

I want to archive all .ctl files in a folder, recursively.tar -cf ctlfiles.tar `find /home/db -name "*.ctl" -print`The error message :tar: Removing leading `/' from member namestar: /home/db/dunn/j: Cannot stat: No such file or directorytar: 74.ctl: Cannot stat:No such file or directoryI have these files: /home/db/dunn/j 74.ctl and j 75. Notice the extra space. What if the files have other special characters? How do I archive these files recursively?

View 2 Replies View Related

Server :: Can Files / Directories Have Greek Characters

Sep 14, 2010

Can files/directories have Greek characters? If I selected English when installed Linux?

View 3 Replies View Related

Programming :: Remove Odd Characters From CSV Files Using A Script?

Apr 27, 2010

I hope you can help. I have a collection of spreadsheets with data that needs to be imported in to SQL. The data has been manually entered although there are portions where data has been copied and pasted from the web.

When converting these sheets to a CSV I get strange characters where it looks as though data has been copied and pasted. Is it possible to write a script (AWK?) to pull out these characters?

I guess the script will need to keep alpha characters, spaces, numerics and commas but nothing else. How easy is this to do?

View 7 Replies View Related

Programming :: Renaming Files With Asian Characters?

Jul 19, 2010

I have a bunch of files that I need to rename, ordinarily this is pretty easy task. The problem here is that the file names have Chinese / Japanese characters. ie [$$$$$$$$].SOMETHING BLAH BLAH.ext Where all the "$$$$" are insert Chinese characters. The problem is that sed or perl doesn't seem to handle the Chinese characters correctly so using a regular expression like this 's/^[*.]//' which would normally work doesn't. From what I have read so far I believe these characters are double encoded UTF-8 (not 100% sure) which could be the problem. So far I've tried numerous different regex's as well as playing around with convmv to see if I could convert the filenames to just single encoded characters but I've had no luck.

View 1 Replies View Related

Ubuntu :: Get Difference Between Two Files

Oct 25, 2010

i am using diff command... to get difference between two file. but the thing is its giving both file difference and i need only the difference of 1st file comparing to 2nd file for that it shoud not show anything abt 2nd file.

View 1 Replies View Related

General :: Remove Extra Characters From Multiple Files

Sep 18, 2011

I have a directory (Linux user) with a number of files which contain an added [!] to the end of each file name so that each file reads out as:
foo something [!].zip
bar something [!].zip
helloworld [!].zip
etc.
What is the quickest way to batch rename these to remove the ending [!] character combination from these file names?

View 2 Replies View Related

Software :: Rsync Can't Copy Certain Files With Unusual Characters While Cp Can

Aug 20, 2010

On my Ubuntu box, I have a mounted windows share connected via gvfs called graphics. I want to backup everything on a nightly basis from graphics to backupserver/graphics . If I use rsync, it will not copy files that have parent directories with funky characters in them (but the directories themselves will be copied!). Everything else gets rysnced just fine.

graphics/test/macdir/picture.psd
...when rsynced over to ...
backupserver/graphics/

gives the error:

rsync: mkstemp "/home/administrator/.gvfs/drobo on x.x.x.x/linux_backups/graphics/test/ macdir/.picture.psd" failed: Operation not supported (95)

The directory macdir gets created but there is nothing in there. This happens for all files underneath dirs with funky names. cp -Rf works perfectly! Directory and child files all get copied over no matter how strange the characters get in the directory names.

View 7 Replies View Related

Ubuntu :: Use PyRenamer To Identify And Rename Files With Reserved Characters In The File Name / Expression

Aug 2, 2011

I'd like to use pyRenamer to identify and rename files with reserved characters in the file name. The files came from windows where I'm guessing the characters didn't cause problems. For example, I want to replace the ? (question mark), ' (single quote), etc. I tried using the escape () character before the special character in the replace field on the substitutions tab, but for some reason I don't believe that method was identifying the special characters. What is the correct way to identify a special / reserved character within a file name and replace it?

View 1 Replies View Related

OpenSUSE Install :: Batch Rename Files With Special Characters?

Dec 10, 2010

I have about 300 files that need renaming, because the file system does not display the French characters properly. The dodgy letter in question has been replaced by a "question mark in a black diamond" symbol.No way of renaming, other then using mv in the Konsole has worked. Is there any way, script or program out there, that will do a batch rename?

View 9 Replies View Related

General :: Does Non-printing Characters Escape Characters Still Needed For PS1 Definition?

Aug 28, 2011

While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?

View 1 Replies View Related

General :: Include Special Characters When Sorting Files By Name (Fedora 12 I386)?

Feb 15, 2010

I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?

View 5 Replies View Related

General :: Difference Between 'bin' And 'netinstall' ISO Files

Aug 22, 2011

What is the difference between "bin" and "netinstall" ISO files for Linux?I need a full OS, not just a Live CD. On the mirrors there are two kind of files.Which one is the full OS?

View 1 Replies View Related

Red Hat / Fedora :: Difference Between Source Files And Just RPM?

Nov 29, 2008

What is the difference below these files?

1)Say an application is written and is having source files.
2)A file called source rpm package
3)A rpm package

In case of (1) we need to compile using either the make or if we know using appropriate compiler with proper libs included. Can I know what's the difference between (2) and (3)?

View 3 Replies View Related

Red Hat / Fedora :: Difference Between Two Profile Files?

Jan 20, 2010

There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?

View 2 Replies View Related

General :: Difference Between The MOUNTING Files?

Nov 7, 2009

I'm new to linux,so i'm confused with MOUNTING files. give differences and unique functions of the FSTAB, MTAB, /PROC/MTAB files.

View 2 Replies View Related

General :: Difference Between Two Text Files To Third One

Jul 14, 2010

I want the difference of two text files(a.txt & b.txt) into a third text file(c.txt). i.e. New or Differert rows of a.txt compared to b.txt

a.txt>
10128|10153|999999
10343|10153|000
10345|10153|3846
10351|10153|3846

b.txt>
10128|10153|999999
10343|10153|3853
10345|10153|3853
10349|10153|3853

c.txt should be like>
10343|10153|000
10351|10153|3846

I tried comm,but man says that the files have to be sorted in order to use comm. I dont want to sort the files.

View 3 Replies View Related

Software :: List The Difference Between Two Files?

Apr 4, 2011

I just upgraded my kernel to version 2.6.38 & I seem to have missed a few modules. I tried using diff to get a list of the differences between the files lsmod-2.6.35 & lsmod-2.5.38, which I created for this. Unfortunatly I can't seem to figure out the right syntax to do what I want which is to just show me whats missing. For example, I want to subtract the lines from file1 & file2 which are the same, leaving me with the difference in file3. i.e. file3 = file1 - file2 Is this possible or am I just using the wrong program.

View 3 Replies View Related

Ubuntu :: Won't Update Some Config Files

Jan 28, 2011

I just installed Ubuntu on a partition install. It is dual-booted with my Windows 7. Anyways, everything worked fine for a while, until I pressed ctrl+alt+F2. Then it went to this weird full-screen-mode command line thing. It asked for my login so i did, and then it asked for my password, which I then entered. And then I really don't know what I did, but at the end I pressed ctrl+alt+delete, which instead of going to like a task manager, it restarted my computer.

I then booted into Ubuntu again, and it started giving me errors about how it won't update some config files, and then it won't load up like the desktop and the panels. All I see about booting is the default Ubuntu background when you login and nothing else. No panels, no icons, nothing, just the background.

View 1 Replies View Related

Ubuntu :: Config Files Not Reinstalling?

May 11, 2011

I mistakenly deleted /etc/apache2/port.conf, so I tried to reinstall the package with "apt-get", but nothing. I dug myself in deeper by thinking a script skipped it because the directory was there, so I removed it completely. After reinstalling using "apt-get install apache2", the folders came back, bot non of the config files where there. I am now lost. How can I get them all back?

View 2 Replies View Related

Ubuntu :: 10.04 - What Config Files Have Entries For USB

Jun 8, 2010

A while back I suddenly lost USB support on one of my computers. At first I thought it was a HW problem but I'm not completely sure. What configuration files have entries for the USB, especially at startup, so that I can check them against the ones on my working computer. I'm running Ubuntu 10.04.

View 2 Replies View Related

Ubuntu :: Recover Deleted Files - Difference Between Foremost And Scalpel

Apr 29, 2010

How can I recover My deleted files in ubuntu? What's the difference between "foremost" and "scalpel"? And is there any other program(or package?) For this purpose in ubuntu? I am running ubuntu 9.10

View 1 Replies View Related

Programming :: Search The String "Listen" In A Few Files (config Files)?

May 9, 2011

I'm trying to search the string "Listen" in a few files (config files). I madefind /apps/apache* -exec grep -H Listen {} ;but the result list is very long. How i make a "grep -v" whith this command?

View 3 Replies View Related







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