Wednesday, August 25, 2010

Super User Mode, Scilab and One Crazy Linux User ^_^ !

Frankly in my process of becoming Linux user, I have developed a pretty high level of imagination .
Do you still remember last time I give the Scilab Tritytech toolbox provided by our uni that can plot the phase ? It works very well in Window but it doesn't work at all in Linux , haiz... (I will show you screenshot to prove it or if any computer genius can provide a workaround? Helps will be much appreciated !!! )


But anyway, i unveil the secret of moving the files into the user restricted files access using su command


First, opens up your Terminal program (If you had Linux, U know where it is!)


(1) Type sudo su to let you gain access as SUPER USER ! ! ! ! ^_^  v
(2) If you are logged in as Admin , skip to step 3. If not type the password for the Ubuntu login system
Thats all, and you log in as root user ( Root > Admin in terms of access privileges )


And from here, you can play whatever you want with the files as you log in.
Below is some of the commands that let you tweak what you want . No time to provide example though ... 
View Directories: - ls
The ls (LiSt) lists files in different colors with full formatted text  
Create Directories: - mkdir (directory name)
The mkdir (MaKeDIRectory) command will create a directory.  
Change Directories: - cd (/directory/location)
The cd (Change Directory) command will change from your current directory to any directory you specify.  
Copy Files/Directories: - cp (file or directory name) (to directory or filename)
The cp (CoPy) command will copy any files you specify. The cp -r command will copy any directories you specify.  
Remove Files/Directories: - rm (file or directory name)
The rm (ReMove) command will delete any filename you specify. The rm -r command will remove any directory you specify, and all its contents. 
Move/Rename Files/Directories: - mv (file or directory name)
The mv (MoVe) command will move/rename any file or directory you specify.
 ( T_T ... The proof that Scilab Toolbox isnt a much great use for Linux enviroment )
UPDATE: Just find a more easier method to modify files.
Besides using the command in terminal shown in above, you can use the GUI (aka Windows Interface) to modify the files. How ?
Just type gksu nautilus and you are very sure what to do from here.

No comments:

Another random post to read ? Come !

Related Posts with Thumbnails