Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Homework Help
RSS Feeds
Rename a file from first1.txt to first2.txt
Posted By:
Madison Campbell
Category:
Unix / Linux / Ubuntu
Views:
3250
Rename a file from first1.txt to first2.txt.
Code for Rename a file from first1.txt to first2.txt in Unix / Linux / Ubuntu
$ mv first1.txt first2.txt
Share:
Previous Post:
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Next Post:
Convert first1.txt file to hidden file
Didn't find what you were looking for? Find more on
Rename a file from first1.txt to first2.txt
Or get
search suggestion and latest updates
.
Madison Campbell
author of Rename a file from first1.txt to first2.txt is from Toronto,
Canada
.
View All Articles
Related Articles and Code:
Convert first1.txt file to hidden file
Sort file abc.txt and save this sorted file in xyz.txt
Append abc.txt, xyz .txt
Copy abc.txt into xyz
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Move or Rename file and directories - mv
Example to rename table name
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
Write a shell script to search all files and rename them such that they do not contain the shell PID.
Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Split a large file into small files
Combine two files to a single file
Program of reading data from one text file and writing in new text file
File handling program to copy bytes from one file to another
File handling program to copy characters from one file to another
File handling program to count number of characters in a file
Program to describe The Functionality of merging two files in a single file
PROGRAM TO READ THE STUDENT DETAILS FROM THE STUDENT INFORMATION FILE USING FILE READ OPERATION
PROGRAM TO WRITE THE STUDENT DETAILS IN STUDENT INFORMATION FILE USING FILE WRITE OPERATION
Other Interesting Articles in Unix / Linux / Ubuntu:
Shell script to measure size of a file
Calculate 9/5
Calculate 3+4+5+6
Convert first1.txt file to hidden file
Give example of cut command?
Overview of UNIX
Write a shell script to search all files and rename them such that they do not contain the shell PID.
Shell script to perform string replacement in a file and view the content of file
Move or Rename file and directories - mv
Shell script which would Receive the log name during execution ,obtain information about it from /etc/passswd and display this information on screen
Write a shell program to add, subtract and multiply the 2 given numbers passed as command line arguments
Give example of paste command
Shell script to print first 5 odd numbers
Write a menu driven program to display message, user name, terminal name, login date and time
For joining the line
Display your login name
Change file mode access permission - chmod
How would u display the hidden files?
Write a shell scripts which works similar to the Unix commands Head Tail
Set or display name of current host system - hostname
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint