Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Tips and Tricks for Working on the Command Line

Nov 12, 2008, 18:04 (1 Talkback[s])
(Other stories by Vincent Danen)

"Renaming files is one thing that a good GUI file manager appears to have over the CLI. Usually clicking on a file name will give you the opportunity to edit the name in order to rename it, which is great for files with long names. This can be done easily in a shell too, either by using tab expansion or with this little trick:

$ mv thisisareallylongfilename{,.txt}

"This will move the file "thisisareallylongfilename" to "thisisareallylongfilename.txt" without having to type it twice."

Complete Story

Related Stories: