Visit The New, Modern Unix Linux Community

Fsck & Shell

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Fsck & Shell
# 1  
Fsck & Shell

I have several questions here, would like to confirm with. First why in Linux everytime let say i boot up around nearly to a month i got a message during the Services Loading such as "FSCK havent run for 29 days performing fsck ".

Is there to disable it? Why beacause i want to run it mannualy, much comfortable for me on mannual way. Any ideas.

My Second question is, Now im running Linux 7.2. My shell is Bash. I would like to set my shell to CSH (C Shell). My Question is will there be any system corrupt or massive changes on current system customisation look ? WIll all my things gone after i change the shell ? How to set from Bash to Csh ?

Quite new to the Unix world hope any one can give me some details , some instructions or info.. Smilie

Thank you.
# 2  
i dont think there is linux 7.2, i think you mean version 7.2 of your distro. please provide what distrobution you are using. i wouldnt recommed disabling fsck, it makes things alot easier, see the man pages for fsck. im not really sure how to disable it on startup, if i were you i would start looking at rc.config, just go to /etc and search through your config files, use grep. changing your shell wont harm your filesystem, but your bash shell customization will be, because you will be using a different shell, i dont think csh sets the prompt with PS1 and all that, so youll havfe to read about the c shell to see how to do it, i dont know everything so i might be wrong about some of the thigns im saying, but i hope it helps a little at least. if your using SUSE linux you have an easy way out, type YAST at the prompt and you will find everything you need there.
# 3  
Thanx for trying. Appreciate.

Anyone have any idea on this matter. Im using Red Hat 7.2. Any help on both questions matter ?


Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #547
Difficulty: Medium
unary operators only operate on universal variables.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Df reporting double size of du after fsck & reboot

Solaris 8 running on a Sparcstation 5 (Aurora) with 170MHz processor and 256MB ram This is AFTER doing fsck and reboot. 820030k vs 385252k All other files in /usr/asm not in /usr/asm/sys or /usr/asm/data amount to 43k. The /usr/asm/lost+found is 8k. somehow df and other applications... (3 Replies)
Discussion started by: lcoreyl
3 Replies

2. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies

3. UNIX for Dummies Questions & Answers

Implement the '&&' function in a shell

Hello, I'm currently implementing the && function in a shell using C. For example, if we input cmd1 && cmd2, then cmd2 executes only when cmd1 exits successfully. I'm thinking about: int main() { int i; char **args; while(1) { printf("yongfeng's shell:~$ "); args =... (5 Replies)
Discussion started by: Yongfeng
5 Replies

4. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

5. Shell Programming and Scripting

Bourne shell & Korn shell

Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command .. $ echo $SHELL yields me /bin/sh Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies

6. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

7. UNIX for Advanced & Expert Users

Network Shell Script & Blade Logic & Network Security

I am going to take up a position in Data & Network Security. I would need to write network shell scripts doing the following task: Going to around 2000 servers and findout which groups has access to each servers and which ids are there in each group that has access. I need to implement... (1 Reply)
Discussion started by: pinnacle
1 Replies

8. Solaris

fsck -o

Hello I am getting this in dmesg: /mount1: unexpected free inode 1262865, run fsck(1M) -o f What are the options I should use with fsck? thanks (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

9. Shell Programming and Scripting

C shell & Bourne Shell

Hi Guys, My first post and simple one at that .. Really rusty with this shell scripting..\ I have a script called .. I am calling > LOG_PATH $BLMBRGDATA/ where is grep $1 $2 | cut -d',' -f2 . $BLMBRGDATA is set to a directory path. why do i get :- $... (3 Replies)
Discussion started by: jsm66
3 Replies

10. Filesystems, Disks and Memory

fsck -y

Once in a while, I would think it advisable to run fsck -y to check the disk. Should I sign in as su or sudo? What is the difference and which is preferred? Thank you in Advance! (4 Replies)
Discussion started by: rpatrick
4 Replies

Featured Tech Videos