Command line for fstab file

Asked by sandra.bodkin

I have tried accessing the fstab file but it tells me command not found. What is the right command line that I should use? Thanks all.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Best Bhavani Shankar (bhavi) said :
#1

Hello sandra

To see what is there in fstab you can use the cat command

cat /etc/fstab

If you want to edit fstab you can use the following command,

sudo gedit /etc/fstab

or

gksudo gedit /etc/fstab

or

sudo nano /etc/fstab

Bhavani Shankar.

Revision history for this message
sandra.bodkin (lotus1s) said :
#2

Hello Bhavani! That's what I was looking for. Thanks for answering.

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

Glad that I can help....:)