Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Useful Commands
(view source)
Revision as of 17:45, 18 June 2014
208 bytes added
,
17:45, 18 June 2014
→find files by their size
Line 280:
Line 280:
‘M’ for Megabytes (units of 1048576 bytes)
‘M’ for Megabytes (units of 1048576 bytes)
‘G’ for Gigabytes (units of 1073741824 bytes)
‘G’ for Gigabytes (units of 1073741824 bytes)
+
====Replace a chain of characters====
+
Replace a chain of characters chaine1 by chaine2 in all files of the current directory with '.txt'
+
find . -name "*.txt" -type f -exec sed -i "s/chaine1/chaine2/g" {} \;
====Check file system in case of corruption====
====Check file system in case of corruption====
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version